/* ==========================================
   FLIGHTINFO
   Modern Aviation Blue Design System
   ========================================== */

:root {

    --navy: #122D60;
    --blue: #2355A0;
    --text: #172B46;
    --muted: #68788F;
    --border: #DCE3ED;
    --background: #F5F7FB;

    --board-blue: #2355A0;
    --board-blue-alt: #1C4688;
    --board-dark: #122D60;
    --board-yellow: #F4CF65;

    --surface: #FFFFFF;
    --surface-alt: #EAF0F9;

    --radius: 5px;

    --shadow:
        0 2px 8px rgba(18, 45, 96, 0.035);

    --shadow-hover:
        0 4px 14px rgba(18, 45, 96, 0.09);
}


/* ==========================================
   TYPOGRAPHY
   ========================================== */

body {

    background: var(--background);
    color: var(--text);

    font-family:
        "Pretendard",
        "Noto Sans KR",
        "Apple SD Gothic Neo",
        "Hiragino Sans",
        "Yu Gothic",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 15px;
    line-height: 1.65;
    letter-spacing: -0.25px;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {

    color: var(--navy);
    letter-spacing: -0.8px;
    font-weight: 700;

}

button, input, select {

    font-family: inherit;

}

.eyebrow {

    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;

}


/* ==========================================
   HEADER
   ========================================== */

.site-header {

    background: var(--navy);
    color: white;

    border-bottom: 2px solid var(--board-yellow);

    box-shadow:
        0 2px 10px rgba(18, 45, 96, 0.08);

}

.site-header a,
.site-header .brand,
.site-header .brand-icon {

    color: #FFFFFF;

}

.site-header a {

    transition: color 160ms ease;

}

.site-header a:hover {

    color: var(--board-yellow);

}

.site-header .brand {

    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.5px;

}

.site-header nav a {

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;

}


/* ==========================================
   MAIN LAYOUT
   ========================================== */

.site-container {

    max-width: 1440px;

}

.home-hero {

    background: transparent;
    padding-top: 36px;
    padding-bottom: 32px;

}

.home-hero h1 {

    font-size: clamp(28px, 3vw, 38px);
    color: var(--navy);
    font-weight: 700;

}

.home-hero p {

    color: var(--muted);

}

.clock-display {

    color: var(--blue);

    font-family:
        "DIN Alternate",
        "DIN Next",
        "Roboto",
        "Arial",
        sans-serif;

    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;

}

.airport-layout {

    gap: 24px;

}

.airport-panel,
.content-section {

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);

}

.panel-heading h2,
.content-section h2 {

    color: var(--navy);
    font-weight: 700;

}


/* ==========================================
   AIRPORT CARDS
   ========================================== */

.airport-card {

    background: var(--background);
    color: var(--text);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: none;

    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;

}

.airport-card strong {

    color: var(--blue);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;

}

.airport-card small {

    color: var(--muted);

}

.airport-card:hover {

    background: var(--blue);
    border-color: var(--blue);
    color: #FFFFFF;

    box-shadow: var(--shadow-hover);

    transform: none;

}

.airport-card:hover strong,
.airport-card:hover small,
.airport-card:hover span {

    color: #FFFFFF;

}


/* ==========================================
   GADEOK VIRTUAL AIRPORT
   ========================================== */

.virtual-card {

    background: linear-gradient(
        135deg,
        #122D60 0%,
        #1C4688 100%
    );

    color: #FFFFFF;

    border: 1px solid #122D60;
    border-radius: var(--radius);

}

.virtual-title,
.virtual-title h2,
.virtual-title h3,
.virtual-plane {

    color: #FFFFFF;

}

.virtual-card p {

    color: #D7E2F2;

}

.virtual-card .simulation-label,
.simulation-hero .simulation-label {

    background: transparent;
    color: #F4CF65;

    border: 1px solid rgba(244, 207, 101, 0.65);
    border-radius: 3px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;

}

