body {
    font-family: 'Manrope', Arial, sans-serif;
    background: #f6f8fb;
    margin: 0;
}
.flight-search-box {
    background: #fff;
    box-shadow: 0 7px 44px 0 rgba(30, 115, 190, .12);
    border-radius: 20px;
    max-width: 1100px;
    margin: 40px auto 32px auto;
    padding: 32px 38px 18px 38px;
}
.search-form-row {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}
.input-group {
    display: flex;
    align-items: center;
    position: relative;
}
.input-city {
    font-size: 18px;
    border: 1.5px solid #e1e7ef;
    border-radius: 10px;
    padding: 13px 14px;
    width: 190px;
    outline: none;
    transition: border .15s;
    background: #fafbfc;
}
.input-city:focus {
    border: 1.5px solid #1e73be;
    background: #fff;
}
.input-group input[type="text"]:not(.input-city) {
    font-size: 17px;
    border: 1px solid #e1e7ef;
    border-radius: 10px;
    padding: 13px 11px;
    width: 140px;
    background: #fafbfc;
}
.input-group input[readonly] {
    cursor: pointer;
    background: #fafbfc;
}
.iata-label {
    font-size: 15px;
    color: #22a7f0;
    font-weight: bold;
    margin-left: 5px;
    margin-right: 7px;
    white-space: nowrap;
    letter-spacing: 1px;
}
.swap-btn {
    background: #eaf2fb;
    border-radius: 50%;
    border: 1px solid #e1e7ef;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: #26a4e6;
    cursor: pointer;
    transition: background .13s;
}
.swap-btn:hover {
    background: #d8eafd;
}
.passengers-select {
    position: relative;
}
.passenger-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    background: #f5faff;
    border: 1px solid #dde6ef;
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 170px;
    font-size: 16px;
}
.passenger-btn i {
    font-size: 17px;
}
.passenger-dropdown {
    position: absolute;
    left: 0;
    top: 110%;
    z-index: 100;
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 7px 32px 0 rgba(30, 115, 190, .10);
    min-width: 210px;
    padding: 18px 20px 15px 20px;
    display: none;
}
.passenger-dropdown label {
    display: block;
    font-size: 15px;
    margin-bottom: 10px;
}
.passenger-number {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 8px;
}
.passenger-number button {
    width: 25px;
    height: 25px;
    border-radius: 7px;
    border: none;
    background: #eaf2fb;
    color: #26a4e6;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}
.passenger-number button:active {
    background: #d8eafd;
}
.class-row {
    margin: 12px 0 2px 0;
}
.class-row label {
    margin-right: 14px;
    font-size: 15px;
}
.search-btn {
    background: #26a4e6;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    padding: 13px 36px;
    cursor: pointer;
    transition: background .14s;
    min-width: 170px;
    box-shadow: 0 2px 10px rgba(38,164,230,.07);
}
.search-btn:hover {
    background: #1e73be;
}
.autocomplete-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 45px;
    z-index: 10;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 7px 32px 0 rgba(30, 115, 190, .10);
    max-height: 280px;
    overflow-y: auto;
    font-size: 16px;
}
.autocomplete-item {
    padding: 10px 18px;
    cursor: pointer;
    transition: background .08s;
}
.autocomplete-item:hover {
    background: #f1f8fe;
}
#flight-results {
    margin: 38px auto 44px auto;
    max-width: 880px;
}
.flight-card-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.flight-card {
    background: #fff;
    border-radius: 19px;
    box-shadow: 0 7px 32px 0 rgba(30, 115, 190, .10);
    padding: 28px 38px 24px 38px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    position: relative;
}
.flight-label {
    position: absolute;
    left: 30px;
    top: -15px;
    background: #23be6b;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 3px 16px 3px 14px;
    border-radius: 12px 16px 16px 2px;
    z-index: 2;
}
.flight-label.flight-morning {
    background: #29a9e1;
}
.flight-label.flight-direct {
    background: #ffa52a;
}
.flight-card-main {
    flex: 1 1 0px;
    min-width: 0;
}
.flight-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 9px;
}
.flight-card-header img {
    width: 44px;
    height: 26px;
    object-fit: contain;
    margin-right: 8px;
    border-radius: 8px;
    background: #f6f8fb;
    border: 1px solid #e1e7ef;
}
.flight-card-header .airline-name {
    font-size: 16px;
    color: #1e73be;
    font-weight: 600;
}
.flight-card-route {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #28384b;
}
.flight-card-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 7px;
}
.flight-card-time {
    font-size: 22px;
    font-weight: 600;
    color: #192337;
    letter-spacing: 1px;
}
.flight-card-arrow {
    font-size: 18px;
    color: #b9c6e0;
    margin: 0 6px;
}
.flight-card-dur {
    font-size: 15px;
    color: #5a6e8e;
    white-space: nowrap;
}
.flight-card-stops {
    font-size: 15px;
    color: #ff8a2a;
    white-space: nowrap;
    font-weight: 600;
}
.flight-card-baggage {
    font-size: 15px;
    color: #2777e2;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
}
.flight-card-baggage i {
    font-size: 16px;
    margin-right: 6px;
}
.flight-card-buy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-width: 190px;
    gap: 13px;
}
.flight-card-price {
    font-size: 28px;
    font-weight: 800;
    color: #169bd5;
    margin-bottom: 9px;
    margin-top: 2px;
    letter-spacing: 0.8px;
}
.flight-card-price span {
    font-size: 17px;
    color: #1e73be;
    font-weight: 600;
}
.flight-buy-btn {
    background: #ff6b20;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 12px;
    border: none;
    padding: 14px 40px;
    cursor: pointer;
    transition: background .13s;
    min-width: 145px;
    box-shadow: 0 2px 10px rgba(255, 107, 32, .09);
    text-decoration: none;
    text-align: center;
    outline: none;
}
.flight-buy-btn:hover {
    background: #fa5c08;
}
@media (max-width:1100px) {
    .flight-search-box {
        max-width: 98vw;
        padding: 10px 5vw 16px 5vw;
    }
    .flight-card {
        padding: 19px 10px 16px 10px;
    }
}
@media (max-width:900px) {
    .search-form-row {
        flex-direction: column;
        gap: 9px;
    }
    .flight-card {
        flex-direction: column;
        gap: 8px;
    }
    .flight-card-buy {
        align-items: stretch;
        min-width: 0;
    }
    .flight-label {
        left: 14px;
        top: 10px;
    }
}

 