:root {
    --bg-dark: #10222e;
    --card-bg: #f8f9f9;
    --accent: #0066cc;
    --text-dark: #1e1e1e;
    --text-muted: #666;
    --confirmed: #2e7d32;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    margin: 0;
    padding: 40px 20px;
    color: var(--text-dark);
}

.itinerary-header {
    margin-top: var(--header-height, 40px);
}

.flight-container {
    margin-bottom: 30px;
}

/* for pending flight schedule screenshots pages */
.schedule-screenshot {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.route-title {
    color: #d6d6d6;
    font-size: 1.1em;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flight-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.flight-header {
    background: #6c757d;
    color: white;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 0.95em;
}

.flight-body {
    padding: 18px 20px;
}

.flight-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.flight-code {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 1.1em;
}

.flight-duration {
    font-size: 0.9em;
    color: var(--text-muted);
}

.time-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
    margin-bottom: 15px;
}

.time-block {
    text-align: left;
}

.time-block.right {
    text-align: right;
}

.time {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-dark);
}

.date {
    font-size: 0.85em;
    color: var(--text-muted);
}

.airport-code {
    font-size: 1.2em;
    font-weight: 800;
    color: var(--accent);
}

.airport-name {
    font-size: 0.9em;
    font-weight: bold;
    color: var(--text-muted);
}

.airport-full-name {
    font-size: 0.8em;
    color: var(--text-muted);
}

.terminal-gate {
    font-size: 0.8em;
    color: var(--text-muted);
}

.divider {
    height: 1px;
    background: #ddd;
    margin: 15px 0;
}

.operator {
    font-size: 0.85em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.status {
    background: rgba(112, 133, 145, 0.1);
    color: var(--confirmed);
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 600;
    text-align: center;
}

.status-confirmed {
    background: rgba(46, 125, 50, 0.1);
    color: var(--confirmed);
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 600;
    text-align: center;
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffbc00;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 600;
    text-align: center;

}
.status-pending a {
    text-decoration: none;
    display: block;
    color: #ffbc00;
    width: 100%;
}


@media (max-width: 480px) {
    .flight-card {
        font-size: 0.95em;
    }
}


.for-other-color{
     /* for an "error" or "rejected" status. */
    color:rgba(220, 53, 69, 0.1);
     /* for a neutral, "not started" status.  */
    color: rgba(108, 117, 125, 0.1);
    
}

















/* -------------------------------------------------------------------------------------------------------------------------------------------------- */





/* === Fixed Header and Hero === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--primary);
    /* box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); */
}

/* Green Hero section */
.hero {
    text-align: center;
    padding: 0.8rem 1rem 0.8rem;
    background-color: var(--primary);
    color: #f6f7fb;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}


.main-nav {
    width: 92%;
    max-width: 1100px;
    margin: 0.1rem auto 0.8rem;
    background: rgba(10, 10, 10, 0.56);
    border-radius: 40px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

/* Keep it stable in fixed layout */
header.shrink .main-nav {
    background: rgba(15, 15, 15, 0.95);
    padding: 8px 16px;
}

/* === Nav Links (Desktop) === */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.nav-links li a {
    color: #f6f7fb;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.25s, transform 0.25s;
}

.nav-links li a:hover {
    opacity: 0.85;
    transform: scale(1.05);
    color: var(--accent);
}