.virtual-stats > div {

    background: rgba(255, 255, 255, 0.075);

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);

}

.virtual-stats strong {

    color: #FFFFFF;

    font-family:
        "DIN Alternate",
        "Roboto",
        Arial,
        sans-serif;

    font-variant-numeric: tabular-nums;
    font-weight: 700;

}

.virtual-stats span {

    color: #D7E2F2;

}

.virtual-transport-summary {

    color: #D7E2F2;

}

.virtual-card .primary-button {

    background: #FFFFFF;
    color: var(--navy);

    border-radius: var(--radius);

    font-weight: 700;

    transition:
        background-color 180ms ease,
        color 180ms ease;

}

.virtual-card .primary-button:hover {

    background: #EAF0F9;
    color: var(--blue);

}

.simulation-notice {

    color: #D7E2F2;

}

.simulation-hero {

    background: linear-gradient(
        110deg,
        #122D60,
        #1C4688
    );

    color: #FFFFFF;

    border-radius: var(--radius);

    padding: 32px;

}

.simulation-hero h1,
.simulation-hero h2,
.simulation-hero p,
.simulation-hero .clock-display {

    color: #FFFFFF;

}

.simulation-hero .eyebrow {

    color: #F4CF65;

}


/* ==========================================
   TRANSPORT NAVIGATION
   ========================================== */

.transport-nav a {

    background: #FFFFFF;
    color: var(--navy);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;

}

.transport-nav a:hover {

    background: var(--surface-alt);
    border-color: #A9BDD8;
    color: var(--blue);

    transform: none;

}

.transport-nav a:hover strong,
.transport-nav a:hover span,
.transport-nav a:hover small {

    color: var(--blue);

}

.transport-nav svg {

    width: 28px;
    height: 28px;

    stroke: currentColor;

}

.simulation-warning {

    background: #FFF9E9;
    color: #786024;

    border: 1px solid #E9D9AB;
    border-left: 3px solid #D6B04C;

    border-radius: var(--radius);

    font-size: 13px;

}


/* ==========================================
   DAILY STATISTICS
   ========================================== */

.daily-stats > div {

    background: var(--background);

    border: 1px solid var(--border);
    border-radius: var(--radius);

}

.daily-stats strong {

    color: var(--navy);

    font-family:
        "DIN Alternate",
        "Roboto",
        Arial,
        sans-serif;

    font-weight: 700;
    font-variant-numeric: tabular-nums;

}


/* ==========================================
   FLIGHT BOARD NAVIGATION
   ========================================== */

.board-heading {

    padding-top: 32px;
    padding-bottom: 28px;

}

.board-heading h1 {

    color: var(--navy);
    font-weight: 700;

}

.airport-code {

    color: var(--blue);
    font-weight: 600;
    letter-spacing: 1px;

}

.board-direction a {

    background: #FFFFFF;
    color: var(--navy);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        background-color 180ms ease,
        border-color 180ms ease;

}

.board-direction a:hover {

    background: var(--surface-alt);

}

.board-direction a.active,
.board-direction a.active:hover {

    background: var(--blue);
    color: #FFFFFF;
    border-color: var(--blue);

}

.board-direction small {

    letter-spacing: 1.6px;

}

.board-controls {

    background: #FFFFFF;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);

    padding: 18px;

}

.date-tabs a {

    background: var(--background);
    color: var(--navy);

    border: 1px solid var(--border);
    border-radius: 4px;

    transition:
        background-color 160ms ease,
        color 160ms ease;

}

.date-tabs a:hover {

    background: var(--surface-alt);

}

.date-tabs a.active {

    background: var(--blue);
    color: #FFFFFF;
    border-color: var(--blue);

}

.airport-selector select,
.board-filter-form input,
.board-filter-form select {

    background: #FFFFFF;
    color: var(--text);

    border: 1px solid #D2DCE9;
    border-radius: 4px;

    min-height: 44px;

}

