/* ==========================================================================
   FORM TÌM VÉ TRANG CHỦ (HOME BOOKING SEARCH WIDGET)
   ========================================================================== */

.home-booking-heading {
    color: var(--text-main);
    font-weight: 900;
    letter-spacing: 0.01em;
}

.home-booking-subheading {
    color: var(--text-muted);
    font-weight: 500;
}

.home-booking-form {
    border-color: var(--border-color);
    background: var(--bg-card);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: box-shadow .25s ease, border-color .25s ease, transform .2s ease;
}

.home-booking-form:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 14px 32px var(--brand-primary-shadow), 0 0 0 2px var(--brand-primary-light);
}

.home-booking-form label {
    color: #475569;
}

.home-booking-form .home-booking-control {
    height: 3rem;
    min-height: 3rem;
    max-height: 3rem;
    line-height: 1;
    border-color: #CBD5E1;
    background: #FFFFFF;
    color: #1E293B;
    transition: border-color .2s ease, box-shadow .2s ease, transform .12s ease, background-color .2s ease;
}

.home-booking-form .home-booking-control::placeholder {
    color: var(--text-light);
}

.home-booking-form input[type="date"].home-booking-control,
.home-booking-form input[type="text"].home-booking-control,
.home-booking-form .flatpickr-input.home-booking-control {
    display: block;
    width: 100%;
    height: 3rem;
    min-height: 3rem;
    line-height: normal;
    padding-top: 0;
    padding-bottom: 0;
}

.home-booking-form input[type="date"].home-booking-control::-webkit-date-and-time-value {
    text-align: left;
}

.flatpickr-calendar {
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 28px var(--bt-navy-soft);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background: var(--bt-orange);
    border-color: var(--bt-orange);
}

.flatpickr-day.today {
    border-color: var(--bt-orange-hover);
}

.home-booking-form .home-booking-control:focus {
    border-color: var(--bt-orange);
    box-shadow: 0 0 0 2px var(--bt-orange-light);
    transform: translateY(-1px);
}

.home-booking-form .home-booking-control:active {
    transform: translateY(1px) scale(0.995);
}

.btn-pd-submit,
.home-booking-form .home-booking-submit {
    padding-top: 0;
    padding-bottom: 0;
    background: linear-gradient(135deg, var(--bt-orange) 0%, var(--bt-orange-hover) 100%) !important;
    border-color: var(--bt-orange-hover);
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px var(--bt-orange-shadow);
    transition: transform .14s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn-pd-submit:hover,
.home-booking-form .home-booking-submit:hover {
    background: var(--bt-orange-hover) !important;
    border-color: var(--bt-orange-active);
    box-shadow: 0 8px 20px var(--bt-orange-shadow);
    transform: translateY(-2px);
}

.btn-pd-submit:active,
.home-booking-form .home-booking-submit:active {
    transform: translateY(1px) scale(0.98);
}

/* Select2 Custom Design Theme */
.select2-container--custom,
.select2-container {
    width: 100% !important;
}

.select2-container--custom .select2-selection--single,
.select2-container--default .select2-selection--single {
    height: 3rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid #CBD5E1 !important;
    background-color: rgba(248, 250, 252, 0.8) !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 0.75rem !important;
    padding-right: 2.25rem !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}

.select2-container--custom .select2-selection--single:hover,
.select2-container--default .select2-selection--single:hover {
    background-color: #FFFFFF !important;
    border-color: #94A3B8 !important;
}

.select2-container--custom.select2-container--open .select2-selection--single,
.select2-container--custom.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #FAB814 !important;
    box-shadow: 0 0 0 3px rgba(250, 184, 20, 0.2) !important;
    background-color: #FFFFFF !important;
}

.select2-container--custom .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #0F172A !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    line-height: 3rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.select2-container .select2-selection__arrow,
.select2-container--custom .select2-selection__arrow,
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    width: 2.2rem !important;
    right: 0.4rem !important;
    top: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    pointer-events: none !important;
    position: absolute !important;
}

/* Hide ugly default CSS triangle b tag globally */
.select2-container .select2-selection__arrow b,
.select2-container--custom .select2-selection__arrow b,
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

/* Render single clean RemixIcon arrow */
.select2-container .select2-selection__arrow::after,
.select2-container--custom .select2-selection__arrow::after,
.select2-container--default .select2-selection--single .select2-selection__arrow::after {
    content: "\ea4e" !important;
    font-family: "remixicon" !important;
    font-size: 1.15rem !important;
    line-height: 1 !important;
    color: #94A3B8 !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease !important;
    display: inline-block !important;
}

.select2-container.select2-container--open .select2-selection__arrow::after,
.select2-container--custom.select2-container--open .select2-selection__arrow::after,
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow::after {
    transform: rotate(180deg) !important;
    color: #FAB814 !important;
}

.select2-dropdown.select2-dropdown--custom {
    border-radius: 1rem !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14) !important;
    overflow: hidden !important;
    margin-top: 4px !important;
    background: #FFFFFF !important;
    z-index: 9999 !important;
}

.select2-dropdown--custom .select2-search--dropdown {
    padding: 0.6rem !important;
    background-color: #F8FAFC !important;
    border-bottom: 1px solid #F1F5F9 !important;
}

.select2-dropdown--custom .select2-search__field {
    border-radius: 0.6rem !important;
    border: 1px solid #CBD5E1 !important;
    padding: 0.5rem 0.75rem !important;
    outline: none !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #0F172A !important;
    background-color: #FFFFFF !important;
}

.select2-dropdown--custom .select2-search__field:focus {
    border-color: #FAB814 !important;
    box-shadow: 0 0 0 2px rgba(250, 184, 20, 0.15) !important;
}

.select2-dropdown--custom .select2-results__option {
    padding: 0.65rem 0.9rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    transition: all 0.15s ease !important;
}

.select2-dropdown--custom .select2-results__option--highlighted[aria-selected] {
    background-color: #FFFBEB !important;
    color: #D97706 !important;
    padding-left: 1.1rem !important;
}

.select2-dropdown--custom .select2-results__option[aria-selected=true] {
    background-color: #FEF3C7 !important;
    color: #B45309 !important;
    font-weight: 800 !important;
}
