/* ============================================
   VARIABLES
   ============================================ */
:root {
    --primary: #4F46E5;
    --primary-grad: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --dark: #0F172A;
    --text: #334155;
    --text-light: #5E6D77;
    --bg-input: rgba(255, 255, 255, 0.5); 
    --border-input: 2px solid rgba(255, 255, 255, 0.7);
    --white: #ffffff;
    --glass: rgb(255 255 255 / 40%); 
    --radius-sm: 12px;
    --radius-lg: 20px;
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --urgent: #b91c1c;
}

/* ============================================
   BASE / RESET
   ============================================ */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    -webkit-tap-highlight-color: transparent; 
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8FAFC;
    color: var(--text);
    padding-bottom: 40px;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 12px;
}

header {
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding: 8px 0; 
    margin-bottom: 0;
}

/* --- HERO BACKGROUND --- */
.hero-bg {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 70vh;
    background: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
    z-index: -1;
}

.hero-bg::after {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), #F8FAFC);
}

/* --- LOGO --- */
.logo {
    font-size: 1.4rem; 
    font-weight: 800; 
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); 
    letter-spacing: -0.5px;
}

.logo span { 
    color: #60A5FA; 
}

/* --- DYNAMIC HEADINGS --- */
.dynamic-headings {
    text-align: center; 
    color: var(--white);
    margin-bottom: 8px; 
    padding: 0 5px;
}

.heading-group { 
    display: none; 
    animation: fadeIn 0.5s ease; 
}

.heading-group.active { 
    display: block; 
}

.hero-title {
    font-size: 1.15rem; 
    font-weight: 700; 
    line-height: 1.25; 
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4); 
    max-width: 90%; 
    margin-left: auto; 
    margin-right: auto;
}

.hero-subtitle {
    font-size: 0.8rem; 
    font-weight: 400; 
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto; 
    line-height: 1.3; 
    max-width: 85%;
}

/* ============================================
   OVERLAY
   ============================================ */
#focus-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(15, 23, 42, 0.90);
    backdrop-filter: blur(5px);
    z-index: 900; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease;
}

#focus-overlay.active { 
    opacity: 1; 
    pointer-events: all; 
}

/* ============================================
   SEARCH CARD
   ============================================ */
.search-card {
    background: var(--glass);
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--radius-lg);
    padding: 16px 14px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.5);
    margin-top: 0; 
    position: relative;
}

.search-card.allow-popout {
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important;
    transform: none !important; 
    background: #fff; 
    z-index: auto;
}

/* ============================================
   TABS
   ============================================ */
.tabs-scroll-container {
    width: 100%; 
    overflow-x: auto; 
    padding-bottom: 5px; 
    margin-bottom: 12px;
    display: flex; 
    justify-content: center;
}

.tabs-scroll-container::-webkit-scrollbar { 
    display: none; 
}

.tabs-wrapper {
    background: rgba(255,255,255,0.6);
    padding: 4px; 
    border-radius: 50px;
    display: inline-flex; 
    gap: 4px; 
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.3);
}

.tab-btn {
    border: none; 
    background: transparent;
    padding: 8px 16px; 
    border-radius: 40px;
    font-weight: 600; 
    font-size: 0.85rem; 
    color: #475569;
    cursor: pointer; 
    transition: var(--transition);
    display: flex; 
    align-items: center; 
    gap: 5px;
}

