﻿/* Flight Details Page Specific Styles */
.flight-container {
    max-width: 1336px;
    margin: 150px auto;
    padding: 24px 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 1.05rem;
}

.flight-container .details-page {
    max-width: 900px;
    margin: 40px auto;
}

/* Flight Header */
.flight-details {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 24px;
}

.flight-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.airline-info {
    display: flex;
    align-items: flex-start;
}

    .airline-info .flight-logo {
        width: 80px;
        height: 80px;
        border-radius: 4px;
        margin: 0;
        margin-right: 16px;
        object-fit: contain;
    }

.flight-title .flight-airline {
    font-size: 1rem;
    color: #555;
}

.flight-title .flight-code {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 4px 0;
    color: #222;
}

.status-info {
    text-align: right;
}

.status-badge {
    background: #f2f2f2;
    border-radius: 16px;
    padding: 6px 16px;
    font-size: 12px;
    color: #333;
    font-weight: 500;
    display: inline-block;
}

.last-updated {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

    .last-updated i {
        margin-left: 4px;
        cursor: pointer;
    }

/* Flight Route */
.flight-route {
    display: flex;
    align-items: center;
    margin: 32px 0;
    position: relative;
}

.route-point {
    text-align: center;
    min-width: 80px;
}

.airport-code {
    font-weight: bold;
    font-size: 18px;
}

.airport-name {
    font-size: 13px;
    color: #666;
}

.route-line {
    flex: 1;
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}

.dotted-line {
    width: 100%;
    border: none;
    border-top: 1px dotted #999;
    margin: 0;
}

.route-line .fa-plane {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #333;
}

/* Codeshare Info */
.codeshare-info {
    font-size: 14px;
    margin-bottom: 16px;
}

    .codeshare-info .label {
        font-weight: 500;
    }

    .codeshare-info .value {
        color: #475569;
    }

/* Flight Notice */
.flight-notice {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

/* Flight Details Grid */
.flight-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.detail-item {
    margin-bottom: 16px;
}

.detail-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.detail-value {
    font-size: 18px;
    font-weight: 500;
}

.time-scheduled {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
}

/* Baggage Belt Styling */
.belt-number {
    color: #6a3de8;
    font-size: 32px;
    font-weight: bold;
}

.location-icon {
    color: #6a3de8;
    margin-left: 8px;
}

/* Tablet */
@media (max-width: 768px) {
    .flight-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flight-header {
        flex-direction: column;
    }

    .status-info {
        margin-top: 16px;
        text-align: left;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .flight-details-grid {
        grid-template-columns: 1fr;
    }

    .flight-route {
        flex-direction: column;
        gap: 20px;
    }

    .route-line {
        width: 100%;
        height: 40px;
    }

    .dotted-line {
        display: none;
    }

    .airline-info .flight-logo {
        width: 60px;
        height: 60px;
    }

    .flight-title .destination {
        font-size: 20px;
    }
}
