#short_stay_location {
    width: 100%;
}
.short-stay-search-results .rh_section__properties{
    padding-bottom: 40px;
    /* max-width: 1200px;
    margin: 0 auto; */
}
.search-stay-heading{
    color:#000;
}
.rh_wrap--fluidwidth{
    background: #fff;
}
.flatpickr-day{
    line-height: 22px!important;
}
.short-stay-search-form-container.rh_mod_sfoi_wrapper{
    min-height: 430px!important;
}
a.short-stay-btn:hover svg,
a.short-stay-btn:hover{
    color: #e2505c;
    fill: #e2505c;
}
.quick-short-stay-cta{
    font-size: 22px;
}

/* Search Results Page Styles */
.short-stay-search-results .results-header {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.short-stay-search-results .results-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.short-stay-search-results .results-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
}

.search-criteria {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.search-criteria .criteria {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 16px;
    border-radius: 24px;
    font-size: 14px;
    color: #333;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.search-criteria .criteria:hover {
    border-color: #003580;
    background: #f0f5ff;
    box-shadow: 0 2px 6px rgba(0, 53, 128, 0.1);
}

.search-criteria .criteria-icon {
    width: 16px;
    height: 16px;
    fill: #003580;
    flex-shrink: 0;
}

.search-criteria .criteria span {
    font-weight: 500;
    color: #333;
}

.search-criteria .criteria:first-child {
    background: #003580;
    color: #fff;
    border-color: #003580;
}

.search-criteria .criteria:first-child .criteria-icon {
    fill: #fff;
}

.search-criteria .criteria:first-child span {
    color: #fff;
}

.search-criteria .criteria:first-child:hover {
    background: #002147;
    border-color: #002147;
}

/* Responsive Design */
@media (max-width: 768px) {
   
    .short-stay-results-section article.rh_prop_card{
        display: block!important;
        padding-bottom: 0!important;
    }
    .short-stay-results-section .rh_prop_card .rh_prop_card__thumbnail img{
        min-height: 233px;
    }
    .short-stay-results-section .rh_prop_card .rh_prop_card__thumbnail{
        min-height: 233px;
    }
    .short-stay-search-form-container .rh_mod_sfoi-container {
        margin-bottom: 100px!important;
    }
    .short-stay-search-results .results-header h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .search-criteria {
        gap: 8px;
    }

    .search-criteria .criteria {
        padding: 8px 12px;
        font-size: 13px;
    }

    .search-criteria .criteria-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .short-stay-search-results .results-header {
        padding: 30px 0;
        margin-bottom: 30px;
    }

    .short-stay-search-results .results-header h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .search-criteria {
        gap: 6px;
    }

    .search-criteria .criteria {
        padding: 6px 10px;
        font-size: 12px;
        flex: 1 1 calc(50% - 3px);
    }

    .search-criteria .criteria:first-child {
        flex: 1 1 100%;
    }

    .search-criteria .criteria-icon {
        width: 12px;
        height: 12px;
    }
}

/* Short-Stay Search Form - Booking.com Style */
.short-stay-search-form {
    width: 100%;
}

.search-form-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.97);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
}

.form-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
    position: relative;
}

.location-field {
    flex: 1.4;
    min-width: 260px;
}

.date-field {
    flex: 1.2;
    min-width: 240px;
}

.guests-field {
    flex: 0.9;
    min-width: 180px;
}

.field-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.field-icon {
    width: 18px;
    height: 18px;
    color: #003580;
    flex-shrink: 0;
}

.field-header label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    margin: 0;
    cursor: pointer;
}

.field-input {
    padding: 11px 14px;
    font-size: 14px;
    line-height: 1.42857;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    vertical-align: middle;
}

.field-input:hover:not(:focus) {
    border-color: #bbb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.field-input:focus {
    outline: none;
    border-color: #003580;
    box-shadow: 0 0 0 4px rgba(0, 53, 128, 0.08);
    background-color: #fafbfc;
}

.field-input::placeholder {
    color: #999;
    font-size: 13px;
}

.field-select {
    cursor: pointer;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23003580' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.field-select:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23003580' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.field-select option {
    padding: 10px;
    background-color: #fff;
    color: #333;
}

/* Search Button */
.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 11px 32px;
    background-color: #003580;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 53, 128, 0.2);
    min-height: 44px;
    white-space: nowrap;
    font-family: inherit;
}

.search-button:hover {
    background-color: #002a5c;
    box-shadow: 0 4px 12px rgba(0, 53, 128, 0.3);
    transform: translateY(-1px);
}

.search-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 53, 128, 0.2);
}

.search-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.search-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.search-text {
    display: inline;
}

/* Autocomplete Styling */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    list-style: none;
    margin: 4px 0 0 0;
    padding: 0;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    display: none;
    z-index: 999;
}

.autocomplete-list.active {
    display: block;
}

.suggestion-item {
    padding: 12px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
    border-left: 3px solid #003580;
    padding-left: 11px;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    flex: 1;
}

.suggestion-meta {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    flex: 1;
}

.no-results {
    padding: 20px 14px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Guests Card Popup Styling */
.guests-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    padding-right: 14px !important;
}

