#custom-search-bar {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    font-family: 'Muli', sans-serif;
    background-color: #c4abb4;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    border: 1px solid black;
    z-index: 20;
}
#booking-form {
    display: flex;
    flex-wrap: nowrap;
    justify-content: stretch;
    gap: 0;
    align-items: stretch;
}
.search-field {
    display: flex;
    flex-direction: column;
    background: #e0e0e0;
    border: none;
    border-right: 1px solid black;
    padding: 0; /* Removed horizontal padding */
    flex: 1;
    text-align: center;
    height: 70px;
    justify-content: stretch; /* Stretch items to fill height */
    align-items: center;
    gap: 0;
    cursor: pointer;
}
.search-field:last-child {
    border-right: none;
}
.search-field label {
    font-size: 16px;
    color: black;
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    background-color: transparent; /* Removed Light Blue */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 35px;
    line-height: 1;
}
.input-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* Reduced gap to bring icons closer to text */
    background-color: transparent;
    width: 100%;
    height: 35px;
    padding: 0;
}
.search-field input,
.search-field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    font-size: 16px; /* Further reduced font size */
    width: auto; /* Changed to auto to fit text and bring icons closer */
    max-width: 160px;
    background-color: transparent;
    color: #6c6c6c;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 35px;
    height: 35px;
    display: block;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-field input {
    text-align: center;
}
.search-field select {
    text-align: center;
    text-align-last: center;
    padding-right: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.search-field select option {
    text-align: center;
}
#guests-field {
    position: relative;
}
#guests-display {
    pointer-events: none;
    color: #6c6c6c !important; /* Reverted text color */
    background-color: transparent; /* Changed to transparent */
}
.search-field input::placeholder {
    color: #6c6c6c; /* Reverted placeholder color */
}
.custom-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid black;
    border-radius: 0;
    margin-top: 5px;
    min-width: 150px;
    max-height: 168px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 2000;
    display: none;
    overflow-y: auto;
}
.custom-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid black;
}
.custom-dropdown::-webkit-scrollbar {
    width: 6px;
}
.custom-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.custom-dropdown::-webkit-scrollbar-thumb {
    background: #c4abb4;
    border-radius: 0;
}
.custom-dropdown::-webkit-scrollbar-thumb:hover {
    background: #b28d63;
}
/* Guests Breakdown Styles */
.custom-dropdown.guests-breakdown {
    min-width: 250px;
    padding: 15px;
    max-height: none;
    text-align: left;
    cursor: default;
}
.guest-type-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}
.guest-type-row:last-of-type {
    border-bottom: none;
}
.guest-info {
    display: flex;
    flex-direction: column;
}
.guest-type-row .guest-name,
.custom-dropdown .guest-name {
    font-size: 11px !important;
    font-weight: bold;
    color: black;
    font-family: 'Muli', sans-serif;
}
.guest-type-row .guest-desc,
.custom-dropdown .guest-desc {
    font-size: 10px !important;
    color: #6c6c6c;
    font-family: 'Muli', sans-serif;
}
.guest-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}
.guest-controls button {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50%;
    border: 1px solid #c4abb4;
    background-color: transparent;
    color: #c4abb4;
    font-size: 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: all 0.2s ease;
}
.guest-controls button:hover {
    background-color: #c4abb4;
    color: white;
}
.guest-controls button:disabled {
    border-color: #e0e0e0;
    color: #e0e0e0;
    cursor: not-allowed;
    background-color: transparent;
}
.guest-count {
    font-size: 13px !important;
    font-weight: bold;
    color: black;
    min-width: 15px;
    text-align: center;
}
.guest-dropdown-footer {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}
#btn-apply-guests {
    background-color: #c4abb4;
    color: white;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin: 0;
}
#btn-apply-guests:hover {
    background-color: #b28d63;
}

/* Flatpickr range calendar styles */
.flatpickr-range-calendar {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.flatpickr-range-calendar .flatpickr-day.inRange {
    background: #e0e0e0;
    border-color: #e0e0e0;
    box-shadow: none;
}
.flatpickr-range-calendar .flatpickr-day.selected.startRange,
.flatpickr-range-calendar .flatpickr-day.startRange.startRange,
.flatpickr-range-calendar .flatpickr-day.endRange.startRange {
    border-radius: 0;
}
.flatpickr-range-calendar .flatpickr-day.selected.endRange,
.flatpickr-range-calendar .flatpickr-day.startRange.endRange,
.flatpickr-range-calendar .flatpickr-day.endRange.endRange {
    border-radius: 0;
}
.duration-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #c4abb4;
    color: white;
    padding: 8px 20px;
    border-radius: 0;
    font-family: 'Muli', sans-serif;
    font-weight: bold;
    font-size: 14px;
    z-index: 100;
}
.custom-dropdown.active {
    display: block;
}
.dropdown-option {
    padding: 12px 20px;
    cursor: pointer;
    text-align: center;
    font-family: 'Muli', sans-serif;
    font-weight: bold;
    font-size: 15px;
    color: black;
    transition: background-color 0.2s ease;
}
.dropdown-option:hover {
    background-color: #c4abb4;
    color: white;
}
.dropdown-option.selected {
    background-color: #e0e0e0;
}
.input-with-icon svg {
    color: #BCA3AC;
}
#search-btn {
    background-color: #c4abb4;
    color: white;
    border: none;
    border-radius: 0;
    padding: 0 40px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Muli', sans-serif;
    cursor: pointer;
    margin: 0;
    height: 70px;
    transition: background-color 0.3s ease;
}
#search-btn:hover {
    background-color: #b28d63;
}

/* Search bar responsive */
@media screen and (max-width: 850px) {
    #custom-search-bar {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 95% !important;
        max-width: 500px !important;
        margin: 30px auto 0 !important;
        border: none !important;
        background-color: transparent !important;
    }
    #booking-form {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 0 !important;
    }
    #booking-form .search-field {
        flex: none !important;
        width: 100% !important;
        border-right: 1px solid rgba(0,0,0,0.15) !important;
        border-bottom: none !important;
        height: 55px !important;
        padding: 6px 6px !important;
    }
    #booking-form .search-field:nth-child(3) {
        border-right: none !important;
    }
    #booking-form .search-field label {
        font-size: 11px;
        margin-bottom: 0;
        display: block;
        width: 100%;
    }
    #booking-form .search-field input,
    #booking-form .search-field select {
        font-size: 16px;
        max-width: 100%;
        width: 100%;
    }
    #booking-form .input-with-icon svg {
        display: none;
    }
    #booking-form #search-btn {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        height: 45px !important;
        font-size: 15px;
        padding: 0 !important;
        margin: 0 !important;
    }
    .custom-dropdown {
        left: auto !important;
        right: -5px !important;
        transform: none !important;
        width: 280px !important;
        max-width: 90vw !important;
    }
    .custom-dropdown::before {
        left: auto !important;
        right: 25px !important;
        transform: none !important;
    }
}

@media screen and (max-width: 400px) {
    #booking-form .search-field label {
        font-size: 10px;
    }
    #booking-form .search-field input {
        font-size: 16px;
    }
    #booking-form .search-field {
        padding: 4px 3px !important;
        height: 50px !important;
    }
}
