.trip-search-container {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 400px;
}

.trip-search-container .hero-bg {
    position: absolute;
    height: 100%;
}

.trip-search-container .hero-bg img {
    min-height: 400px;
    max-height: 100%;
    object-fit: cover;
}

.trip-search-form {
    position: relative;
    z-index: 1;
    height: 100%;
    /* background: rgba(255, 255, 255, 0.9); */
    /* clip-path: polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%); */
    /* padding: 24px 340px; */
    padding: 0;
    display: flex;
    flex-direction: column;
    column-gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    width: 100%;
    max-width: 1182px;
}

.ui-datepicker {
    z-index: 9999 !important;
}

.trip-search-form .box-clip-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    clip-path: polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%);
    z-index: -1;
}

.trip-search-form h2 {
    font-family: Outfit;
    font-weight: 600;
    font-size: 36px;
    line-height: 45px;
    letter-spacing: 2%;
    color: #0B3368;
    margin-top: 20px;
    margin-left: 190px;
}

.trip-search-form .icon {
    font-size: 24px;
}

.trip-search-form .trip-search-fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 10px;
    position: relative;
}

.trip-search-form .trip-search-field {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.trip-search-form .trip-search-field input,
.trip-search-form .trip-search-field select,
.trip-search-form .trip-search-field .select2-selection {
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--primary, #0B3368);
    background: #FFFFFF;
    border: 1px solid #D2D2D2;
    border-radius: 8px;
    padding: 0 10px;
    width: 458px;
    height: 44px;
}

.trip-search-form .trip-search-field .select2-selection {
    display: flex;
    align-items: center;
}

.trip-search-form .trip-search-field input::placeholder,
.trip-search-form .trip-search-field select::placeholder {
    color: var(--primary, #0B3368);
    opacity: 0.6;
}

.trip-search-form .btn-trip-search {
    height: 60px;
    margin-top: 16px;
    padding: 10px 100px;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    border: none;
    background: #FF3131;
    color: #FFFFFF;

    font-family: Outfit;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0;
}

.trip-search-form .switch-route-wrapper {
    position: absolute;
    right: -5px;
    transform: translateX(100%) translateY(100%);
}

.trip-search-form .switch-route {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: rotate(90deg);
}

@media (max-width: 1199px) {

    .trip-search-container {
        min-height: unset;
    }

    .trip-search-form {
        clip-path: unset;
        margin-top: 0;
        padding: 12px 24px 0;
    }

    .trip-search-form .trip-search-fields {
        width: 100%;
    }

    .trip-search-container .hero-bg img {
        min-height: unset;
        height: 100%;
    }

    .trip-search-form .trip-search-field input,
    .trip-search-form .trip-search-field select,
    .trip-search-form .trip-search-field .select2-selection {
        width: auto;
        flex-grow: 1;
    }

    .trip-search-form .btn-trip-search {
        height: 50px;
        font-size: 20px;
    }

}