/**
 * Passion Masthead V2 Styles
 * Clean, modern design with facets positioned directly on masthead
 */

.passion-masthead-v2 {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Gallery */
.banner_gallery_slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner_gallery_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner_gallery_slide:first-child {
    opacity: 1;
}

/* Carousel Navigation */
.elementor-slick-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.elementor-slick-button:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.elementor-slick-button-prev {
    left: 30px;
}

.elementor-slick-button-next {
    right: 30px;
}

.elementor-slick-button svg {
    width: 24px;
    height: 24px;
}

/* Facet Controls Overlay */
.facet-controls-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* Dynamic Title Area */
.dynamic-title-area {
    margin-bottom: 30px;
    text-align: center;
}

.dynamic-title {
    /* Fallback styles when no Elementor typography is set */
    font-size: 2.5rem;
    font-weight: 700;
    /* Default color styles */
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    transition: all 0.3s ease;
    line-height: 1.2;
}

/* Allow Elementor typography controls to override defaults */
.elementor-widget-passion_masthead_separated_v2 .dynamic-title {
    /* Reset to inherit when within Elementor widget context */
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    line-height: inherit;
}

.gallery_color_light .dynamic-title {
    color: #333;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.facet-controls-container {
    display: flex;
    gap: 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 90%;
    width: 100%;
    max-width: 800px;
    position: relative; /* Positioning context for overlays */
}

/* Dark mode adjustments */
.gallery_color_dark .facet-controls-container {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.gallery_color_light .facet-controls-container {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
}

/* Individual Facet Control */
.facet-control {
    flex: 1;
    min-width: 0;
    position: relative;
}

.facet-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery_color_light .facet-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Facet Selector */
.facet-selector {
    position: relative;
    cursor: pointer;
}

.selected-value {
    display: block;
    padding: 16px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selected-value::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #666;
    transition: transform 0.3s ease;
}

.facet-selector.open .selected-value::after {
    transform: translateY(-50%) rotate(180deg);
}

.selected-value:hover {
    border-color: #007cba;
    box-shadow: 0 4px 16px rgba(0, 124, 186, 0.2);
}

/* Dropdown */
.facet-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 300px;
    overflow: hidden;
}

/* Special positioning for time dropdown to anchor under header */
.time-facet .facet-dropdown {
    position: fixed;
    top: 80px; /* Adjust this value based on your header height */
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    right: auto;
    width: 280px;
    max-width: 90vw;
    border-radius: 12px;
    border-top: 2px solid #e0e0e0;
}

.time-facet .facet-dropdown.open {
    transform: translateX(-50%) translateY(0);
}

.facet-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.facet-search {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    outline: none;
    background: #f8f9fa;
}

.facet-search:focus {
    background: #fff;
}

.facet-options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 240px;
    overflow-y: auto;
}

