﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #222;
}

.search-bar .route {
    font-size: 16px;
    font-weight: bold;
}


.search-bar .meta {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
}


/* Date Scroll */
.dates {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #ddd;
}


.date {
    font-size: 10px;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    padding: 5px;
}


    .date.active {
        background: #ffe5e5;
        color: #c40000;
        font-weight: bold;
    }


/* Flight Card */
.flight-card {
    background: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 12px;
}


.flight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.airline {
    font-weight: bold;
    font-size: 14px;
}


.flight-no {
    font-size: 12px;
    color: #666;
}


.duration {
    font-size: 12px;
    color: #d35400;
}

.route-row {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    align-items: center;
}


.time {
    font-size: 16px;
    font-weight: bold;
}


.city {
    font-size: 12px;
    color: #666;
}


.via {
    font-size: 12px;
    color: #c40000;
    margin-top: 6px;
}

.fare-row,
.date-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* SAME column count */
    text-align: center;
    gap: 6px;
}

    .fare-row > div,
    .date-row > div {
        flex: 1;
        text-align: center;
    }

    .fare-row > div {
        font-size: 1em;
        font-weight: bold;
        color: #0b3c91;
        border-right: 1px solid #ddd;
        padding-right: 2px;
    }

    .date-row > div {
        font-size: 0.8em;
    }

.select-btn {
    background: #2ecc71;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}


    .select-btn:hover {
        background: #27ae60;
    }
