
/************************************************************************
       Date Range Filter
************************************************************************/

.date-range-widget {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light, #f5f5f5);
    border-radius: 8px;
}

.date-range-widget .widget-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark, #333);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary-color, #29489a);
    padding-bottom: 0.5rem;
    text-align: center;
}

.date-input-group {
    margin-bottom: 1rem;
    text-align: center;
}

.date-input-group label {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark, #333);
    text-align: center;
}

.date-range-input {
    text-align: center;
}

.date-range-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-light, #e0e0e0);
    border-radius: 6px;
    font-size: 1.4rem;
    background: var(--bg-white, #fff);
    color: var(--text-dark, #333);
    cursor: pointer;
    transition: all 0.3s;
}

.date-range-input:focus {
    outline: none;
    border-color: var(--primary-color, #29489a);
    box-shadow: 0 0 0 3px rgba(41, 72, 154, 0.1);
}

.date-range-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.date-filter-button {
    flex: 1;
    padding: 1rem 1.25rem;
    background: var(--primary-color, #29489a);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-filter-button:hover {
    background: var(--primary-hover, #1e3570);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(41, 72, 154, 0.3);
}

.clear-date-button {
    padding: 1rem 1.25rem;
    background: #ffffff;
    color: #e53e3e;
    border: 1px solid #e53e3e;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.15);
    cursor: pointer;
}

.clear-date-button.hidden,
.clear-date-button[style*="display: none"] {
    display: none !important;
}

.clear-date-button:hover, .clear-date-button span:hover {
    background: #e53e3e;
    color: #fff !important;
    /* box-shadow: 0 4px 12px rgba(229, 62, 62, 0.25); */
    /* transform: translateY(-1px); */
}

.clear-date-button .clear-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 20px;
    border-radius: 50%;
    color: #e53e3e;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.clear-date-button .clear-icon-circle i {
    font-size: 0.9rem;
    line-height: 1;
}

/* Flatpickr Calendar Styling */
.flatpickr-calendar {
    font-family: inherit;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color, #ddd);
}

/* Fix font-size for flatpickr month dropdown */
.flatpickr-current-month {
    font-size: 135% !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--primary-color, #29489a);
    border-color: var(--primary-color, #29489a);
    color: white;
}

.flatpickr-day.inRange {
    background: rgba(41, 72, 154, 0.1);
    border-color: transparent;
}

.flatpickr-day:hover {
    background: rgba(41, 72, 154, 0.2);
    border-color: var(--primary-color, #29489a);
}

/************************************************************************
       Search BAR
************************************************************************/

.search-bar , #search_results {
    padding: 0 6.5rem;
}
.search-bar{
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.search-bar > div:nth-of-type(1){
    flex-basis: 20%;
}
.search-bar > div:nth-of-type(2){
    display:flex;
    align-items: center;
}

.search-booking-holder{
    flex-basis: 40rem;
    position: relative;
}

.autosuggest-location {
    display:none;
    position: absolute;
    top: 43px;
    width: calc(100% + 1px);
    min-height: 15rem;
    max-height: 40rem;
    overflow: auto;
    background: white;
    border: 1px solid #8b8b8b;
    z-index: 66;
    left: -1px;
    border-radius: 0 0 .5rem .5rem;
    padding: 0 1.5rem 3rem 1.5rem;
}
.autosuggest-location > div:hover {
    background:var(--border-color);
}

#booking_search {
    height: 4.5rem;
    border: 1px solid var(--border-color);
    border-radius:.7rem;
    width: 100%;
    padding: 0 1.5rem;
    font-size: 1.8rem;
    color: var(--gray-color);
    box-shadow: var(--box-shadow);
    font-size: 1.6rem;
}


/* Destination dropdown */

.destinations {
    width: 25rem;
    position: relative;
}

.destinations > button {
    width: 100%;
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.destinations .holder-results {
    background-color: var(--white-color);
    padding: 2rem 0.5rem;
    position: absolute;
    width: 100%;
    top: 3.3rem;
    color: var(--text-gray-color);
    z-index: 55;
    font-size: 1.5rem;
    border:1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

.destinations .holder-results .scroll {
    max-height: 30rem;
    overflow:auto;
}




#booking_date_start, #booking_date_end {
    background: transparent;
    border: none;
    padding:  1rem 0 .8rem 4rem;
    color: var(--primary-color);
    text-align:center;
    font-size: 1.4rem;
    width: 13rem;
}

#booking_date_start::placeholder {
    color:var(--primary-color);
}

#booking_date_end {
    padding-left: .5rem;
    width: 11rem;
    text-align: left;
}
.calendar-icon { 
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-color);
}

.clear-button {
    display: inline-block;
    margin: 1rem 1rem 1rem 0;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.4rem;
}


#search_results span {
    display: inline-block;
    margin: 1rem 1rem 1rem 0;
    padding:.5rem 1rem;
    border:1px solid var(--primary-color);
    color:var(--primary-color);
    font-size: 1.4rem;
}

#search_results span button i {
    color:var(--primary-color);
}
