#school-name {
    font-size: 2em;
    font-weight: bold;
}

#clock {
    font-size: 1.25em;
    margin-bottom: 1em;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 0;
    margin: 0;
    /* Debug: Set a default background so we can see what's happening */
    background-color: #f0f0f0;
}

main {
    padding-top: 4.5rem;
    max-width: none !important;
    transition: padding-top 0.5s ease;
    min-height: 100vh;
}

body.nav-hidden main {
    padding-top: 1.0rem;
}

.schedule-theme-dark {
    color: white;
}

.schedule-theme-light {
    color: black;
}

.schedule-theme-hc {
    color: white;
    background-color: black !important;
    min-height: 100vh;
}

body:has(.schedule-theme-hc) {
    background-color: black !important;
}

.schedule-theme-blue {
    /* Blueish background with pale text */
    background-color: #002B4F !important; /* A deep navy */
    color: #DDEEFF;           /* Light, cool tone text */
    min-height: 100vh;
  }

body:has(.schedule-theme-blue) {
    background-color: #002B4F !important;
}

  .schedule-theme-yellow {
    /* Bright, warm background with dark text */
    background-color: #FFFACD !important; /* LemonChiffon-ish */
    color: #333333;            /* Dark text for contrast */
    min-height: 100vh;
  }

body:has(.schedule-theme-yellow) {
    background-color: #FFFACD !important;
}
  

.schedule-block-progress-remaining {
    background-color: green;
    height: 100%;
}

.under-10m .schedule-block-progress-remaining {
    background-color: orange;
}

.under-5m .schedule-block-progress-remaining {
    background-color: darkorange;
}

.under-1m .schedule-block-progress-remaining {
    background-color: red;
}

.schedule-name {
    font-weight: bold;
    font-size: 1.25em;
}

.schedule-block-row.past {
    display: none;
    font-weight: normal;
    opacity: .5;
}

.schedule-block-title, .schedule-block-time {
    height: 3em;
}

.schedule-block-row {
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid black;
    font-weight: normal;
}

.bg-dark .schedule-block-row {
    border-color: white;
}

.schedule-block-row.active {
    border: none;
    font-weight: bold;
}

.active>.schedule-block-progress {
    background-color: #2c2c2c;
    border-color: black;
}

.bg-dark .active>.schedule-block-progress {
    background-color: #3b3b3b;
    border-color: white;
}

.active>.schedule-block-progress {
    background-color: #3b3b3b;
    height: 3em;
    border-width: 2px;
    border-style: solid;
    display: flex;
    align-items: normal;
    padding: 0;
}

.active>.schedule-block-time {
    display: none;
}

.schedule-block-upcoming {
    display: none;
}

.schedule-block-duration {
    font-size: 1.5em;
    margin-top: .5em;
}

.active>.schedule-block-duration {
    margin-bottom: 2em;
}

.schedule-block-title, .schedule-block-time {
    display: flex;
    align-items: center;
    justify-content: center;
}

.active>.schedule-block-title {
    font-size: 1.5em;
}

.active>.schedule-block-upcoming {
    display: block;
    margin-top: .5em;
    margin-bottom: .5em;
    font-size: 1.25em;
}