.board-filter-form button {

    background: var(--blue);
    color: #FFFFFF;

    border-radius: 4px;

    transition: background-color 160ms ease;

}

.board-filter-form button:hover {

    background: var(--navy);

}

.reset-button {

    background: var(--surface-alt);
    color: var(--navy);

    border-radius: 4px;

}

.board-information {

    color: var(--navy);

}

.board-information span {

    color: var(--muted);

}


/* ==========================================
   PREMIUM FLIGHT BOARD
   ========================================== */

.board-frame {

    background: var(--board-dark);

    border: 1px solid var(--board-dark);
    border-radius: var(--radius);

    box-shadow:
        0 3px 12px rgba(18, 45, 96, 0.07);

}

.board-title {

    background: var(--board-dark);
    color: #FFFFFF;

    border-bottom: 2px solid var(--board-yellow);

    padding: 17px 20px;

}

.board-title strong {

    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;

}

.board-title span {

    color: var(--board-yellow);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;

}

.flight-table {

    background: var(--board-blue);
    color: #FFFFFF;

    font-size: 17px;
    font-weight: 700;

    font-variant-numeric: tabular-nums;
    letter-spacing: 0.15px;

    border-collapse: collapse;

}

.flight-table thead,
.flight-table th {

    background: var(--board-dark);
    color: #EAF0F9;

}

.flight-table th {

    font-size: 16px;
    font-weight: 700;

    padding: 14px 12px;

    border-bottom: 1px solid #46658F;

    white-space: nowrap;

}

.flight-table td {

    color: #FFFFFF;

    font-size: 17px;
    font-weight: 700;

    padding: 14px 12px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.09);

}

.flight-table tbody tr:nth-child(odd),
.flight-table tbody tr:nth-child(odd) td {

    background: var(--board-blue);

}

.flight-table tbody tr:nth-child(even),
.flight-table tbody tr:nth-child(even) td {

    background: var(--board-blue-alt);

}

.flight-table tbody tr:hover td {

    background: #2C5FA8;

}

.flight-table td:first-child,
.flight-table td:nth-child(2),
.flight-table td:nth-child(3) {

    font-family:
        "DIN Alternate",
        "DIN Next",
        "Roboto",
        Arial,
        sans-serif;

    font-weight: 800;
    letter-spacing: 0.4px;

}

.board-subtext,
.codeshare-label {

    color: #C7D6EC;

    font-size: 12px;
    font-weight: 500;

}


/* ==========================================
   FLIGHT STATUS COLORS
   ========================================== */

.flight-table .status-normal,
.flight-table .status-scheduled,
.flight-table .status-checkin,
.flight-table .status-boarding_ready {

    color: #FFFFFF;

}

.flight-table .status-boarding {

    color: #B9F5DF;

}

.flight-table .status-delayed,
.flight-table .status-final_call,
.flight-table .status-closed,
.flight-table .status-approaching,
.flight-table .delay-indicator {

    color: #F4CF65;
    font-weight: 800;

}

.flight-table .status-cancelled,
.flight-table .status-diverted {

    color: #FFB4B4;
    font-weight: 800;

}

.flight-table .status-arrived,
.flight-table .status-departed,
.flight-table .status-airborne {

    color: #B9F5DF;

}

.flight-table .status-unknown {

    color: #C7D6EC;

}


/* ==========================================
   PAGINATION AND NOTICES
   ========================================== */

.board-pagination a {

    background: #FFFFFF;
    color: var(--blue);

    border: 1px solid var(--border);
    border-radius: 4px;

    transition:
        background-color 160ms ease,
        color 160ms ease;

}

.board-pagination a:hover {

    background: var(--blue);
    color: #FFFFFF;

}

.board-notice {

    background: var(--surface-alt);
    color: var(--muted);

    border: 1px solid var(--border);
    border-radius: var(--radius);

}

.site-footer {

    background: #EAF0F9;
    color: #68788F;

    border-top: 1px solid var(--border);

}

.site-footer a {

    color: var(--navy);

}