.facet-options li {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.facet-options li:hover {
    background-color: #f8f9fa;
}

.facet-options li:last-child {
    border-bottom: none;
}

.facet-options li.use-location {
    color: #007cba;
    font-weight: 500;
}

.facet-options li.use-location i {
    margin-right: 8px;
}

.facet-options .count {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

/* Search Overlays Positioning - Align with top of facet-controls-container */
.passion-search-overlay,
.destination-search-overlay,
.time-options-overlay {
    position: absolute !important; /* Position relative to facet-control parent */
    top: 0 !important; /* Align with top of parent facet-control */
    left: 0 !important;
    right: 0 !important;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    overflow: hidden;
}

/* Experiences Container */
.experiences-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 40px 20px 20px;
    z-index: 6;
}

.experiences-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.experience-card {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
}

.experience-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.experience-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.experience-price {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.experience-content {
    padding: 16px;
}

.experience-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

.no-results {
    text-align: center;
    color: #fff;
    font-size: 18px;
    padding: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .facet-controls-container {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
        margin: 20px;
    }
    
    .dynamic-title {
        /* Fallback responsive size */
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    /* Allow Elementor responsive settings to override */
    .elementor-widget-passion_masthead_separated_v2 .dynamic-title {
        font-size: inherit;
    }
    
    .facet-control {
        flex: none;
    }
    
    .elementor-slick-button {
        width: 44px;
        height: 44px;
    }
    
    .elementor-slick-button-prev {
        left: 15px;
    }
    
    .elementor-slick-button-next {
        right: 15px;
    }
    
    .experience-card {
        flex: 0 0 220px;
    }
    
    .experiences-container {
        padding: 20px 10px 10px;
    }
}

@media (max-width: 480px) {
    .passion-masthead-v2 {
        min-height: 500px;
    }
    
    .dynamic-title {
        /* Fallback mobile size */
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    /* Allow Elementor mobile responsive settings to override */
    .elementor-widget-passion_masthead_separated_v2 .dynamic-title {
        font-size: inherit;
    }
    
    .facet-controls-container {
        margin: 10px;
        padding: 20px;
        background: transparent !important;
        border: none !important;
    }
    
    /* White text for mobile viewport */
    .prepend-text {
        color: #ffffff !important;
    }
    
    .selected-title.passion-name.clickable-selection {
        color: #ffffff !important;
    }
    
    /* White text and underlines for destination and time facets */
    .passion-facet .clickable-selection,
    .destination-facet .clickable-selection,
    .time-facet .clickable-selection,
    .selected-title.passion-name.clickable-selection,
    .selected-title.destination-name.clickable-selection,
    .selected-title.time-selection.clickable-selection {
        color: #ffffff !important;
        border-bottom-color: #ffffff !important;
    }
    
    .passion-facet .prepend-text,
    .destination-facet .prepend-text,
    .time-facet .prepend-text {
        color: #ffffff !important;
    }
    
    /* Mobile-specific time dropdown positioning */
    .time-facet .facet-dropdown {
        top: 60px; /* Reduced for mobile header */
        width: 90vw;
        max-width: 320px;
    }
    
    /* Mobile-specific passion/destination dropdown positioning - fixed to top */
    .passion-facet .facet-dropdown,
    .destination-facet .facet-dropdown {
        position: fixed !important;
        top: 60px !important; /* Fixed distance from top */
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(-10px) !important;
        width: 90vw !important;
        max-width: 320px !important;
        border-radius: 12px !important;
        border-top: 2px solid #e0e0e0 !important;
        z-index: 9999 !important;
    }
    
    .passion-facet .facet-dropdown.open,
    .destination-facet .facet-dropdown.open {
        transform: translateX(-50%) translateY(0) !important;
    }
    
    /* Mobile-specific search overlays positioning - align with dropdowns */
    .passion-search-overlay,
    .destination-search-overlay,
    .time-options-overlay {
        position: fixed !important;
        top: 60px !important; /* Same as facet-controls-container mobile */
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important; /* Reset desktop margin */
        width: 90vw !important;
        max-width: 320px !important;
        border-radius: 12px !important;
    }
    
    .time-options-overlay {
        max-width: 300px !important; /* Slightly narrower for time options */
    }
    
    .selected-value {
        padding: 12px 16px;
        min-height: 48px;
        font-size: 14px;
    }
    
    .experience-card {
        flex: 0 0 180px;
    }
    
    .experience-image {
        height: 140px;
    }
    
    .experience-content {
        padding: 12px;
    }
    
    .experience-title {
        font-size: 14px;
    }
}

/* Loading States */
.facet-selector.loading .selected-value::after {
    border: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Smooth Scrollbar for Dropdown */
.facet-options::-webkit-scrollbar {
    width: 6px;
}

.facet-options::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.facet-options::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.facet-options::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Focus States for Accessibility */
.selected-value:focus,
.facet-search:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.facet-options li:focus {
    background-color: #e3f2fd;
    outline: none;
}

/* Animation for Facet Options */
.facet-options li {
    opacity: 0;
    animation: fadeInUp 0.3s ease forwards;
}

.facet-options li:nth-child(1) { animation-delay: 0.05s; }
.facet-options li:nth-child(2) { animation-delay: 0.1s; }
.facet-options li:nth-child(3) { animation-delay: 0.15s; }
.facet-options li:nth-child(4) { animation-delay: 0.2s; }
.facet-options li:nth-child(5) { animation-delay: 0.25s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide availability/time facet temporarily for BKAP optimization - TEMPORARILY UNHIDDEN FOR STYLING */
.passion-masthead-v2 .time-facet {
    /* display: none !important; */
}

/* Single-line passion facet styling to match original masthead */
.passion-masthead-v2 .passion-facet {
    position: relative;
    background: none;
    border: none;
    padding: 0;
}

.passion-masthead-v2 .passion-facet .content-box-title {
    font-size: 32px;
    line-height: 36px;
    color: #1c2d3e;
    margin: 0 auto;
    font-family: 'Nanum Pen';
    position: relative;
    cursor: default;
    display: table;
    border-bottom: none; /* Remove default underline from title */
    text-align: center;
}

.passion-masthead-v2 .passion-facet .prepend-text {
    text-decoration: none;
    border: none;
    position: relative;
    font-weight: normal;
}

.passion-masthead-v2 .passion-facet .clickable-selection {
    border-bottom: 3px dotted #1c2d3e;
    padding-bottom: 2px;
    cursor: pointer;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.passion-masthead-v2 .passion-facet .clickable-selection:hover {
    opacity: 0.8;
}

/* Destination facet styling - same as passion facet */
.passion-masthead-v2 .destination-facet {
    position: relative;
    background: none;
    border: none;
    padding: 0;
}

.passion-masthead-v2 .destination-facet .content-box-title {
    font-size: 32px;
    line-height: 36px;
    color: #1c2d3e;
    margin: 0 auto;
    font-family: 'Nanum Pen';
    position: relative;
    cursor: default;
    display: table;
    border-bottom: none; /* Remove default underline from title */
    text-align: center;
}

.passion-masthead-v2 .destination-facet .prepend-text {
    text-decoration: none;
    border: none;
    position: relative;
    font-weight: normal;
}

.passion-masthead-v2 .destination-facet .clickable-selection {
    border-bottom: 3px dotted #1c2d3e;
    padding-bottom: 2px;
    cursor: pointer;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.passion-masthead-v2 .destination-facet .clickable-selection:hover {
    opacity: 0.8;
}

/* Destination search overlay - aligned to facet-controls-container */
.passion-masthead-v2 .destination-search-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.passion-masthead-v2 .destination-search-input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    outline: none;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.passion-masthead-v2 .destination-search-input:focus {
    background: #fff;
}

.passion-masthead-v2 .destination-options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 240px;
    overflow-y: auto;
    background: white;
    border-radius: 0 0 8px 8px;
}

.passion-masthead-v2 .destination-options li {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.passion-masthead-v2 .destination-options li:hover {
    background-color: #f8f9fa;
}

.passion-masthead-v2 .destination-options li:last-child {
    border-bottom: none;
}

.passion-masthead-v2 .destination-options li.selected {
    background: #007cba;
    color: white;
}

.passion-masthead-v2 .destination-options li.loading,
.passion-masthead-v2 .destination-options li.error {
    font-style: italic;
    color: #666;
    text-align: center;
}

.passion-masthead-v2 .destination-options li.use-location {
    color: #007cba;
    font-weight: 500;
}

/* Time facet styling - same as passion and destination facets */
.passion-masthead-v2 .time-facet {
    position: relative;
    background: none;
    border: none;
    padding: 0;
}

.passion-masthead-v2 .time-facet .content-box-title {
    font-size: 32px;
    line-height: 36px;
    color: #1c2d3e;
    margin: 0 auto;
    font-family: 'Nanum Pen';
    position: relative;
    cursor: default;
    display: table;
    border-bottom: none; /* Remove default underline from title */
    text-align: center;
}

.passion-masthead-v2 .time-facet .prepend-text {
    text-decoration: none;
    border: none;
    position: relative;
    font-weight: normal;
}

.passion-masthead-v2 .time-facet .clickable-selection {
    border-bottom: 3px dotted #1c2d3e;
    padding-bottom: 2px;
    cursor: pointer;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.passion-masthead-v2 .time-facet .clickable-selection:hover {
    opacity: 0.8;
}

/* Time options overlay - aligned to facet-controls-container */
.passion-masthead-v2 .time-options-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.passion-masthead-v2 .time-options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 240px;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
}

.passion-masthead-v2 .time-options li {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.passion-masthead-v2 .time-options li:hover {
    background-color: #f8f9fa;
}

.passion-masthead-v2 .time-options li:last-child {
    border-bottom: none;
}

.passion-masthead-v2 .time-options li.selected {
    background: #007cba;
    color: white;
}

/* Passion search overlay positioning - aligned to facet-controls-container */
.passion-masthead-v2 .passion-search-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.passion-masthead-v2 .passion-search-input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    outline: none;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.passion-masthead-v2 .passion-search-input:focus {
    background: #fff;
}

.passion-masthead-v2 .passion-options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 240px;
    overflow-y: auto;
    background: white;
    border-radius: 0 0 8px 8px;
}

.passion-masthead-v2 .passion-options li {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.passion-masthead-v2 .passion-options li:hover {
    background-color: #f8f9fa;
}

.passion-masthead-v2 .passion-options li:last-child {
    border-bottom: none;
}

.passion-masthead-v2 .passion-options li.selected {
    background: #007cba;
    color: white;
}

.passion-masthead-v2 .passion-options li.loading,
.passion-masthead-v2 .passion-options li.error {
    font-style: italic;
    color: #666;
    text-align: center;
}

/* Overlay backdrop to dim background when facet dropdowns are open */
.passion-masthead-v2 .facet-overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
}

.passion-masthead-v2 .facet-overlay-backdrop.active {
    display: block;
}

/* Ensure overlays appear centered and above everything else */
.passion-masthead-v2 .passion-search-overlay,
.passion-masthead-v2 .destination-search-overlay,
.passion-masthead-v2 .time-options-overlay {
    animation: fadeInScale 0.2s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Responsive adjustments for overlays */
@media (max-width: 768px) {
    .passion-masthead-v2 .passion-search-overlay,
    .passion-masthead-v2 .destination-search-overlay,
    .passion-masthead-v2 .time-options-overlay {
        width: 95%;
        max-width: none;
    }
}
/* Custom Date Picker Styles */
.passion-masthead-v2 .custom-dates-trigger {
    border-top: 1px solid #eee;
    margin-top: 8px;
    padding-top: 8px;
    color: #0073aa !important;
    font-weight: 500;
}

.passion-masthead-v2 .custom-date-picker {
    padding: 20px;
    background: #fff;
}

.passion-masthead-v2 .custom-date-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.passion-masthead-v2 .back-to-options {
    background: none;
    border: none;
    color: #0073aa;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.passion-masthead-v2 .back-to-options:hover {
    background-color: #f0f0f0;
}

.passion-masthead-v2 .custom-date-header span {
    font-weight: 600;
    font-size: 16px;
}

.passion-masthead-v2 .date-inputs {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.passion-masthead-v2 .date-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.passion-masthead-v2 .date-input-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.passion-masthead-v2 .date-input-group input[type="date"] {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.passion-masthead-v2 .date-input-group input[type="date"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.passion-masthead-v2 .apply-custom-dates {
    width: 100%;
    padding: 12px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.passion-masthead-v2 .apply-custom-dates:hover {
    background-color: #005a87;
}

.passion-masthead-v2 .apply-custom-dates:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Hide time options list when custom picker is shown */
.passion-masthead-v2 .time-options-overlay .time-options.hidden {
    display: none;
}

@media (max-width: 768px) {
    .passion-masthead-v2 .date-inputs {
        flex-direction: column;
    }
}
