/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ============================================================
   VIKBOOKING Widget horizontal search (FINAL: VISIBLE NAV + WORKING HOVER + CAPSULE)
   ============================================================ */

/* --- 0. SAFETY & LAYOUT --- */
.vbo-horizsearch-humanformat-wrap, 
.vbmodhorsearch-hum-dates-wrap,
.vbmodhorsearch-hum-guests-wrap {
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

/* --- 1. GLOBAL FONTS --- */
.vbo-horizsearch-humanformat-wrap, 
.vbo-horizsearch-dpicker-cont, 
.vbmodhorsearch-hum-guests-modifier,
.ui-datepicker,
.vbsearchinputmodhors, 
.vbo-horizsearch-showcalendar, 
.vbmodhorsearch-hum-guests-count, 
.ui-datepicker th, 
.ui-datepicker td a, 
.ui-datepicker td span,
.ui-datepicker-title, 
.vbo-step-val {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    font-weight: inherit; 
}

/* --- 2. SEARCH BAR --- */
.vbo-horizsearch-humanformat-wrap form { 
    background: #fff; padding: 20px; border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    position: relative; z-index: 100; 
    display: flex !important; gap: 15px; 
    align-items: flex-end !important; 
    flex-wrap: nowrap !important; 
}
.vbmodhorsearchmaindiv.vbo-popup-active-parent { z-index: 2147483641 !important; position: relative !important; }

/* Column Wrappers */
.vbmodhorsearch-hum-dates-wrap { display: flex; flex: 2; gap: 10px; min-width: auto !important; }
.vbmodhorsearch-humcalcont { flex: 1; position: relative; }
.vbmodhorsearch-hum-guests-wrap { 
    flex: 1.5; position: relative; min-width: auto !important; 
    display: flex !important; flex-direction: column !important; justify-content: flex-end !important;
}

/* Inputs */
.vbo-horizsearch-showcalendar, 
.vbmodhorsearch-hum-guests-count { 
    border: 1px solid #e0e0e0 !important; background: #fff !important; border-radius: 10px !important; 
    padding: 10px 15px !important; min-height: 60px !important; display: flex !important; align-items: center !important; 
    width: 100% !important; cursor: pointer; transition: all 0.2s ease; 
    white-space: nowrap; overflow: hidden; 
}
.vbo-horizsearch-showcalendar:hover, .vbmodhorsearch-hum-guests-count:hover { border-color: #333 !important; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

/* Text */
.vbmodhorsearch-hum-guests-count { font-size: 15px !important; font-weight: 700 !important; color: #222 !important; text-transform: capitalize !important; }
.vbo-horizsearch-period-mday { font-size: 24px !important; font-weight: 800 !important; margin-right: 10px !important; color: #222; line-height: 1; }
.vbo-horizsearch-humanformat-wrap label { font-size: 11px !important; font-weight: 700 !important; text-transform: uppercase; color: #888; margin-bottom: 6px !important; display: block; letter-spacing: 0.5px; line-height: 1 !important; }

/* Search Button */
.vbmodhorsearchbookdiv { margin: 0 !important; flex: 0 0 auto !important; min-width: 140px; }
.vbsearchinputmodhors { background: #222 !important; color: #fff !important; border-radius: 10px !important; height: 60px !important; padding: 0 20px !important; width: 100% !important; text-transform: uppercase; font-weight: 800 !important; border: none !important; cursor: pointer; letter-spacing: 1px; transition: transform 0.2s; font-size: 14px !important; }
.vbsearchinputmodhors:hover { background: #000 !important; transform: translateY(-2px); }
.vbmodhorsearchtotnights, .vbo-horizsearch-numnights-inner, .vbo-horizsearch-showcalendar i, .vbo-horizsearch-period-year, .ui-datepicker-row-break { display: none !important; }


/* --- 3. CALENDAR WRAPPER (FLAT) --- */
.vbo-horizsearch-dpicker-to { display: none !important; }

body form .vbo-horizsearch-dpicker-cont { 
    position: absolute !important; top: 100% !important; left: 0 !important; margin-top: 20px !important; 
    width: 680px !important; min-width: 680px !important; max-width: 90vw !important; 
    z-index: 99999 !important; background: #fff !important; 
    box-shadow: none !important; /* Flat */
    border: 1px solid #f0f0f0 !important; 
    border-radius: 16px !important; 
    padding: 20px !important; display: none; overflow: visible !important; 
}

/* Remove Inner Shadows & Borders */
body .vbo-horizsearch-dpicker-cont .ui-datepicker-inline, 
body .vbo-horizsearch-dpicker-cont .ui-datepicker,
body .vbo-horizsearch-dpicker-cont .ui-datepicker-multi { 
    width: 100% !important; display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; 
    border: none !important; padding: 0 !important; background: #fff !important;
    box-shadow: none !important; 
}

body .vbo-horizsearch-dpicker-cont .ui-datepicker-group { flex: 0 0 50% !important; width: 50% !important; float: none !important; padding: 15px !important; box-sizing: border-box !important; }
.ui-datepicker-group-first { border-right: 1px solid #f5f5f5 !important; }
.ui-datepicker-group-last  { padding-left: 15px !important; }

.ui-datepicker-header { 
    background: transparent !important; border: none !important; border-bottom: 1px solid #f5f5f5 !important; 
    padding: 15px 0 !important; margin-bottom: 10px; position: relative; 
}
.ui-datepicker-title { font-size: 18px; font-weight: 800; color: #222; }
.ui-datepicker th { color: #999; font-weight: 700; font-size: 12px; text-transform: uppercase; padding-bottom: 10px; }


/* --- 4. ARROW BUTTONS (The Nuclear Fix) --- */

/* STEP 1: KILL THE GHOST SPAN */
/* We target the span inside the button specifically */
.vbo-horizsearch-dpicker-cont .ui-datepicker-header .ui-datepicker-prev span,
.vbo-horizsearch-dpicker-cont .ui-datepicker-header .ui-datepicker-next span {
    display: none !important; /* Force it to vanish */
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* STEP 2: RESET THE BUTTON CONTAINER */
.vbo-horizsearch-dpicker-cont .ui-datepicker-header .ui-datepicker-prev,
.vbo-horizsearch-dpicker-cont .ui-datepicker-header .ui-datepicker-next {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 99999 !important; /* Maximum layer height */
    
    /* Flexbox to center our new icon */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Reset text styles so our icon inherits correctly */
    text-indent: 0 !important;
    color: #333 !important; /* Dark grey color */
}

/* Position */
.vbo-horizsearch-dpicker-cont .ui-datepicker-header .ui-datepicker-prev { left: 0 !important; }
.vbo-horizsearch-dpicker-cont .ui-datepicker-header .ui-datepicker-next { right: 0 !important; }

/* STEP 3: INSERT THE NEW ICON */
/* We use ::before instead of ::after to ensure it sits 'first' */
.vbo-horizsearch-dpicker-cont .ui-datepicker-header .ui-datepicker-prev::before {
    content: "\276E" !important; /* Heavy Left Angle Quote (❮) */
    font-family: sans-serif !important;
    font-size: 24px !important;
    font-weight: bold !important;
    color: #333 !important;
    display: block !important;
    line-height: 1 !important;
}

.vbo-horizsearch-dpicker-cont .ui-datepicker-header .ui-datepicker-next::before {
    content: "\276F" !important; /* Heavy Right Angle Quote (❯) */
    font-family: sans-serif !important;
    font-size: 24px !important;
    font-weight: bold !important;
    color: #333 !important;
    display: block !important;
    line-height: 1 !important;
}

/* --- 5. DATE CELLS: THE THIN CONNECTOR FIX --- */

/* [1] Force Separate Table */
.vbo-horizsearch-dpicker-cont .ui-datepicker-calendar { 
    width: 100% !important; display: table !important; 
    border-collapse: separate !important; 
    border-spacing: 0 !important; 
    margin-top: 10px !important; 
    background: transparent !important; 
}

/* [2] The "Thin Strip" (TD) */
.vbo-horizsearch-dpicker-cont .ui-datepicker td { 
    padding: 6px 0 !important; /* Makes strip 28px tall (40-12) */
    background-clip: content-box !important; 
    vertical-align: middle !important; height: 40px !important; 
    border-radius: 0 !important; 
    overflow: visible !important; position: relative !important;
}

/* [3] The Circle (A) - 36px (Taller than 28px Strip) */
.vbo-horizsearch-dpicker-cont .ui-datepicker td span, 
.vbo-horizsearch-dpicker-cont .ui-datepicker td a { 
    display: flex !important; justify-content: center; align-items: center; 
    width: 36px !important; height: 36px !important; 
    border-radius: 50% !important; 
    margin: 0 auto !important; 
    background: transparent !important; color: #333 !important; 
    font-weight: 600 !important; font-size: 15px; border: none !important; 
    position: relative !important; z-index: 20 !important; 
    transition: transform 0.2s ease, background 0.2s; 
    box-sizing: border-box !important;
}

/* Hover Effect - [RESTORED] */
.ui-datepicker td:not(.ui-state-active):not(.ui-datepicker-current-day):hover a { 
    background: #e0e0e0 !important; color: #000 !important; 
    transform: scale(1.1) !important; font-weight: 800 !important; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
}

/* Active State (Black Circle) */
.vbo-horizsearch-dpicker-cont .ui-datepicker td.ui-datepicker-current-day a,
.vbo-horizsearch-dpicker-cont .ui-datepicker td.ui-state-active a,
.vbo-horizsearch-dpicker-cont .ui-datepicker td.ui-state-highlight a,
.vbo-horizsearch-dpicker-cont .ui-datepicker td.ui-state-hover a {
    background: #222 !important; 
    color: #fff !important; 
    transform: scale(1.5) !important;
    
    /* 4px White Mask cuts the corners */
    border: 3px solid #fff !important; 
    
    opacity: 1 !important; 
}

/* Today Indicator */
.ui-datepicker td.ui-datepicker-today a { box-shadow: inset 0 0 0 1px #ccc !important; background: transparent !important; font-weight: 700 !important; color: #333 !important; }
.ui-datepicker td.ui-datepicker-today:hover a { background: #e0e0e0 !important; box-shadow: none !important; color: #000 !important; }
.ui-datepicker td.ui-datepicker-today.ui-datepicker-current-day a,
.ui-datepicker td.ui-datepicker-today.ui-state-active a { 
    background: #222 !important; color: #fff !important; box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important; 
}


/* --- 6. MOBILE & GUEST MODIFIER --- */
body .vbmodhorsearch-hum-guests-modifier { background: #fff !important; border-radius: 16px !important; box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important; padding: 25px !important; width: 460px !important; max-width: 90vw !important; border: 1px solid #f0f0f0 !important; z-index: 99999 !important; position: absolute !important; top: 100% !important; left: 0; margin-top: 15px; display: none; }
select.vbo-stepper-select { display: none !important; visibility: hidden !important; width: 0 !important; height: 0 !important; opacity: 0 !important; position: absolute !important; }
.vbo-stepper-cont { display: flex !important; justify-content: space-between !important; align-items: center !important; min-height: 50px !important; width: 100% !important; padding: 10px 0 !important; border-bottom: 1px solid #f5f5f5 !important; }
.vbo-stepper-cont:last-child { border-bottom: none !important; }
.vbo-stepper-wrapper { display: flex !important; align-items: center !important; background: #fff; padding: 0; gap: 12px !important; flex-shrink: 0 !important; }
.vbo-step-btn { width: 40px !important; height: 40px !important; min-width: 40px !important; border-radius: 50% !important; border: 1px solid #e0e0e0 !important; background: #fff !important; color: #222 !important; font-size: 22px !important; font-weight: 400 !important; display: flex !important; justify-content: center; align-items: center !important; cursor: pointer !important; padding: 0 !important; line-height: 1 !important; flex-shrink: 0 !important; user-select: none; transition: all 0.2s; }
.vbo-step-btn:hover { border-color: #222 !important; background: #222 !important; color: #fff !important; }
.vbo-step-val { font-weight: 800; font-size: 18px; min-width: 30px; text-align: center; color: #222; }
.vbo-custom-label, .horsanumlb, .horscnumlb { display: block !important; font-size: 15px !important; font-weight: 700 !important; color: #222 !important; margin-bottom: 0 !important; margin-right: 10px; white-space: normal !important; flex-grow: 1; }
.vbmoreroomscontmod label, .vbmoreroomscontmod .vbo-custom-label, .vbmoreroomscontmod .horsanumlb, .vbmoreroomscontmod .horscnumlb { display: none !important; }
.vbo-popup-done-wrap { margin-top: 15px !important; padding-top: 15px !important; border-top: 1px solid #eee !important; text-align: center !important; }
.vbo-popup-done-btn { display: block !important; width: 100% !important; background: #222 !important; color: #fff !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 1px !important; border: none !important; padding: 14px !important; border-radius: 10px !important; cursor: pointer !important; }
.vbo-popup-done-btn:hover { background: #000 !important; transform: translateY(-2px); }
.vbo-cal-close-btn { position: absolute !important; top: -15px !important; right: -15px !important; width: 32px !important; height: 32px !important; background: #333 !important; color: #fff !important; border-radius: 50% !important; text-align: center !important; line-height: 32px !important; font-size: 20px !important; cursor: pointer !important; z-index: 99999999 !important; box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important; transition: transform 0.2s !important; display: block !important; }
.vbo-cal-close-btn:hover { transform: scale(1.1); background: #000 !important; }
.vbo-popup-backdrop { position: fixed !important; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5) !important; backdrop-filter: blur(2px); z-index: 2147483640 !important; display: none; }
body.vbo-noscroll { overflow: hidden !important; }

/* Responsive */
@media only screen and (max-width: 1024px) {
    .vbo-horizsearch-humanformat-wrap form { flex-wrap: wrap !important; }
    .vbmodhorsearch-hum-dates-wrap { flex: 100% !important; width: 100% !important; margin-bottom: 10px; display: flex !important; flex-direction: row !important; gap: 10px !important; }
    .vbmodhorsearch-humcalcont { flex: 1 !important; width: 50% !important; min-width: 0 !important; }
    .vbmodhorsearch-hum-guests-wrap { flex: 100% !important; width: 100% !important; margin-bottom: 10px; }
    .vbmodhorsearchbookdiv { flex: 100% !important; width: 100% !important; }
    .vbsearchinputmodhors { width: 100% !important; }
}
@media only screen and (max-width: 768px) {
    .vbo-horizsearch-humanformat-wrap form { padding: 15px !important; }
    
    /* MOBILE MODAL FIX */
    body .vbo-horizsearch-dpicker-cont, 
    body .vbmodhorsearch-hum-guests-modifier { 
        position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; 
        width: 90% !important; max-width: 380px !important; max-height: 85vh !important; 
        margin: 0 !important; padding: 15px !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important; 
        border-radius: 16px !important; background: #fff !important; 
        z-index: 2147483647 !important; overflow-y: auto !important; 
    }

    body .vbo-horizsearch-dpicker-cont .ui-datepicker-inline { flex-direction: column !important; max-height: 70vh !important; overflow-y: auto !important; box-shadow: none !important; }
    body .vbo-horizsearch-dpicker-cont .ui-datepicker-group { width: 100% !important; flex: 100% !important; border: none !important; padding: 0 !important; margin-bottom: 20px !important; }
    
    .vbo-mobile-done-btn-wrap { display: none !important; } 
    .vbo-cal-close-btn { top: 10px !important; right: 10px !important; background: #f5f5f5 !important; color: #333 !important; width: 40px !important; height: 40px !important; line-height: 40px !important; box-shadow: none !important; }
    
    /* [MOBILE OFFSET FIX] 
       Shift Check-in Left, Check-out Right to cover Bleed 
    */
    .vbo-horizsearch-dpicker-cont .ui-datepicker td.ui-datepicker-current-day a,
    .vbo-horizsearch-dpicker-cont .ui-datepicker td.ui-state-active a {
        background: #222 !important; 
        color: #fff !important; 
        
        transform: scale(1.3) translateX(-2px) !important; /* Left Offset */
        
        border: 5px solid #fff !important; 
        box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
        
        z-index: 50 !important; 
    }
    
    body .vbo-horizsearch-humanformat-wrap .hasDatepicker { position: fixed !important; top: 50% !important; left: 50% !important; margin-top: 20px !important; width: 100vw !important; min-width: 90vw !important; max-width: 90vw !important; z-index: 99999 !important; background: #fff !important; border-radius: 16px !important; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important; padding: 20px !important; display: none; overflow: visible !important; border: none !important; }
}

@media only screen and (max-width: 390px) {
    .vbo-step-btn { width: 32px !important; height: 32px !important; min-width: 32px !important; font-size: 18px !important; }
    .vbo-stepper-wrapper { gap: 5px !important; }
    .vbo-custom-label, .horsanumlb, .horscnumlb { font-size: 14px !important; margin-right: 5px !important; }
    body .vbmodhorsearch-hum-guests-modifier { padding: 15px !important; width: 95% !important; }
}

/* Operator overview span fix */
.vbo-tableaux-table .vbo-tableaux-roombooks .vbo-tableaux-booking-short span {
    overflow: visible;
    max-width: 200px;
    display: flex;
    cursor: pointer;
}