/* ==========================================
   ACCESSIBILITY
   ========================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {

    outline: 2px solid #D6B04C;
    outline-offset: 3px;

}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        transition: none !important;
        animation: none !important;

    }

}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 760px) {

    .home-hero {

        padding-top: 24px;
        padding-bottom: 20px;

    }

    .home-hero h1 {

        font-size: 28px;

    }

    .simulation-hero {

        padding: 22px;

    }

    .board-heading {

        padding-top: 22px;
        padding-bottom: 18px;

    }

    .board-controls {

        padding: 12px;

    }

    .flight-table,
    .flight-table td {

        font-size: 15px;

    }

    .flight-table th {

        font-size: 14px;

    }

    .board-title strong {

        font-size: 20px;

    }

    .board-title span {

        font-size: 10px;

    }

}

@font-face {

    font-family: "Pretendard";

    src: url("../fonts/PretendardVariable.woff2")
         format("woff2");

    font-weight: 100 900;
    font-style: normal;
    font-display: swap;

}

/* Monochrome SVG icons */

.ui-icon {

    display: inline-block;

    width: 24px;
    height: 24px;

    vertical-align: middle;

    flex-shrink: 0;

}

.site-header .ui-icon {

    width: 28px;
    height: 28px;

    color: #FFFFFF;

}

.virtual-title .ui-icon,
.virtual-plane .ui-icon {

    width: 42px;
    height: 42px;

    color: #FFFFFF;

}

.transport-nav .ui-icon {

    width: 30px;
    height: 30px;

}

.virtual-transport-summary .ui-icon {

    width: 22px;
    height: 22px;

}

.direction-icon .ui-icon {

    width: 30px;
    height: 30px;

}

.board-direction .direction-icon {

    display: inline-flex;
    align-items: center;
    justify-content: center;

}

/* Airport introduction */

.panel-heading .airport-description {

    color: #2355A0;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.7;

    margin-top: 8px;
    margin-bottom: 20px;

    min-height: 48px;

}

/* Gadeok opening announcement */

.gadeok-opening-notice {

    color: #F4CF65;

    font-size: 23px;
    font-weight: 700;

    letter-spacing: 0.5px;

    text-align: center;

    margin-top: 24px;
    margin-bottom: 18px;

    line-height: 1.5;

}

@media (max-width: 760px) {

    .panel-heading .airport-description {

        font-size: 13px;
        min-height: auto;

    }

    .gadeok-opening-notice {

        font-size: 19px;

    }

}



/* Airport SEO Description */

.airport-seo-description {
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 5px;
    padding: 20px 24px;
    margin: 20px 0;
}

.airport-seo-description h2 {
    font-size: 19px;
    margin: 0 0 10px;
    color: #122d60;
}

.airport-seo-description p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 8px;
    color: #425570;
}

.airport-seo-description small {
    font-size: 12px;
    color: #68788f;
}

/* Five airport transport categories */

.transport-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 760px) {
    .transport-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .transport-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   Gadeok Airport - Messages of Support
   ========================================= */

.support-section {
    margin: 42px 0;
    padding: 56px 48px 32px;
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-top: 3px solid #b69a60;
    border-radius: 5px;
    scroll-margin-top: 24px;
}

.support-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px;
}

.support-emblem {
    color: #122d60;
    margin-bottom: 18px;
}

.support-emblem .ui-icon {
    width: 52px;
    height: 52px;
}

.support-eyebrow {
    display: block;
    color: #94783f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.6px;
}

.support-heading h2 {
    font-size: clamp(24px, 3vw, 36px);
    color: #122d60;
    font-weight: 750;
    letter-spacing: -1.2px;
    margin: 18px 0;
    line-height: 1.4;
}

.support-gold-line {
    width: 48px;
    height: 2px;
    margin: 24px auto;
    background: #b69a60;
}

.support-lead {
    color: #233c60;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.9;
    margin-bottom: 16px;
}

