.board-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
}

.board-heading h1 {
    font-size: 32px;
    color: var(--blue);
    margin: 8px 0;
}

.airport-code {
    display: inline-block;
    margin-left: 8px;
    font-size: 22px;
    color: #64748b;
}

.airport-selector {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 210px;
}

.airport-selector label {
    font-size: 13px;
    color: #64748b;
}

.airport-selector select,
.board-filter-form input,
.board-filter-form select {
    background: #ffffff;
    color: #17243b;
    border: 1px solid #cdd8ec;
    border-radius: 6px;
    padding: 11px 12px;
    font-size: 14px;
    min-height: 44px;
}

.board-direction {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 12px 0 24px;
}

.board-direction a {
    background: #f3f6fc;
    border: 1px solid #dce4f5;
    border-radius: 8px;
    color: #153acb;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.board-direction a.active {
    background: #153acb;
    border-color: #153acb;
    color: white;
}

.board-direction strong {
    font-size: 23px;
}

.board-direction small {
    font-size: 12px;
    letter-spacing: 1px;
}

.direction-icon {
    font-size: 30px;
}

.board-direction a:first-child .direction-icon {
    transform: rotate(-25deg);
}

.board-direction a:last-child .direction-icon {
    transform: rotate(25deg);
}

.board-controls {
    background: #f3f6fc;
    border: 1px solid #dce4f5;
    border-radius: 8px;
    padding: 16px;
}

.date-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.date-tabs a {
    background: white;
    border: 1px solid #dce4f5;
    color: #153acb;
    padding: 8px 22px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
}

.date-tabs a.active {
    background: #153acb;
    border-color: #153acb;
    color: white;
}

.board-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.board-filter-form input[type="search"] {
    flex: 1;
    min-width: 220px;
}

.board-filter-form button,
.reset-button {
    border: 0;
    border-radius: 6px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.board-filter-form button {
    background: #153acb;
    color: white;
}

.reset-button {
    background: #e2e9f7;
    color: #153acb;
}

.board-information {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 20px 0 12px;
    font-size: 14px;
}

.board-information span {
    color: #64748b;
    font-size: 12px;
}

.board-frame {
    border-radius: 8px;
    overflow: hidden;
    background: #10258c;
}

.board-title {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    color: white;
}

.board-title strong {
    font-size: 24px;
}

.board-title span {
    font-size: 14px;
    color: #ffda44;
    font-weight: 700;
    letter-spacing: 1px;
}

.real-flight-table {
    min-width: 1050px;
    font-size: 17px;
    font-weight: 700;
}

.real-flight-table th {
    padding: 13px 12px;
    font-size: 16px;
}

.real-flight-table td {
    padding: 14px 12px;
    vertical-align: middle;
}

.board-time {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

.board-subtext,
.codeshare-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #dce4ff;
    margin-top: 4px;
}

.codeshare-label {
    max-width: 180px;
    white-space: normal;
}

.board-empty {
    text-align: center;
    padding: 40px !important;
}

.board-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 25px 0;
}

.board-pagination a {
    border: 1px solid #dce4f5;
    border-radius: 5px;
    padding: 8px 15px;
    color: #153acb;
}

.board-notice {
    margin-top: 24px;
    padding: 18px;
    background: #f3f6fc;
    color: #64748b;
    font-size: 12px;
    border-radius: 6px;
}

.board-notice p {
    margin: 4px 0;
}

@media (max-width: 760px) {

    .board-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .board-heading h1 {
        font-size: 26px;
    }

    .board-direction a {
        flex-direction: column;
        gap: 5px;
        padding: 12px;
    }

    .board-filter-form input,
    .board-filter-form select {
        flex: 1;
        min-width: 120px;
    }

    .board-filter-form input[type="search"] {
        flex-basis: 100%;
    }

    .board-information {
        align-items: flex-start;
        flex-direction: column;
    }

    .real-flight-table {
        font-size: 15px;
    }

    .real-flight-table th {
        font-size: 14px;
    }
}

/* Gadeok Virtual Flight Board */

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

.virtual-flight-table td {
    font-size: 17px;
    font-weight: 700;
}

.virtual-flight-table .board-subtext {
    font-size: 11px;
    font-weight: 500;
}

.virtual-flight-table .delay-indicator {
    display: block;
    margin-top: 4px;
    color: #ffda44;
    font-size: 13px;
    font-weight: 700;
}

.virtual-flight-table .status-airborne {
    color: #b9f5df;
}

.virtual-flight-table .status-approaching {
    color: #ffda44;
}

.virtual-flight-table .status-diverted {
    color: #ffb1b1;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 760px) {

    .virtual-flight-table td {
        font-size: 15px;
    }

}