.guests-trigger:hover {
    border-color: #003580;
}

.dropdown-arrow {
    width: 18px;
    height: 18px;
    color: #003580;
    transition: transform 0.3s ease;
    margin-left: 8px;
    flex-shrink: 0;
}

.guests-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Guests Card Popup */
.guests-card-popup {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: -1px;
    display: none;
    overflow: hidden;
}

.guests-card-popup.open {
    display: block;
    animation: slideInUp 0.25s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guests-card {
    padding: 20px;
    max-width: 340px;
}

.guest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.guest-item:last-of-type:not(.guest-checkbox-item) {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 4px;
}

.guest-checkbox-item {
    border-bottom: none;
    padding-bottom: 16px;
    padding-top: 8px;
}

.guest-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guest-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.guest-description {
    font-size: 12px;
    color: #999;
}

.guest-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.counter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    color: #003580;
}

.counter-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.counter-btn:hover:not(:disabled) {
    border-color: #003580;
    background-color: #f0f7ff;
}

.counter-btn:active:not(:disabled) {
    background-color: #e8f1f8;
}

.counter-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.counter-value {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Checkbox Styling */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #003580;
    border-color: #003580;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-wrapper:hover .checkbox-custom {
    border-color: #003580;
}

/* Done Button */
.guests-card-done-btn {
    width: 100%;
    padding: 12px 16px;
    background-color: #003580;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 12px;
    font-family: inherit;
}

.guests-card-done-btn:hover {
    background-color: #002a5c;
    box-shadow: 0 2px 8px rgba(0, 53, 128, 0.2);
}

.guests-card-done-btn:active {
    transform: translateY(1px);
}

/* Flatpickr Calendar Customization (Booking.com Style) */
.flatpickr-calendar {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    font-family: inherit;
    width: auto;
}

.flatpickr-calendar.open {
    display: block;
    z-index: 1000;
}

.flatpickr-calendar.animate.open {
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flatpickr-months {
    padding: 14px;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    cursor: pointer;
    color: #003580;
    padding: 5px;
    fill: #003580;
    transition: all 0.2s ease;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background-color: #f0f0f0;
    border-radius: 4px;
    color: #002a5c;
    fill: #002a5c;
}

.flatpickr-current-month {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    height: 34px;
}

.flatpickr-current-month input.cur-year {
    font-weight: 600;
    color: #333;
}

.flatpickr-current-month input.cur-year:focus {
    background-color: #f0f7ff;
    color: #003580;
}

.flatpickr-weekdays {
    background: transparent;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.flatpickr-weekday {
    font-weight: 600;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flatpickr-days {
    padding: 8px;
}

.flatpickr-day {
    border-radius: 4px;
    color: #333;
    font-size: 13px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    width: 14.285%;
}

.flatpickr-day:hover:not(.disabled) {
    background-color: #e8f1f8;
    color: #003580;
}

.flatpickr-day.selected {
    background-color: #003580;
    color: #fff;
    font-weight: 600;
}

.flatpickr-day.selected:hover {
    background-color: #002a5c;
}

.flatpickr-day.inRange {
    background-color: #dce9f5;
    color: #003580;
    border-radius: 0;
}

.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background-color: #003580;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
}

.flatpickr-day.today {
    border: 2px solid #003580;
    background-color: transparent;
    color: #003580;
    font-weight: 600;
}

.flatpickr-day.today:hover {
    background-color: #f0f7ff;
}

.flatpickr-day.disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #ccc;
    cursor: not-allowed;
    background-color: transparent;
}

.flatpickr-day.disabled:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover {
    background-color: transparent;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .search-form-wrapper {
        gap: 10px;
        padding: 20px;
    }
    
    .form-field {
        min-width: 160px;
    }
    
    .location-field {
        flex: 1.2;
        min-width: 200px;
    }
    
    .field-input {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .search-form-wrapper {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .form-field {
        flex: 1;
        min-width: 160px;
    }
    
    .location-field {
        flex: 1;
        min-width: 160px;
    }
    
    .date-field {
        flex: 1;
        min-width: 160px;
    }
    
    .guests-field {
        flex: 0.6;
        min-width: 140px;
    }
    
    .search-button {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .search-form-wrapper {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .form-field {
        width: 100%;
        min-width: 100%;
        flex: 1;
    }
    
    .location-field {
        flex: 1;
        min-width: 100%;
    }
    
    .date-field {
        flex: 1;
        min-width: 100%;
    }
    
    .guests-field {
        flex: 1;
        min-width: 100%;
    }
    
    .field-input {
        padding: 12px 14px;
        font-size: 16px;
    }
    
    .search-button {
        width: 100%;
        padding: 13px 24px;
        font-size: 16px;
        min-height: 48px;
    }
    
    .search-text {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .search-form-wrapper {
        padding: 12px;
        gap: 10px;
    }
    
    .field-header {
        gap: 6px;
        margin-bottom: 6px;
    }
    
    .field-icon {
        width: 16px;
        height: 16px;
    }
    
    .field-header label {
        font-size: 12px;
    }
    
    .field-input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .search-button {
        padding: 12px 20px;
        font-size: 14px;
        min-height: 44px;
    }
}