.tab-btn.active {
    background: var(--white); 
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.tab-btn svg { 
    width: 16px; 
    height: 16px; 
    fill: currentColor; 
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-section { 
    display: none; 
    animation: fadeIn 0.3s ease; 
}

.form-section.active { 
    display: block; 
}

@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

.grid-container { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px; 
}

.col-span-12 { 
    grid-column: span 2; 
}

.col-span-6 { 
    grid-column: span 1; 
}

.input-group {
    position: relative;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: var(--transition);
    border: var(--border-input);
    cursor: text;
}

.input-group.z-active {
    z-index: 1001; 
    position: relative;
    background: var(--white);
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), 0 20px 50px rgba(0,0,0,0.5);
}

.input-group label {
    display: block; 
    font-size: 0.7rem; 
    text-transform: uppercase;
    letter-spacing: 0.5px; 
    color: #475569;
    font-weight: 700; 
    margin-bottom: 2px;
    cursor: pointer;
}

.input-with-icon { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.input-icon { 
    color: #64748B; 
    width: 20px; 
    height: 20px; 
    flex-shrink: 0; 
}

input, select {
    width: 100%; 
    border: none; 
    background: transparent;
    font-size: 16px; 
    font-weight: 400;
    color: var(--dark);
    padding: 2px 0; 
    outline: none; 
    font-family: 'Poppins', sans-serif; 
    height: 24px;
}

input::placeholder { 
    color: #94A3B8; 
    opacity: 1; 
}

select {
    min-height: 30px;
}

/* ============================================
   DATE RANGE INPUT
   ============================================ */
.date-range-input {
    cursor: pointer;
}

.date-range-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--dark);
    min-height: 24px;
}

.date-range-display .date-value {
    font-weight: 500;
}

.date-range-display .date-separator {
    color: #94A3B8;
}

.date-range-display.placeholder {
    color: #94A3B8;
}

/* ============================================
   TIMEPICKER
   ============================================ */
.time-picker-group {
    cursor: pointer;
    position: relative;
}

.time-picker-group .input-with-icon {
    justify-content: space-between;
}

.time-display {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    flex: 1;
}

.chevron-icon {
    width: 20px;
    height: 20px;
    color: #64748B;
    transition: transform 0.2s;
}

.time-picker-group.open .chevron-icon {
    transform: rotate(180deg);
}

.time-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 1px solid #E2E8F0;
    z-index: 1100;
    display: none;
    -webkit-overflow-scrolling: touch;
}

.time-dropdown.show {
    display: block;
}

.time-dropdown::-webkit-scrollbar {
    width: 6px;
}

.time-dropdown::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 3px;
}

.time-dropdown::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

.time-option {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--dark);
    cursor: pointer;
    transition: background 0.15s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.time-option:hover {
    background: #F1F5F9;
}