.support-description {
    color: #68788f;
    font-size: 15px;
    line-height: 1.9;
}

.support-form-panel {
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 32px;
    background: #f5f7fb;
    border: 1px solid #e0e6ef;
    border-radius: 5px;
}

.support-form-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.support-form-heading h3 {
    margin: 0;
    color: #122d60;
    font-size: 20px;
}

.support-form-heading span {
    color: #94783f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.support-field {
    margin-bottom: 22px;
}

.support-field label {
    display: block;
    color: #233c60;
    font-size: 14px;
    font-weight: 650;
    margin-bottom: 9px;
}

.support-field input,
.support-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d4deeb;
    border-radius: 4px;
    background: #ffffff;
    color: #172b46;
    padding: 14px 16px;
    font: inherit;
    font-size: 15px;
    line-height: 1.8;
}

.support-field input {
    max-width: 360px;
}

.support-field textarea {
    min-height: 145px;
    resize: vertical;
}

.support-field input:focus,
.support-field textarea:focus {
    outline: 2px solid #b69a60;
    outline-offset: 2px;
}

.support-field input::placeholder,
.support-field textarea::placeholder {
    color: #8794a6;
}

.support-character-count {
    margin-top: 7px;
    text-align: right;
    color: #68788f;
    font-size: 12px;
}

.support-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.support-form-footer p {
    margin: 0;
    font-size: 12px;
    color: #68788f;
    line-height: 1.8;
}

.support-submit {
    background: #122d60;
    color: #ffffff;
    border: 1px solid #122d60;
    border-radius: 4px;
    padding: 15px 24px;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.support-submit:hover {
    background: #2355a0;
}

.support-success {
    padding: 18px;
    margin-bottom: 24px;
    background: #ffffff;
    border-left: 3px solid #b69a60;
    color: #122d60;
    line-height: 1.8;
}

.support-success p {
    margin: 5px 0 0;
    color: #68788f;
    font-size: 13px;
}

.support-form .errorlist {
    color: #a93232;
    font-size: 13px;
    margin: 8px 0;
    padding-left: 20px;
}

.support-list-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dce3ed;
    margin-bottom: 24px;
}

.support-list-heading h3 {
    color: #122d60;
    font-size: 25px;
    margin: 10px 0 0;
}

.support-total {
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.support-total strong {
    color: #122d60;
    font-size: 28px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.support-total span {
    color: #68788f;
    font-size: 13px;
}

.support-message-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.support-message-card {
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e0e6ef;
    border-radius: 4px;
}

.support-quote {
    color: #b69a60;
    font-family: Georgia, serif;
    font-size: 58px;
    height: 36px;
    line-height: 1;
}

.support-message-text {
    color: #34465f;
    font-size: 15px;
    line-height: 1.9;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    flex: 1;
    margin: 12px 0 24px;
}

.support-message-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #e8edf3;
}

.support-message-meta strong {
    color: #122d60;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.support-message-meta time {
    color: #8491a3;
    font-size: 12px;
    white-space: nowrap;
}

.support-empty {
    grid-column: 1 / -1;
    padding: 48px 20px;
    text-align: center;
    background: #f8f9fc;
    border: 1px solid #e4e9f0;
    border-radius: 4px;
}

.support-empty-icon {
    color: #b69a60;
    margin-bottom: 12px;
}

.support-empty-icon .ui-icon {
    width: 36px;
    height: 36px;
}

.support-empty h3 {
    color: #122d60;
    font-size: 19px;
}

.support-empty p {
    color: #68788f;
    font-size: 14px;
}

.support-more,
.support-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 30px 0;
}

.support-more a,
.support-pagination a {
    padding: 12px 24px;
    color: #122d60;
    border: 1px solid #d4deeb;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.support-more a:hover,
.support-pagination a:hover {
    border-color: #b69a60;
    background: #f5f7fb;
}

.support-closing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 42px;
}

.support-closing span {
    height: 1px;
    width: 45px;
    background: #b69a60;
}

