/* =========================
   HERO BASE
========================= */
.rz_hero {
    position: relative;
    height: 38vh;
    min-height: 285px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.rz_hero_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.rz_hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.rz_hero_content {
    /* max-width: 750px; */
    max-width: 430px;
    width: 100%;
    text-align: center;
    margin-top: -70px;
}

.rz_hero_title {
    /* font-size: 42px; */
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.rz_hero_subtitle {
    font-size: 16px;
    color: #E5E7EB;
    margin-bottom:20px;
}

/* =========== HERO SEARCH SECTION =========== */
.rz_hero_search_section {
    margin-top: -110px;
    margin-bottom:50px;
    position: relative;
    z-index: 10;
}

.rz_hero_search_section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============== TABS (CONNECTED TOP) ============== */
.rz_hero_tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: #fff;
    padding: 10px 26px;
    border-radius: 8px 8px 0 0;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.rz_tab {
    padding: 8px 0;
    background: none;
    border: none;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.rz_tab:hover {
    color: #004080;
}

.rz_tab.active {
    color: #004080;
}

.rz_tab.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #004080;
}

.rz_tab i {
    font-size: 13px;
}

.rz_search_card {
    background: #fff;
    border-radius: 8px;
    padding: 24px 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.rz_search_row {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;

}

/* ============= FIELDS ============= */
/*  INPUT GROUP */
.rz_input_group {
    position: relative;
    width: 100%;
}

.rz_label {
    position: absolute;
    top: -7px;
    left: 14px;
    background: #fff;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.rz_label i {
    font-size: 10px;
    color: #9CA3AF;
}

.rz_field {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 16px 14px 10px;
    background: #F9FBFD;
    transition: all 0.25s ease;
    position: relative;
}

.rz_field.full {
    width: 100%;
}

.rz_field input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 13px;
    color: #1F2937;
    font-weight: 600;
}

.rz_field input::placeholder {
    color: #9CA3AF;
}

.rz_field:hover {
    background: #fff;
    border-color: #CBD5E1;
}

.rz_field:focus-within {
    background: #fff;
    border-color: #004080;
    box-shadow: 0 0 0 2px rgba(0,64,128,0.08);
}

.rz_field:focus-within ~ .rz_label {
    color: #004080;
}

.rz_search_btn_wrap {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.rz_search_btn {
    padding: 13px 36px;
    border-radius: 4px;
    background: var(--syt-accent);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: all 0.25s ease;
}

.rz_search_btn:hover {
    background: var(--syt-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(213,87,59,0.25);
}

.rz_search_btn:active {
    transform: scale(0.97);
}

.rz_search_btn i {
    font-size: 12px;
}

/* ===== FLATPICKR ===== */
.flatpickr-calendar {
    z-index: 9999 !important;
}

.rz_search_card,
.rz_field {
    overflow: visible !important;
}

.flatpickr-calendar {
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    font-family: 'Source Sans 3', sans-serif;
}

.flatpickr-day.selected {
    background: #004080 !important;
    color: #fff;
}

/* ============ GUEST FIELD ============ */
.rz_guest_field {
    position: relative;
    cursor: pointer;
}

.rz_guest_dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 260px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    padding: 16px;
    display: none;
    z-index: 1000;
}

.rz_guest_dropdown.active {
    display: block;
}

.rz_guest_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.rz_guest_row:last-child {
    margin-bottom: 0;
}

.rz_guest_row span {
    font-size: 14px;
    color: #1F2937;
    font-weight: 500;
}

.rz_counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rz_counter button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.2s ease;
}

.rz_counter button:hover {
    border-color: #004080;
    color: #004080;
}

.rz_counter span {
    min-width: 22px;
    text-align: center;
    font-weight: 600;
}

.rz_guest_dropdown {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============= SEARCH DROPDOWN ============= */
.rz_search_field {
    position: relative;
}

.rz_search_dropdown {
    position: absolute;
    top: 100%;
    margin-top: 2px;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    max-height: 260px;
    overflow-y: auto;
    padding: 4px 0;
    display: none;
    z-index: 1000;
}

.rz_search_dropdown.active {
    display: block;
}

.rz_search_item {
    padding: 8px 14px;
    margin: 2px 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rz_search_item:hover {
    background: #EEF2F7;
}

.rz_search_item.active {
    background: rgba(0, 64, 128, 0.08);
    color: #004080;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.rz_search_item i {
    font-size: 13px;
    color: #6B7280;
    transition: 0.2s;
}

.rz_search_item.active i {
    color: #004080 
}

.rz_search_text {
    display: flex;
    flex-direction: column;
}

.rz_search_title {
    font-size: 13px;
    font-weight: 600;
    color: #1F2937;
    letter-spacing: 0.2px;
}

.rz_search_item.active .rz_search_title {
    color: #004080 !important;
}

.rz_search_sub {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 1px;
}

.rz_search_item.active .rz_search_sub {
    color: #6B7280 !important;
}

.rz_search_group {
    font-size: 10px;
    font-weight: 600;
    color: #9CA3AF;
    padding: 6px 14px;
    text-transform: uppercase;
}

.rz_search_dropdown::-webkit-scrollbar {
    width: 5px;
}

.rz_search_dropdown::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 10px;
}

.rz_search_dropdown::-webkit-scrollbar-thumb:hover {
    background: #CBD5E1;
}

.rz_search_loader {
    padding: 14px;
    text-align: center;
    font-size: 13px;
    color: #6B7280;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.rz_search_loader i {
    color: #004080;
}

.rz_no_result {
    padding: 14px;
    text-align: center;
    font-size: 13px;
    color: #9CA3AF;
}

.rz_highlight {
    color: #004080;
    font-weight: 700;
}

.rz_clear_btn {
    position: absolute;
    right: 12px;
    cursor: pointer;
    color: #9CA3AF;
    display: none;
    font-size: 13px;
}

.rz_clear_btn:hover {
    color: #1F2937;
}

.rz_icon_box {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.rz_icon_box.type-hotel {
    background: rgba(0, 64, 128, 0.08);
    color: #004080;
}

.rz_icon_box.type-city {
    background: rgba(37, 142, 166, 0.1);
    color: #258EA6;
}

.rz_icon_box.type-destination {
    background: rgba(213, 87, 59, 0.1);
    color: #D5573B;
}

.rz_icon_box.type-default {
    background: #F1F5F9;
    color: #6B7280;
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 768px) {

    .rz_hero {
        height: auto;
        padding: 80px 0 60px;
    }

    .rz_hero_title {
        font-size: 28px;
    }

     .rz_search_row {
        flex-direction: column;
    }

    .rz_hero_tabs {
        gap: 15px;
        overflow-x: auto;
    }

}