.time-option.selected {
    background: #EEF2FF;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   SCARCITY / LIVE COUNTER
   ============================================ */
.scarcity-box {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    margin-top: 15px; 
    padding: 10px 20px;
    background: linear-gradient(90deg, #fff3cd 0%, #ffeeba 100%);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #856404;
    font-weight: 500;
    animation: fadeIn 1s ease;
}

.live-dot {
    width: 8px; 
    height: 8px; 
    background-color: #dc2626;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(220, 38, 38, 0.4);
    animation: pulse-red 2s infinite;
    flex-shrink: 0;
}

.live-count { 
    font-weight: 700; 
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ============================================
   SEARCH BUTTON
   ============================================ */
.btn-search {
    width: 100%; 
    background: var(--primary-grad); 
    color: var(--white);
    border: none; 
    padding: 16px; 
    font-size: 1.1rem; 
    font-weight: 600;
    border-radius: var(--radius-sm); 
    margin-top: 10px; 
    cursor: pointer;
    box-shadow: 0 8px 20px -5px rgba(79, 70, 229, 0.4);
}

.btn-search:active { 
    transform: scale(0.96); 
}

/* ============================================
   TRUST & REDIRECT
   ============================================ */
.redirect-notice {
    font-size: 0.7rem; 
    color: var(--text); 
    font-style: italic;
    text-align: center; 
    margin: 20px 0 10px; 
    line-height: 1.3;
    opacity: 0.8;
}

.trust-badges {
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 8px 12px;
    font-size: 0.8rem; 
    font-weight: 400; 
    color: var(--dark);
    text-align: center; 
    margin-top: 5px;
}

.trust-badges span { 
    display: inline-flex; 
    align-items: center; 
    gap: 3px; 
    white-space: nowrap; 
}

/* ============================================
   TOGGLE SWITCH
   ============================================ */
.toggle-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin: 5px 0; 
    cursor: pointer; 
    padding: 5px 0; 
}

.toggle-switch {
    position: relative; 
    width: 40px; 
    height: 22px; 
    background: rgba(0,0,0,0.2);
    border-radius: 50px; 
    transition: 0.3s; 
    flex-shrink: 0;
}

.toggle-switch::after {
    content: ''; 
    position: absolute; 
    top: 2px; 
    left: 2px;
    width: 18px; 
    height: 18px; 
    background: white; 
    border-radius: 50%;
    transition: 0.3s; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

input[type="checkbox"]:checked + .toggle-switch { 
    background: var(--primary); 
}

input[type="checkbox"]:checked + .toggle-switch::after { 
    transform: translateX(18px); 
}

input[type="checkbox"] { 
    display: none; 
}

.toggle-label { 
    font-weight: 500; 
    font-size: 0.85rem; 
    color: var(--dark); 
}

/* ============================================
   GUESTS DROPDOWN
   ============================================ */
.guest-dropdown {
    position: absolute; 
    top: calc(100% + 5px); 
    left: 0; 
    width: 100%;
    background: var(--white); 
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
    padding: 16px;
    z-index: 1100; 
    display: none; 
    border: 1px solid #e9ecef;
}

.guest-dropdown.show { 
    display: block; 
}

.guest-row {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    margin-bottom: 12px; 
    padding-bottom: 12px; 
    border-bottom: 1px solid #F1F5F9;
}

.guest-row:last-child { 
    margin-bottom: 0; 
    border: none; 
    padding-bottom: 0; 
}

.counter-btn {
    width: 32px; 
    height: 32px;
    border-radius: 50%; 
    border: 1px solid #E2E8F0;
    background: #F8FAFC; 
    color: var(--primary); 
    font-size: 1.2rem;
    cursor: pointer;
}

/* ============================================
   DATEPICKER MODAL
   ============================================ */
.datepicker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.datepicker-modal.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
}

/* Header */
.dp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--white);
    border-bottom: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.dp-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #F1F5F9;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #64748B;
    transition: all 0.2s;
}

.dp-close:hover {
    background: #E2E8F0;
    color: var(--dark);
}

.dp-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.dp-clear {
    font-size: 0.9rem;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    padding: 8px 12px;
}

.dp-clear:hover {
    text-decoration: underline;
}

/* Selection Summary */
.dp-selection-bar {
    display: flex;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.dp-selection-item {
    flex: 1;
    padding: 14px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.dp-selection-item.active {
    background: var(--white);
    border-bottom-color: var(--primary);
}

.dp-selection-item.selected {
    background: #EEF2FF;
}

.dp-selection-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748B;
    font-weight: 600;
    margin-bottom: 4px;
}

.dp-selection-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

.dp-selection-value.placeholder {
    color: #94A3B8;
    font-weight: 400;
}

/* Nights Counter */
.dp-nights-counter {
    text-align: center;
    padding: 10px;
    background: #FEF3C7;
    font-size: 0.85rem;
    font-weight: 500;
    color: #92400E;
    flex-shrink: 0;
    display: none;
}

.dp-nights-counter.show {
    display: block;
}

/* Calendar Container */
.dp-calendar-container {
    flex: 1;
    overflow-y: auto;
    background: var(--white);
    -webkit-overflow-scrolling: touch;
}

/* Month */
.dp-month {
    padding: 20px 16px;
}

.dp-month:not(:last-child) {
    border-bottom: 1px solid #F1F5F9;
}

.dp-month-header {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    text-transform: capitalize;
}

/* Weekdays */
.dp-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 8px;
}

.dp-weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94A3B8;
    padding: 8px 0;
    text-transform: uppercase;
}

/* Days Grid */
.dp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.dp-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.15s;
    position: relative;
    background: transparent;
    border: none;
    font-family: 'Poppins', sans-serif;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* Hover solo su dispositivi con cursore (non mobile) */
