* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #FFD700;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    padding: 0;
    min-height: 100vh;
}

.airport-topbar {
    background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
    border-bottom: 3px solid #FFD700;
    display: flex;
    gap: 2px;
    padding: 0;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    align-items: center;
}

.airport-btn {
    flex: 1;
    background-color: #0a0a0a;
    color: #FFD700;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Segoe UI', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
}

.airport-btn:hover {
    background-color: #1a1a1a;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.airport-btn.active {
    background: linear-gradient(to bottom, #FFD700, #DDB300);
    color: #000;
    border-bottom-color: #000;
    font-weight: 700;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.header {
    padding: 15px;
    text-align: center;
    margin: 0 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 15px;
}

.clock-display {
    background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
    border: 2px solid #FFD700;
    border-radius: 8px;
    padding: 8px;
    margin: 8px 15px;
    text-align: center;
}

.clock-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.clock-time {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clock-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFD700;
    margin-bottom: 2px;
}

.clock-value {
    font-size: 14px;
    font-weight: 700;
    color: #FFD700;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.clock-separator {
    font-size: 10px;
    color: #FFD700;
    font-weight: 700;
}

.ticker-container {
    background-color: #0a0a0a;
    border: 1px solid #FFD700;
    border-top: 3px solid #FFD700;
    border-bottom: 3px solid #FFD700;
    padding: 8px 0;
    margin: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

.ticker-label {
    background-color: #FFD700;
    color: #000;
    padding: 5px 12px;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    height: 28px;
}

.ticker {
    display: flex;
    gap: 40px;
    padding: 5px 0;
    animation: scroll-ticker 60s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.ticker-symbol {
    color: #FFD700;
    font-weight: 700;
    text-transform: uppercase;
}

.ticker-value {
    color: #FFF;
    font-family: 'Courier New', monospace;
}

.ticker-change {
    font-weight: 700;
}

.ticker-change.positive {
    color: #00FF00;
}

.ticker-change.negative {
    color: #FF6B6B;
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker:hover {
    animation-play-state: paused;
}

.header h1 {
    font-size: 32px;
    text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.5);
    margin-bottom: 8px;
    letter-spacing: 2px;
    font-weight: 700;
}

.header p {
    font-size: 13px;
    opacity: 0.8;
    letter-spacing: 1px;
}

.controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-button {
    background-color: #1a1a1a;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 8px 18px;
    font-size: 11px;
    cursor: pointer;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-button:hover {
    background-color: #FFD700;
    color: #000;
    transform: scale(1.05);
}

.tab-button.active {
    background-color: #FFD700;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.board-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.board-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1a1a1a;
    border: 2px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    font-size: 12px;
}

.board-table thead {
    background-color: #000;
    border-bottom: 2px solid #FFD700;
}

.board-table th {
    padding: 10px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid #FFD700;
}

.board-table th:last-child {
    border-right: none;
}

.board-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #333;
    border-right: 1px solid #FFD700;
    font-size: 11px;
}

.board-table td:last-child {
    border-right: none;
}

.board-table tbody tr {
    transition: all 0.3s ease;
}

.board-table tbody tr:hover {
    background-color: #2a2a2a;
    box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.2);
}

.board-table tbody tr:last-child td {
    border-bottom: none;
}

.flight-ident {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time {
    font-weight: 700;
    font-size: 11px;
    font-family: 'Courier New', monospace;
}

.airport-code {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
}

.status {
    text-transform: uppercase;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.status.arrived {
    background-color: #1a3a1a;
    color: #00FF00;
}

.status.on-the-way {
    background-color: #3a2a1a;
    color: #FFD700;
}

.status.delayed {
    background-color: #3a1a1a;
    color: #FF6B6B;
}

.position {
    font-weight: 600;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #00FF00;
}

.coordinates {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #AAD700;
}

.altitude {
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.speed {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #FFD700;
}

.route {
    font-size: 10px;
    color: #BBD700;
}

.status.scheduled {
    background-color: #1a2a3a;
    color: #87CEEB;
}

.status.estimated-arrival {
    background-color: #2a1a3a;
    color: #DA70D6;
}

.no-flights {
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    opacity: 0.6;
}

.message {
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    opacity: 0.6;
    color: #FFD700;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.page-button {
    background-color: #1a1a1a;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 6px 10px;
    font-size: 10px;
    cursor: pointer;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-button:hover {
    background-color: #FFD700;
    color: #000;
}

.page-button.active {
    background-color: #FFD700;
    color: #000;
    font-weight: 700;
}

.page-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-info {
    font-size: 10px;
    opacity: 0.7;
    margin: 0 10px;
}

.time-updated {
    text-align: center;
    margin-top: 12px;
    opacity: 0.6;
    font-size: 10px;
}

@media (max-width: 1200px) {
    .board-table {
        font-size: 10px;
    }

    .board-table th,
    .board-table td {
        padding: 8px 10px;
    }

    .header h1 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .airport-btn {
        font-size: 10px;
        padding: 10px 12px;
    }

    .board-table {
        font-size: 9px;
    }

    .board-table th,
    .board-table td {
        padding: 6px 8px;
    }

    .flight-ident {
        font-size: 10px;
    }

    .time {
        font-size: 9px;
    }

    .status {
        font-size: 8px;
        padding: 3px 6px;
    }

    .header h1 {
        font-size: 20px;
    }

    .ticker-container {
        gap: 10px;
        padding: 6px 0;
    }

    .ticker-label {
        padding: 4px 10px;
        font-size: 9px;
    }

    .ticker-item {
        font-size: 9px;
        gap: 6px;
    }

    .ticker-wrapper {
        height: 24px;
    }

    @keyframes scroll-ticker {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}
