@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

.bgg-col {
    background-color: #FBFCFF;
}


/*----- FLIGHT DETAILS section starts here -----*/
.flight-wrapper {
    background: #fff;
    border: 1px solid #DBDBDB;
    border-radius: 8px;
    padding: 15px;
}

.flight-title {
    color: #323232;
    font-family: Montserrat;
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.flight-card {
    border: 1px solid #DBDBDB;
    border-radius: 8px;
    overflow: visible;
    background: #fff;
}

.flight-header {
    height: 45px;
    padding: 0 20px;
    background: linear-gradient(91.34deg, #E8EFFF -32.3%, #FFFFFF 99.89%);
    border-bottom: 1px solid #DBDBDB;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #002374;
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 500;
}

.flight-header-left {
    display: flex;
    align-items: center;
    gap: 10px;

    img {
        width: 22px;
        height: 22px;
    }
}

.flight-date {
    color: #F9395C;
    font-size: 15px;
    font-family: Montserrat;
    font-weight: 700;
}

.flight-body {
    padding: 10px 15px;
}

.airline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.airlinee-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.airliine-logo {
    img {
        width: 32px;
        height: 35px;
    }
}

.airline-text {
    font-size: 16px;
    color: #434343;
}

.flight-number {
    font-size: 10px;
    color: #323232;
}

.flight-icons {
    display: flex;
    gap: 6px;
}

/* Tooltip container */
.baggage-tooltip-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.baggage-tooltip {
    position: absolute;
    left: -54px;
    bottom: 40px;
    transform: translateX(-50%) translateY(5px);
    color: #303030;
    font-size: 10px;
    font-weight: 500;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 8px;
    min-width: 150px;
    white-space: nowrap;
    box-shadow: 1px 1px 6px 0px #0000004F;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.baggage-tooltip::before {
    content: "";
    position: absolute;
    left: 86%;
    bottom: -8px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    transform: translateX(-50%) rotate(45deg);
}

.baggage-tooltip-wrapper:hover .baggage-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.routte {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.airport {
    width: 30%;
}

.airport-code {
    color: #505050;
    font-size: 16px;
    font-family: Montserrat;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.airport-name {
    font-size: 10px;
    color: #505050;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.route-line {
    flex: 1;
    margin: 0 25px;
    position: relative;
    height: 2px;
    background: repeating-linear-gradient(to right,
            #002374 0px,
            #002374 2px,
            transparent 2px,
            transparent 5px);
}

.route-arrow {
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    width: 21px;
    height: 21px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #002374;
}

.flight-info {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    margin-bottom: 10px;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 12px;
    color: #505050;
}

.flight-info span:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #002374;
    border-radius: 50%;
    margin-left: 14px;
    margin-bottom: 2px;
}
.no-flightt{
    padding: 66px 0;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #737373;
}
@media (max-width: 768px) {

    .no-flightt{
        padding: 66px 0;
        font-size: 16px;
    }

    .flight-title {
        font-size: 22px;
    }

    .flight-wrapper {
        padding: 10px;
    }

    .flight-header {
        padding: 0 15px;
        font-size: 14px;
    }

    .flight-date {
        font-size: 12px;
    }

    .flight-header-left {
        gap: 6px;
    }

    .flight-body {
        padding: 6px 10px;
    }

    .airliine-logo {
        img {
            width: 24px;
            height: 27px;
        }
    }

    .airline-text {
        font-size: 12px;
    }

    .flight-number {
        font-size: 9px;
    }

    .baggage-tooltip {
        left: -46px;
        bottom: 40px;
        font-size: 8px;
        padding: 4px 8px;

        img {
            width: 20px;
        }
    }

    .flight-icons {
        img {
            width: 20px;
        }
    }

    .routte {
        margin-top: 12px;
    }

    .route-line {
        margin: 0px 15px;
    }

    .airport-name {
        font-size: 9px;
    }

    .airport-code {
        font-size: 12px;
    }

    .flight-info {
        gap: 6px;
        margin-top: 12px;
        margin-bottom: 6px;
        font-size: 10px;
    }

    .flight-info span:not(:last-child)::after {
        width: 3px;
        height: 3px;
        background: #002374;
        margin-left: 6px;
    }

}

/* -----FLIGHT DETAILS section ends here ------*/