@media (hover: hover) {
    .dp-day:hover:not(.disabled):not(.empty) {
        background: #EEF2FF;
    }
}

.dp-day.empty {
    cursor: default;
}

.dp-day.disabled {
    color: #CBD5E1;
    cursor: not-allowed;
}

.dp-day.today {
    font-weight: 700;
    color: var(--primary);
}

.dp-day.today::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

/* Selected States */
.dp-day.start-date,
.dp-day.end-date {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.dp-day.start-date {
    border-radius: 50% 0 0 50%;
}

.dp-day.end-date {
    border-radius: 0 50% 50% 0;
}

.dp-day.start-date.end-date {
    border-radius: 50%;
}

.dp-day.in-range {
    background: #EEF2FF;
    border-radius: 0;
}

/* Hover range preview */
.dp-day.hover-range {
    background: #F5F3FF;
}

/* Footer */
.dp-footer {
    padding: 16px 20px;
    background: var(--white);
    border-top: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.dp-apply-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-grad);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
}

.dp-apply-btn:disabled {
    background: #CBD5E1;
    cursor: not-allowed;
}

.dp-apply-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

/* ============================================
   FEATURES
   ============================================ */
.features { 
    margin-top: 30px; 
}

.section-title { 
    font-size: 1.2rem; 
    font-weight: 700; 
    color: var(--dark); 
    margin-bottom: 15px; 
}

.feature-group { 
    display: none; 
}

.feature-group.active { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 12px; 
    animation: fadeIn 0.4s ease;
}

.feature-card {
    background: var(--white); 
    padding: 15px; 
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03); 
    border: 1px solid #F1F5F9;
    display: flex; 
    align-items: flex-start; 
    gap: 12px;
}

.feature-icon-box {
    width: 36px; 
    height: 36px; 
    border-radius: 10px; 
    flex-shrink: 0;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 0;
}

