/* =========================================
   UACA WINTER TERM SCHEDULE
   Elementor HTML Widget
========================================= */

.uaca-schedule {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 48px 48px 44px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(20, 40, 70, 0.06);
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
    color: #14233f;
}

.uaca-schedule *,
.uaca-schedule *::before,
.uaca-schedule *::after { box-sizing: border-box; }

/* Heading */
.uaca-schedule-title {
    margin: 0;
    text-align: center;
    color: #285a38;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.uaca-schedule-subtitle {
    margin: 10px 0 56px;
    text-align: center;
    color: #6b7385;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
}

/* Section */
.uaca-schedule-section { margin-bottom: 40px; }
.uaca-schedule-section:last-child { margin-bottom: 0; }

.uaca-section-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.uaca-section-title {
    flex: 0 0 auto;
    margin: 0;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.uaca-section-title.available,
.uaca-section-title.resume { color: #285a38; }
.uaca-section-title.holiday { color: #ef4845; }

.uaca-section-line {
    flex: 1;
    height: 1px;
    background: #ebe8dc;
}

/* Rows */
.uaca-date-list { width: 100%; }

.uaca-date-row {
    display: grid;
    grid-template-columns: 136px 1fr auto;
    align-items: center;
    min-height: 67px;
    padding: 0 24px;
    background: #ffffff;
    border-bottom: 1px solid #ebe8e4;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 1px 2px rgba(20, 35, 63, 0.04);
}

/* Day / Date */
.uaca-day {
    color: #14233f;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
}

.uaca-date {
    color: #14233f;
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
}

/* Status pill */
.uaca-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 102px;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.uaca-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex: 0 0 6px;
}

.uaca-status.available { color: #20c668; background: #effbf4; }
.uaca-status.available::before { background: #20c668; }

.uaca-status.no-session { color: #9aa1ad; background: #f2f3f5; }
.uaca-status.no-session::before { background: #aeb4bc; }

/* Holiday rows: flat lines, greyed text */
.uaca-date-row.no-session {
    border-radius: 0;
    box-shadow: none;
}

.uaca-date-row.no-session .uaca-day,
.uaca-date-row.no-session .uaca-date { color: #9da5b1; }

/* =========================================
   TABLET / MOBILE
========================================= */
@media (max-width: 767px) {
    .uaca-schedule { padding: 34px 20px 38px; border-radius: 20px; }
    .uaca-schedule-title { font-size: 25px; }
    .uaca-schedule-subtitle { margin-bottom: 34px; font-size: 13px; }
    .uaca-section-heading { gap: 12px; }
    .uaca-section-title { font-size: 11px; }
    .uaca-date-row { grid-template-columns: 85px 1fr auto; min-height: 60px; padding: 0 15px; }
    .uaca-day, .uaca-date { font-size: 13px; }
    .uaca-status { min-width: auto; height: 26px; padding: 0 9px; font-size: 9px; gap: 5px; }
    .uaca-status::before { width: 5px; height: 5px; flex-basis: 5px; }
    .uaca-schedule-section { margin-bottom: 30px; }
}

@media (max-width: 480px) {
    .uaca-schedule { padding: 28px 12px 30px; }
    .uaca-schedule-title { font-size: 22px; }
    .uaca-schedule-subtitle { font-size: 12px; margin: 8px 0 28px; }
    .uaca-section-heading { gap: 9px; }
    .uaca-section-title { font-size: 10px; }
    .uaca-date-row { grid-template-columns: 75px 1fr auto; min-height: 56px; padding: 0 10px; }
    .uaca-day, .uaca-date { font-size: 12px; }
    .uaca-status { height: 24px; padding: 0 7px; font-size: 8px; }
    .uaca-status::before { width: 4px; height: 4px; flex-basis: 4px; }
}
