  .input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 16px;
}

.input-with-icon input,
.input-with-icon select {
    padding-left: 36px;
}

.autocomplete-list {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    z-index: 9999;
    list-style: none;
    padding: 0;
    margin: 5px 0 0;
}

.autocomplete-list li {
    padding: 10px 12px;
    cursor: pointer;
}

.autocomplete-list li:hover {
    background: #f2f2f2;
}

.select-option {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    width: 100% !important;
}

/* price range */
.price-range-box {
    position: relative;
    padding-left: 38px;
}

.price-range-box .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
}

.price-range-box input[type="range"] {
    width: 100%;
    accent-color: #268dc1;
}

.input-with-icon input, .input-with-icon select {
    margin-top: 0px;
    padding-top: 0px;
    padding-left: 27px;
    background: transparent !important;
}

.input-with-icon i {
    position: relative;
    padding: 0px;
    left: 0px;
    top: 20%;
    transform: translateY(125%);
}

.hero-form-item .form-item {
    display: flex;
    flex-direction: row;
    justify-content: unset;
    align-items: center;
    flex-direction: row;
    gap: 0;
    width: 1257px;
}

.hero-form-item .hero-inner-form input {
    width: 111%;
    border: none;
}

/* date picker */
.flatpickr-calendar {
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-family: inherit;
}

.flatpickr-months {
    border-bottom: 1px solid #eee;
}

.flatpickr-day {
    border-radius: 50%;
    transition: all 0.2s ease;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #000;
    color: #fff;
}

.flatpickr-day:hover {
    background: #f1f1f1;
}

.flatpickr-weekday {
    font-weight: 500;
    color: #777;
}

/* modal */
.modal {
    z-index: 99999 !important;
    position: fixed !important;
}

.modal-backdrop {
    z-index: 99998 !important;
}

.hero {
    position: relative;
    z-index: 1;
}

.modal-body {
    overflow: visible !important;
}

.modal-content {
    overflow: visible !important;
}

.modal-dialog {
    overflow: visible !important;
}

/* MODAL BASE */
.custom-modal {
    border-radius: 10px;
    overflow: visible;
    font-size: 15px;
}

/* HEADER */
.custom-modal-header {
    background: #268dc1;
    border-bottom: none;
}

/* BODY */
.custom-modal-body {
    padding: 24px;
}

/* TABLE */
.custom-summary-table th,
.custom-summary-table td {
    padding: 12px 14px;
    font-size: 15px;
    vertical-align: middle;
}

.custom-summary-table th {
    width: 40%;
    background: #f8f9fa;
    font-weight: 600;
}

/* FORM */
#inquiryForm .form-control {
    font-size: 15px;
    padding: 10px 12px;
}

/* BUTTON — FORCE VISIBILITY */
#inquiryForm button {
    font-size: 16px;
    font-weight: 600;
    position: relative;
    z-index: 999;
    background: #268dc1;
}

/* RESPONSIVE MEDIA QUERIES ONLY */
@media (max-width: 1024px) {
    /* Tablet and below */
    .hero-form-item .form-item {
        flex-direction: column !important; /* stack fields vertically */
        gap: 10px;
        width: 100% !important;
    }

    .hero-form-item .hero-inner-form input,
    .hero-form-item .hero-inner-form select {
        width: 100% !important;
    }

    .price-values {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 768px) {
    /* Mobile */
    .hero-form {
        width: 95%;
        margin: 0 auto; /* Optional: center on mobile */
    }

    .input-with-icon i {
        left: 10px !important;
    }

    .price-range-box .input-icon {
        left: 10px !important;
    }

    #inquiryForm button {
        width: 100% !important;
        font-size: 14px !important;
    }

    .autocomplete-list {
        font-size: 14px;
    }

#stayType option {
    width: 50% !important; /* may work in some browsers, not reliable */
}

}

@media (max-width: 480px) {
    /* Small mobile */
    .hero-form-item .hero-inner-form input,
    .hero-form-item .hero-inner-form select {
        font-size: 14px;
        padding: 5px 42px;
    }
}
