.flight-search-container {
    padding: 30px 40px 50px 40px;
}

.header-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: white;
}

.trip-type-selector button {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 8px 18px;
    margin-right: 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.trip-type-selector button.active {
    background-color: white;
    color: #3498db;
    border-color: white;
    font-weight: 600;
}

.trip-type-selector button:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.1);
}

.lowest-price-text {
    font-size: 18px;
    font-weight: bold;
}

.flight-search-form {
    display: flex;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group-new {
    padding: 15px 20px;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.form-group-new:last-of-type {
    border-right: none;
}

.form-group-new label {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}

.form-group-new .main-info {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    position: relative;
}

.form-group-new input.main-info {
    width: 100%;
    border: none;
    outline: none;
}

.main-info input{
    width: 100%;
    border: none;
    outline: none;
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

ul#departure, ul#finalBox  {
    position: absolute;
    z-index: 9;
    background: #fff;
    width: 20rem;
    left: 0;
    top: 100px;
    border-radius: .75rem;
    box-shadow: 0 4px 14px 0 #25201f40;
    margin-top: .25rem;
}

ul#departure li,ul#finalBox li{
    font-size: 16px;
    padding: 9px 15px 12px 15px;
    cursor: pointer;
}

ul#departure li:hover, ul#finalBox li:hover{
    background: #f3f3f3;
}

button.cm-dec-count, button.cm-inc-count {
    width: 26px;
    height: 31px;
    border: 0;
    background: none;
    font-size: 18px;
    cursor: pointer;
    color: #000;
    padding: 0;
    display: unset;
}

.traveller-select ul li p{
    text-align: center;
    font-size: 16px;
    width: 100px;
}

.form-group-new .sub-info {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swap-button {
    background-color: #f0f0f0;
    border: 1px solid #d0d0d0;
    color: #555;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    align-self: center;
    margin: 0 5px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.swap-button:hover {
    background-color: #e0e0e0;
}

.swap-button i {
    font-size: 12px;
}

.calendar-icon {
    font-size: 18px;
    color: #888;
    margin-left: auto;
    padding-left: 10px;
}

.date-display span {
    font-size: 28px;
    margin-right: 5px;
    font-weight: bold;
}

.return-date .main-info.placeholder {
    font-size: 14px;
    font-weight: normal;
    color: #999;
}

.traveller-select span {
    font-size: 28px;
    margin-right: 5px;
    font-weight: bold;
}

.dropdown-icon {
    font-size: 12px;
    color: #555;
    margin-left: auto;
    padding-left: 10px;
}

.search-button {
    background-color: #113d60;
    color: white;
    border: none;
    padding: 0 40px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.traveller-group ul {
    display: none;
    position: absolute;
    background-color: #fff;
    width: 200px;
    padding: 10px;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 45%);
    z-index: 99;
    top: 48px;
    left: 0;
}

.traveller-group ul li{
    border-radius: 4px;
    border: 1px solid #dcdcdc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.form-group-new.traveller-group{
    min-width: 200px;
}

.divider_nw {
    width: 100%;
    height: 1px;
    background: #eee;
    float: left;
    margin-bottom: 4px;
}

li.closetrip{
    border: none !important;
    font-size: 14px !important;
    display: block !important;
}

@media (max-width: 992px) {
    .flight-search-form {
        flex-direction: column;
        border-radius: 8px;
    }
    .form-group-new {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        min-width: unset;
        flex-basis: auto;
    }
    .form-group-new:last-of-type {
        border-bottom: none;
    }
    .swap-button {
        position: absolute;
        top: 85px;
        right: 20px;
        transform: rotate(90deg);
        z-index: 2;
    }
    .search-button {
        border-radius: 0 0 8px 8px;
        padding: 15px 20px;
        width: 100%;
    }
    /* .header-info {
        flex-direction: column;
        align-items: flex-start;
    } */
    .lowest-price-text {
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .form-group-new .main-info {
        font-size: 18px;
    }
    .form-group-new .main-info span {
        font-size: 22px;
    }
    .swap-button {
        top: 75px;
    }
    ul#departure, ul#finalBox {
        width: 100%;
        top: 80px;
    }
    .flight-search-container {
        padding: 0px;
    }
    .traveller-group ul {
        width: 100%;
        top: 42px;
    }
}
.form-group-new.from-group {
    min-width: 200px;
}
.form-group-new.to-group {
    min-width: 200px;
}
.form-group-new.date-group {
    min-width: 200px;
}