/* Schedule Page Styles */

.date-selector {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

.date-selector label {
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-selector input {
    background-color: #1a1a1a;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Segoe UI', sans-serif;
    cursor: pointer;
}

.date-selector input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.refresh-button {
    background-color: #1a1a1a;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 6px 12px;
    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;
    border-radius: 4px;
}

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

.refresh-button:active {
    transform: scale(0.95);
}

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

.schedule-header {
    margin-bottom: 15px;
}

.schedule-header h2 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #FFD700;
}

.info-text {
    font-size: 11px;
    opacity: 0.7;
    margin: 0;
}

.schedule-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;
    margin-bottom: 20px;
}

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

.schedule-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;
}

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

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

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

.schedule-table tbody tr {
    transition: all 0.3s ease;
    background-color: #0a0a0a;
}

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

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

/* Flight information cells */
.flight-time {
    font-weight: 700;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

.flight-number {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
}

.airline-code {
    opacity: 0.8;
    font-size: 10px;
}

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

.aircraft-type {
    font-family: 'Courier New', monospace;
    font-size: 11px;
}

.tail-number {
    font-size: 10px;
    opacity: 0.8;
    font-family: 'Courier New', monospace;
}

.loading {
    text-align: center;
    background-color: #1a1a1a !important;
    font-style: italic;
    opacity: 0.6;
}

.no-data {
    text-align: center;
    padding: 30px;
    opacity: 0.6;
    font-style: italic;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 15px;
    margin-top: 30px;
    border-top: 2px solid #FFD700;
    font-size: 12px;
    opacity: 0.8;
}

.footer a {
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer a:hover {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .schedule-table {
        font-size: 10px;
    }

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

    .flight-time {
        font-size: 11px;
    }

    .flight-number {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .date-selector {
        flex-direction: column;
        gap: 8px;
    }

    .date-selector input,
    .refresh-button {
        width: 100%;
    }

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

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

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

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

    .airport-code {
        font-size: 11px;
    }
}