.support-closing p {
    color: #94783f;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.support-independent-notice {
    color: #8491a3;
    font-size: 11px;
    text-align: center;
    margin: 14px 0 0;
}

@media (max-width: 1000px) {

    .support-message-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-section {
        padding: 40px 28px 24px;
    }

}

@media (max-width: 600px) {

    .support-section {
        padding: 30px 16px 20px;
        margin: 24px 0;
    }

    .support-form-panel {
        padding: 20px 16px;
    }

    .support-form-heading,
    .support-form-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .support-submit {
        width: 100%;
    }

    .support-message-grid {
        grid-template-columns: 1fr;
    }

    .support-list-heading h3 {
        font-size: 19px;
    }

    .support-total strong {
        font-size: 22px;
    }

    .support-total span {
        font-size: 11px;
    }

    .support-lead {
        font-size: 17px;
    }

    .support-description {
        font-size: 13px;
    }

    .support-description br {
        display: none;
    }

    .support-field input {
        max-width: none;
    }

}


/* ==========================================
   Responsive Gadeok Flight & Bus Tables
   ========================================== */

#virtual-board-content,
#virtual-board-content .board-frame,
#virtual-board-content .table-wrapper,
.railway-board,
.railway-table-wrapper {
    min-width: 0;
    max-width: 100%;
}

#virtual-board-content .table-wrapper,
.railway-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Desktop and tablet */

@media (min-width: 1100px) {

    .flight-table.virtual-flight-table,
    .railway-table.bus-table {
        width: 100%;
        min-width: 0;
        table-layout: auto;
    }

    .virtual-flight-table th,
    .bus-table th {
        padding: 12px 8px;
        font-size: 13px;
        white-space: normal;
        line-height: 1.4;
    }

    .virtual-flight-table td,
    .bus-table td {
        padding: 16px 8px;
        font-size: 15px;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.5;
    }

    .virtual-flight-table .board-subtext,
    .virtual-flight-table .codeshare-label,
    .bus-table small {
        font-size: 11px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Flight times */

    .virtual-flight-table td:nth-child(1),
    .virtual-flight-table td:nth-child(2) {
        white-space: nowrap;
    }

    /* Bus numbers and times */

    .bus-table .railway-number,
    .bus-table .railway-time {
        font-size: 20px;
        white-space: nowrap;
    }

    .bus-table .railway-availability strong {
        font-size: 20px;
    }

    .bus-table .bus-region {
        min-width: 0;
        padding: 4px 6px;
        font-size: 11px;
        white-space: normal;
    }

    .bus-table .taxi-platform {
        width: 42px;
        height: 34px;
        font-size: 19px;
    }

    .bus-table td:last-child,
    .virtual-flight-table td:last-child {
        white-space: normal;
        overflow-wrap: normal;
        min-width: 75px;
    }

}

/* Smaller screens: horizontal scrolling */

@media (max-width: 1099px) {

    .flight-table.virtual-flight-table {
        min-width: 1200px;
    }

    .railway-table.bus-table {
        min-width: 1250px;
    }

}



/* ==========================================
   Flight Boarding & Check-in Status
   ========================================== */

.flight-table .status-boarding {
    color: #FF8585;
    font-weight: 800;
    animation: boarding-blink 1.5s ease-in-out infinite;
}

.flight-table .status-checkin {
    color: #FF8585;
    font-weight: 800;
    animation: none;
}

@keyframes boarding-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .flight-table .status-boarding {
        animation: none;
        opacity: 1;
    }
}


/* Additional real flight operation statuses */

.flight-table .status-processing,
.flight-table .status-go_to_gate {
    color: #2563eb;
    font-weight: 600;
}

.flight-table .status-gate_change,
.flight-table .status-checkin_closed {
    color: #b45309;
    font-weight: 600;
}

.flight-table .status-landed {
    color: #15803d;
    font-weight: 600;
}

.flight-table .status-unavailable {
    color: #64748b;
    font-weight: 400;
}