.f-blue { background: #EFF6FF; color: #3B82F6; }
.f-purple { background: #F5F3FF; color: #8B5CF6; }
.f-green { background: #ECFDF5; color: #10B981; }
.f-rose { background: #FFF1F2; color: #F43F5E; }
.f-orange { background: #FFF7ED; color: #F97316; }

.feature-content { 
    flex: 1; 
}

.feature-title { 
    font-weight: 700; 
    font-size: 0.95rem; 
    margin-bottom: 3px; 
    color: var(--dark); 
}

.feature-text { 
    font-size: 0.8rem; 
    color: var(--text-light); 
    line-height: 1.35; 
}

.hidden { 
    display: none; 
}

.visible { 
    display: block; 
    animation: fadeIn 0.3s ease; 
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0D2069;
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-overlay.active {
    display: flex;
    opacity: 1;
}

/* Provider logos container */
.provider-loader {
    width: 90%;
    max-width: 350px;
    height: 64px;
    background: #ffffff;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Marquee wrapper */
.provider-marquee-wrap {
    width: 100%;
    height: calc(100% - 5px);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Marquee track */
.provider-marquee {
    display: flex;
    align-items: center;
    animation: marquee 20s linear infinite;
}

.provider-marquee .logo-text {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    padding: 0 12px;
    flex-shrink: 0;
    border-right: 1px solid #e0e0e0;
}

.provider-marquee .logo-text:last-child {
    border-right: none;
}

.logo-skyscanner { color: #0770e3; }
.logo-booking { color: #003580; }
.logo-kayak { color: #ff690f; }
.logo-expedia { color: #00355f; }
.logo-trip { color: #287dfa; }
.logo-agoda { color: #5392f9; }
.logo-hotels { color: #d32f2f; }
.logo-trivago { color: #e84d1c; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Progress bar */
.loading-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: rgba(255,255,255,0.35);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    background: #03B251;
    border-radius: 3px;
    animation: progress-anim 2.5s ease-in-out infinite;
}

@keyframes progress-anim {
    0% { width: 0%; margin-left: 0; }
    50% { width: 70%; margin-left: 0; }
    100% { width: 0%; margin-left: 100%; }
}

/* Loading text */
.loading-text {
    margin-top: 24px;
    text-align: center;
    color: #ffffff;
}

.loading-text .main-text {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.loading-text .sub-text {
    font-size: 1rem;
    font-weight: 600;
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    text-align: center;
    padding: 15px 0 0;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.kayak-ref {
    display: inline-block;
    margin-top: 5px;
    font-weight: 600;
    color: #ff690f;
}

/* Language selector */
.language-selector-wrapper {
    align-items: center;
    background: #F1F5F9;
    padding: 8px 16px;
    border-radius: 50px;
}

.language-selector-wrapper label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

#language-selector {
    width: auto;
    padding: 6px 28px 6px 12px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%2364748B'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

#language-selector:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

#language-selector:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    color: var(--dark);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner a {
    color: #60A5FA;
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: #93C5FD;
}

.cookie-banner-close {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    margin-left: 12px;
    transition: var(--transition);
}

.cookie-banner-close:hover {
    background: #6366F1;
}

/* ============================================
   COOKIE POLICY PAGE
   ============================================ */
.cookie-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cookie-page h1 {
    color: var(--dark);
    font-size: 2rem;
    margin-bottom: 8px;
}

.cookie-page .last-update {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
}

.cookie-page .intro {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--text);
}

.cookie-page h2 {
    color: var(--dark);
    font-size: 1.3rem;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E2E8F0;
}

.cookie-page h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin: 20px 0 10px;
}

.cookie-page p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text);
}

.cookie-page ul {
    margin: 15px 0;
    padding-left: 25px;
}

.cookie-page li {
    line-height: 1.7;
    margin-bottom: 8px;
    color: var(--text);
}

.cookie-page .back-link {
    display: inline-block;
    margin-top: 40px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.cookie-page .back-link:hover {
    text-decoration: underline;
}

.cookie-page .contact-email {
    color: var(--primary);
    font-weight: 500;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 768px) {
    .hero-bg { 
        height: 85vh; 
    }
    
    .container { 
        padding: 20px; 
    }
    
    header { 
        justify-content: space-between; 
        padding: 20px 0; 
    }
    
    .logo { 
        font-size: 1.8rem; 
    }
    
    .dynamic-headings { 
        margin-bottom: 30px; 
    }
    
    .hero-title { 
        font-size: 2.5rem; 
        margin-bottom: 12px; 
        max-width: 800px; 
    }
    
    .hero-subtitle { 
        font-size: 1.1rem; 
    }
    
    .search-card { 
        padding: 30px; 
    }
    
    .grid-container { 
        grid-template-columns: repeat(12, 1fr); 
        gap: 20px; 
    }
    
    .col-span-12 { 
        grid-column: span 12; 
    }
    
    .col-span-6 { 
        grid-column: span 6; 
    }

    .feature-group.active { 
        grid-template-columns: 1fr 1fr; 
    }

    /* Datepicker Desktop */
    .datepicker-modal {
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .dp-container {
        width: 100%;
        max-width: 800px;
        max-height: 90vh;
        background: var(--white);
        border-radius: var(--radius-lg);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .dp-calendar-container {
        display: flex;
        flex-wrap: wrap;
    }
    
    .dp-month {
        width: 50%;
        border-bottom: none !important;
    }
    
    .dp-month:nth-child(odd) {
        border-right: 1px solid #F1F5F9;
    }

    /* Loading overlay desktop */
    .provider-loader {
        max-width: 450px;
        height: 72px;
    }
    
    .provider-marquee img {
        height: 32px;
    }
    
    .loading-text .main-text,
    .loading-text .sub-text {
        font-size: 1.25rem;
    }
}

/* Mobile Full Container */
@media (max-width: 767px) {
    .dp-container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        background: var(--white);
    }
}
