/* FAQ form — destination dropdown (niceSelect, no search) */
.call-to-action .reservation-main,
.call-to-action .reservation-main .row,
.call-to-action .reservation-main form,
.call-to-action .reservation-main [class*="col-"] {
    overflow: visible;
}

.faq-destination-field.form-group {
    display: block;
}

.faq-destination-field {
    position: relative;
}

.faq-destination-field .input-box {
    position: relative;
}

.faq-destination-field .nice-select {
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    clear: both;
    color: #444;
    display: block;
    float: none;
    font-size: 15px;
    font-weight: 300;
    height: 50px;
    line-height: 26px;
    padding: 12px 40px 12px 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.faq-destination-field .nice-select:hover {
    border-color: #d8d8d8;
}

.faq-destination-field .nice-select:active,
.faq-destination-field .nice-select.open,
.faq-destination-field .nice-select:focus {
    border-color: #029e9d;
    box-shadow: 0 0 0 0.2rem rgba(2, 158, 157, 0.12);
}

.faq-destination-field .nice-select.is-invalid {
    border-color: #dc3545;
}

.faq-destination-field .nice-select:after {
    border-bottom: 2px solid #999;
    border-right: 2px solid #999;
    height: 8px;
    margin-top: -5px;
    right: 18px;
    transform: rotate(45deg);
    transform-origin: 66% 66%;
    width: 8px;
}

.faq-destination-field .nice-select.open:after {
    margin-top: -3px;
    transform: rotate(-135deg);
}

/* Closed: keep plugin hide behavior (opacity 0, no pointer events) */
.faq-destination-field .nice-select .list {
    border-radius: 10px;
    left: 0 !important;
    margin-top: 6px;
    right: 0 !important;
    width: 100% !important;
    z-index: 1060;
}

/* Open: show list with scroll */
.faq-destination-field .nice-select.open .list {
    border: 1px solid #e8e8e8;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    max-height: min(260px, 45vh);
    opacity: 1;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0;
    pointer-events: auto;
    transform: scale(1) translateY(0);
}

.faq-destination-field .nice-select .option {
    color: #444;
    font-size: 14px;
    line-height: 1.4;
    min-height: 42px;
    padding: 10px 18px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.faq-destination-field .nice-select .option:hover,
.faq-destination-field .nice-select .option.focus,
.faq-destination-field .nice-select .option.selected.focus {
    background-color: rgba(2, 158, 157, 0.1);
    color: #029e9d;
}

.faq-destination-field .nice-select .option.selected {
    font-weight: 500;
}

.faq-destination-field .nice-select.open {
    z-index: 20;
}

.faq-destination-field .nice-select.open .list::-webkit-scrollbar {
    width: 6px;
}

.faq-destination-field .nice-select.open .list::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.faq-destination-field .nice-select.open .list::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 10px;
}

.faq-destination-field .nice-select.open .list::-webkit-scrollbar-thumb:hover {
    background: #029e9d;
}

@media (max-width: 767px) {
    .faq-destination-field .nice-select.open .list {
        max-height: min(220px, 40vh);
    }

    .faq-destination-field .nice-select {
        font-size: 16px;
    }
}
