/* ── Mobile-first base ─────────────────────────────────── */

.info-header {
    border-bottom: 1px solid rgba(31,32,59,0.08);
    padding-bottom: 1.25rem;
}

.info-disclaimer {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    text-align: center;
    line-height: 1.5;
}

/* Day row — stacks vertically on small screens */
.info-day-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.9rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    transition: background-color 0.15s, border-color 0.15s;
}

.info-day-row + .info-day-row {
    border-top: 1px solid rgba(31,32,59,0.06);
}

.info-day-row:hover {
    background-color: rgba(31,32,59,0.03);
    border-color: rgba(31,32,59,0.08);
}

.info-date-badge {
    font-weight: 700;
    font-size: 1rem;
    color: #1f203b;
    white-space: nowrap;
}

.info-flights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.flight-pill {
    display: inline-flex;
    align-items: center;
    background-color: #eef1f6;
    border: 1px solid rgba(31,32,59,0.1);
    border-radius: 2rem;
    padding: 0.45rem 1.1rem;
    font-size: 1rem;
    color: #1f203b;
    gap: 0.4rem;
    white-space: nowrap;
}

.flight-code {
    font-weight: 700;
    letter-spacing: 0.03em;
}

.flight-val {
    color: #3a5a80;
}

.no-flights {
    font-style: italic;
    font-size: 0.9rem;
    color: #adb5bd;
}

.remarks-block {
    background-color: #f8f9fa;
    border-left: 3px solid rgba(31,32,59,0.25);
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 1rem 1.25rem;
}

.remarks-title {
    font-weight: 700;
    font-size: 0.8rem;
    color: #1f203b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.remarks-text {
    font-style: italic;
    font-size: 1rem;
    color: #4a4b65;
    line-height: 1.65;
}

.info-update-ts {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* The sheet could not be fetched: what's shown may be out of date. */
.info-update-ts.is-stale {
    color: #b45309;
    font-weight: 600;
}

/* Today stands out; days gone by step back. Times are UTC. */
.info-day-row.is-today {
    background-color: #eef4fb;
    border-color: rgba(58,90,128,0.35);
}

.info-day-row.is-past {
    opacity: 0.6;
}

.today-tag {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.1rem 0.5rem;
    border-radius: 1rem;
    background-color: #3a5a80;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* ── Tablet (≥ 576 px): side-by-side ──────────────────── */
@media (min-width: 576px) {
    .info-day-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 0.85rem 1rem;
    }

    .info-date-badge {
        min-width: 9rem;
        font-size: 1rem;
        padding-top: 0.2rem;
    }

    .flight-pill {
        padding: 0.35rem 1rem;
        font-size: 0.95rem;
    }
}

/* ── Desktop (≥ 992 px): wider and roomier ─────────────── */
@media (min-width: 992px) {
    .info-day-row {
        padding: 1rem 1.5rem;
        gap: 2rem;
    }

    .info-date-badge {
        min-width: 11rem;
        font-size: 1.1rem;
    }

    .flight-pill {
        padding: 0.5rem 1.25rem;
        font-size: 1.05rem;
        gap: 0.5rem;
    }

    .remarks-text {
        font-size: 1.05rem;
    }
}
