body {
    font-family: 'Roboto', sans-serif; /* Main text font */
    background-color: #f5f5f5; /* Very light grey background */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #333; /* Dark grey text color */
    line-height: 1.6;
    padding: 20px; /* Add some padding on smaller screens */
}

.container {
    background-color: #ffffff; /* White background */
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
    text-align: center;
    max-width: 700px; /* Increased max width */
    width: 100%; /* Fill container */
    box-sizing: border-box;
    margin-bottom: 20px; /* Space between main container and copyright */
}

#lesson-info-container {
    margin-bottom: 30px; /* Space below the main message block */
}

/* Style for the introductory text */
#lesson-info-container p {
    margin: 10px 0; /* Space between paragraphs */
    padding: 0;
    font-size: 1.2em; /* Standard paragraph size */
}

/* Style for the teacher's name */
.teacher-name {
    font-family: 'Montserrat', sans-serif; /* Different font for emphasis */
    font-size: 2.8em !important; /* Make it very large */
    font-weight: 700 !important; /* Bold */
    color: #d32f2f; /* A strong red color (Material Design Red 700) */
    margin: 20px 0 !important; /* More space above and below */
    line-height: 1.2;
}

/* Style for the countdown or past date/time display */
.time-display {
    font-family: 'Montserrat', sans-serif; /* Same font as name for consistency */
    font-size: 2.5em !important; /* Large size */
    font-weight: 700 !important; /* Bold */
    color: #c62828; /* A slightly darker, richer red */
    margin: 20px 0 !important; /* More space above and below */
    line-height: 1.2;
}

/* Units within the time display */
.time-display .unit {
    font-size: 0.6em; /* Smaller size for units */
    font-weight: 400; /* Not bold */
    color: #4a4a4a; /* Darker grey - keeps units readable */
    margin-left: 5px; /* Space after the number */
}

/* Style for the copyright notice */
.copyright {
    font-size: 0.9em;
    color: #666; /* Lighter grey */
    margin-top: 0; /* Space handled by container margin-bottom */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
    }
    .teacher-name {
        font-size: 2em !important;
    }
    .time-display {
        font-size: 1.8em !important;
    }
    #lesson-info-container p {
         font-size: 1em;
    }
}
