/* Body and container styles */
body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Removed background style here */
}

.maintenance-card {
    background: white;
    padding: 60px;
    /* Increased padding for equal spacing on all sides */
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
}

/* Spinner (loading animation) styles */
.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Worker Image styles */
.worker-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /* Makes the image round */
    object-fit: cover;
    /* Ensures the image fits the container without distortion */
    margin-bottom: 10px;
    border: 3px solid #ddd;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Text styles */
h2 {
    font-size: 2em;
    color: #3498db;
    /* Blue color */
    margin-bottom: 10px;
    white-space: nowrap;
    /* Keeps heading on a single line on desktop */
    text-align: center;
    /* Centers the heading text */
}

/* Countdown Timer styles */
.countdown-container {
    background-color: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    font-weight: bold;
    color: #333;
}

.countdown-timer div {
    margin: 0 10px;
    text-align: center;
}

/* Updated styles for numbers */
.countdown-timer div span {
    display: block;
    font-size: 2em; /* Made numbers bigger */
    font-weight: bold; /* Made numbers bold */
    color: #3498db; /* Blue color for the numbers */
    line-height: 1.2;
}

/* Updated styles for labels (Days, Hours, etc.) */
.countdown-timer div:after {
    content: attr(data-label);
    display: block;
    font-size: 0.8em; /* Made labels smaller */
    font-weight: normal;
    text-transform: uppercase;
    color: #666;
    margin-top: 5px;
}

/* Media Query for Mobile responsiveness */
@media (max-width: 600px) {
    .maintenance-card {
        padding: 40px;
        /* Adjusted padding for smaller screens */
    }
    h2 {
        white-space: normal;
        /* Allows heading to wrap on mobile devices */
        text-align: center;
    }
}

p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
}

.heart {
    color: red;
}

.worker-info {
    font-style: italic;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 10px;
    color: #999;
}

.worker-name-text {
    margin: 0;
    font-style: italic;
}

.worker-info strong {
    color: black;
    /* Makes the worker name bold and black */
}

.worker-info a {
    text-decoration: none;
    color: #3498db;
}

.worker-info a:hover {
    text-decoration: underline;
}

/* jQuery UI Datepicker styles */
.ui-datepicker {
    font-size: 1em;
}