.custom-search-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 200px;
    background-color: #16161699;
    border-radius: 30px 30px 0 0;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 99;
    backdrop-filter: blur(6.1px);
    -webkit-backdrop-filter: blur(6.1px);
}
.custom-search-headline {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 22px;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: left;
    letter-spacing: 0;
    padding-left: 15px; /* Match the 15px margin of search items */
}
.custom-search-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.custom-search-row {
    display: flex;
    align-items: center;
}

.custom-search-item {
    width: 400px;
    margin: 0 15px;
    display: flex;
    flex-direction: column;
}
.custom-search-item .btn-dropdown-search {
    background-color: #ffffff !important;
    color: #d6d7d8 !important;
    border: none !important;
    border-radius: 12px !important;
    height: 60px !important;
    width: 400px !important;
    text-align: left !important;
    padding-left: 55px !important;
    position: relative !important;
    font-family: "Manrope", sans-serif !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 22px !important;
    letter-spacing: 0 !important;
    display: flex !important;
    align-items: center !important;
    transition: none !important;
}
.custom-search-item .btn-dropdown-search.show {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.custom-search-item .btn-dropdown-search.location-search {
    background-position: 20px center !important;
}
.custom-search-item .btn-dropdown-search.passenger-search {
    background-position: 15px center !important;
}
.custom-search-item .btn-dropdown-search:after {
    content: "" !important;
    border: none !important;
    background-image: url(../images/arrow-down.svg) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 14px !important;
    height: 10px !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: block !important;
}
.custom-search-button-wrap {
    margin: 0 15px;
    margin-top: 0;
}
.btn-green-custom {
    padding: 12px 30px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    background-color: #27368b !important;
    border-radius: 20px !important;
    height: 60px !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 270px;
}

/* Destination Dropdown Specifics */
.dropdown-destination-menu {
    width: 400px !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 15px !important;
    border: none !important;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1) !important;
    margin: 0 !important;
}
.custom-search-item .dropdown-menu {
    margin: 0 !important;
    width: 100% !important;
}
.dropdown-menu.show.dropdown-hashtag-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
.dropdown-hashtag-menu li {
    list-style: none;
}
.dropdown-item-radio,
.dropdown-item-checkbox {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none !important;
}
.dropdown-item-radio:hover,
.dropdown-item-checkbox:hover {
    background-color: #f8f9fa;
}
.dropdown-item-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
    background-color: #d9d9d9;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.dropdown-item-radio input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #27368b;
}
.dropdown-item-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
    background-color: #d9d9d9;
    border-radius: 4px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #ccc;
    flex-shrink: 0;
}
.dropdown-item-checkbox input[type="checkbox"]:checked {
    background-color: #27368b;
    border-color: #27368b;
}
.dropdown-item-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
}
.dropdown-item-radio label,
.dropdown-item-checkbox label {
    margin-bottom: 0 !important;
    color: #333333 !important;
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
    width: auto !important;
    user-select: none;
}

@media (min-width: 1400px) {
    .custom-search-container {
        padding: 30px 0;
        max-height: 180px;
    }

    .custom-search-headline {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .custom-search-item {
        width: 320px;
    }

    .custom-search-item .btn-dropdown-search {
        width: 320px !important;
        height: 50px !important;
        font-size: 17px !important;
        padding-left: 48px !important;
    }

    .custom-search-row .custom-search-item:nth-child(2),
    .custom-search-item .btn-dropdown-search.passenger-search {
        width: 400px;
    }

    .custom-search-item .btn-dropdown-search.passenger-search {
        width: 400px !important;
    }

    .dropdown-destination-menu {
        width: 320px !important;
    }

    .dropdown-destination-menu.dropdown-hashtag-menu {
        width: 400px !important;
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-search-button-wrap .btn-green-custom {
        height: 50px !important;
        min-width: 220px;
        padding: 8px 24px !important;
        font-size: 15px !important;
    }
}