/* ============================================================
   Simple Airbnb Search - Book Now Button
   ============================================================ */

/* CSS Variables */
:root {
    --airbnb-primary: #FF385C;
    --airbnb-primary-dark: #E31C5F;
    --airbnb-black: #222222;
    --airbnb-gray-dark: #717171;
    --airbnb-gray-medium: #B0B0B0;
    --airbnb-gray-light: #DDDDDD;
    --airbnb-gray-subtle: #F7F7F7;
    --airbnb-white: #FFFFFF;
    --airbnb-border: #EBEBEB;
    --airbnb-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    --airbnb-radius: 32px;
    --airbnb-radius-small: 8px;
    --airbnb-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --airbnb-transition: 0.2s ease;
}

/* ============================================================
   Simple Book Now Button - REMOVED (2025-01-23)
   ============================================================

   Book Now button styles moved to static/navbar/css/search-integration.css
   to avoid conflicts and maintain single source of truth.

   DO NOT add Book Now button styles here - they are handled globally.
   ============================================================ */

/* ============================================================
   Modal Backdrop and Container
   ============================================================ */

.airbnb-modal-backdrop {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    z-index: 2147483647 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.airbnb-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.airbnb-modal-container {
    width: 100%;
    max-width: 1200px;
    max-height: 92vh;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 24px;
    overflow: hidden;
    transform: scale(0.95) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.3), 0 8px 32px rgba(0, 0, 0, 0.12);
    position: relative;
    margin: auto;
    z-index: 2147483647 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.airbnb-modal-backdrop.active .airbnb-modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

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

@keyframes modalSlideIn {
    from { 
        opacity: 0;
        transform: scale(0.95) translateY(30px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Ensure modal is above absolutely everything */
#airbnb-search-modal {
    z-index: 2147483647 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
}

/* Ensure all modal children have high stacking context */
#airbnb-search-modal .airbnb-modal-container {
    position: relative !important;
    z-index: 2147483647 !important;
}

/* Override any potential Bootstrap or other framework interference */
html #airbnb-search-modal.airbnb-modal-backdrop {
    z-index: 2147483647 !important;
}

/* ============================================================
   Modal Header
   ============================================================ */

.airbnb-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 32px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.airbnb-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--airbnb-black);
    margin: 0;
    letter-spacing: -0.01em;
}

.airbnb-close-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--airbnb-gray-dark);
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.airbnb-close-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   Modal Body and Sections
   ============================================================ */

.airbnb-modal-body {
    padding: 32px;
    max-height: calc(92vh - 180px);
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.airbnb-modal-body::-webkit-scrollbar {
    width: 8px;
}

.airbnb-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.airbnb-modal-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.airbnb-modal-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.airbnb-section {
    margin-bottom: 48px;
}

.airbnb-section:last-child {
    margin-bottom: 0;
}

.airbnb-section-header {
    margin-bottom: 32px;
}

.airbnb-section-heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--airbnb-black);
    margin: 0 0 32px 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
    position: relative;
}

.airbnb-section-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--airbnb-primary), var(--airbnb-primary-dark));
    border-radius: 2px;
}

/* ============================================================
   Destination Search
   ============================================================ */

.airbnb-destination-search {
    position: relative;
}

.airbnb-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.airbnb-search-icon {
    position: absolute;
    left: 16px;
    color: var(--airbnb-gray-dark);
    z-index: 1;
}

.airbnb-search-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 1px solid var(--airbnb-border);
    border-radius: var(--airbnb-radius-small);
    font-size: 16px;
    font-family: var(--airbnb-font);
    background: var(--airbnb-white);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.airbnb-search-input:focus {
    outline: none;
    border-color: var(--airbnb-black);
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

.airbnb-search-input::placeholder {
    color: var(--airbnb-gray-medium);
}

/* ============================================================
   Date Tabs
   ============================================================ */

.airbnb-date-tabs {
    display: flex;
    gap: 0;
    background: var(--airbnb-gray-subtle);
    padding: 4px;
    border-radius: var(--airbnb-radius-small);
    margin-bottom: 24px;
}

.airbnb-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--airbnb-gray-dark);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--airbnb-font);
}

.airbnb-tab:hover {
    color: var(--airbnb-black);
}

.airbnb-tab--active {
    background: var(--airbnb-white);
    color: var(--airbnb-black);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   Date Display
   ============================================================ */

.airbnb-date-display {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.airbnb-date-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--airbnb-border);
    border-radius: var(--airbnb-radius-small);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.airbnb-date-input:hover {
    border-color: var(--airbnb-gray-dark);
}

.airbnb-date-input.selected {
    border-color: var(--airbnb-black);
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

.airbnb-date-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: var(--airbnb-black);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.airbnb-date-value {
    font-size: 14px;
    color: var(--airbnb-gray-dark);
    line-height: 1.2;
}

.airbnb-date-value.has-date {
    color: var(--airbnb-black);
    font-weight: 600;
}

/* ============================================================
   Tab Panels
   ============================================================ */

.airbnb-tab-content {
    position: relative;
}

.airbnb-tab-panel {
    display: none;
}

.airbnb-tab-panel--active {
    display: block;
}

/* ============================================================
   Calendar Layout (Two Months)
   ============================================================ */

.airbnb-calendar-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0;
}

/* Calendar Navigation Controls */
.airbnb-calendar-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--airbnb-border);
    margin-bottom: 16px;
}

.airbnb-calendar-nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--airbnb-border);
    border-radius: 50%;
    background: var(--airbnb-white);
    color: var(--airbnb-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.airbnb-calendar-nav-btn:hover:not(:disabled) {
    background: var(--airbnb-gray-subtle);
    border-color: var(--airbnb-black);
    transform: scale(1.1);
}

.airbnb-calendar-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.airbnb-calendar-nav-info {
    flex: 1;
    text-align: center;
}

.airbnb-calendar-nav-months {
    font-size: 16px;
    font-weight: 600;
    color: var(--airbnb-black);
}

/* Calendar months grid */
.airbnb-calendar-months-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

/* Responsive: Stack months on mobile */
@media (max-width: 768px) {
    .airbnb-calendar-months-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .airbnb-calendar-navigation {
        padding: 12px 0;
    }
    
    .airbnb-calendar-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .airbnb-calendar-nav-months {
        font-size: 14px;
    }
}

.airbnb-calendar-month {
    min-width: 0;
}

.airbnb-month-header {
    text-align: center;
    margin-bottom: 16px;
}

.airbnb-month-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--airbnb-black);
    margin: 0;
}

.airbnb-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 8px 0;
}

.airbnb-day-header {
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--airbnb-gray-dark);
    text-transform: uppercase;
}

.airbnb-day {
    aspect-ratio: 1;
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 400;
    color: var(--airbnb-black);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.15s ease;
    margin: 2px;
    position: relative;
    font-family: var(--airbnb-font);
}

.airbnb-day:hover:not(.disabled):not(.other-month) {
    background: var(--airbnb-gray-subtle);
    transform: scale(1.05);
}

.airbnb-day.disabled {
    color: var(--airbnb-gray-light);
    cursor: not-allowed;
}

.airbnb-day.other-month {
    color: var(--airbnb-gray-light);
    cursor: default;
}

.airbnb-day.selected {
    background: var(--airbnb-black);
    color: var(--airbnb-white);
}

.airbnb-day.range-start {
    background: var(--airbnb-black);
    color: var(--airbnb-white);
}

.airbnb-day.range-end {
    background: var(--airbnb-black);
    color: var(--airbnb-white);
}

.airbnb-day.in-range {
    background: rgba(34, 34, 34, 0.1);
    color: var(--airbnb-black);
    border-radius: 0;
}

.airbnb-day.range-start.in-range {
    border-radius: 50% 0 0 50%;
}

.airbnb-day.range-end.in-range {
    border-radius: 0 50% 50% 0;
}

/* ============================================================
   Cascading Location Dropdowns (Country → Region → City)
   ============================================================ */

.location-cascading-selects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.location-select-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-select-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--airbnb-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.airbnb-location-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--airbnb-border);
    border-radius: var(--airbnb-radius-small);
    font-size: 15px;
    font-family: var(--airbnb-font);
    background: var(--airbnb-white);
    color: var(--airbnb-black);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23222' stroke-width='2' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.airbnb-location-select:focus {
    outline: none;
    border-color: var(--airbnb-black);
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

.airbnb-location-select:disabled {
    background-color: var(--airbnb-gray-subtle);
    color: var(--airbnb-gray-medium);
    cursor: not-allowed;
    opacity: 0.6;
}

.airbnb-location-select option {
    padding: 8px;
}

/* Selected Location Display */
.location-selected-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--airbnb-gray-subtle);
    border: 1px solid var(--airbnb-border);
    border-radius: var(--airbnb-radius-small);
    margin-top: 12px;
}

.location-selected-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-selected-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--airbnb-gray-dark);
}

.location-selected-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--airbnb-black);
}

.location-clear-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--airbnb-gray-dark);
    transition: all 0.15s ease;
    padding: 0;
}

.location-clear-btn:hover {
    background: var(--airbnb-gray-light);
    color: var(--airbnb-black);
}

/* Responsive: Stack dropdowns on mobile */
@media (max-width: 768px) {
    .location-cascading-selects {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ============================================================
   Location Dropdown - Hierarchical Display (Legacy - kept for compatibility)
   ============================================================ */

.location-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--airbnb-white);
    border: 1px solid var(--airbnb-border);
    border-radius: var(--airbnb-radius-small);
    box-shadow: var(--airbnb-shadow);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.location-dropdown-content {
    padding: 8px 0;
}

.location-section {
    padding: 8px 0;
}

.location-section-title {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--airbnb-gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-country-title {
    font-size: 14px;
    color: var(--airbnb-black);
    margin-top: 8px;
    margin-bottom: 4px;
}

.location-region-group {
    margin-left: 16px;
}

.location-region-name {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--airbnb-gray-dark);
}

.location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.location-item:hover {
    background-color: var(--airbnb-gray-subtle);
}

.location-item.popular {
    background-color: rgba(255, 56, 92, 0.05);
}

.location-item-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--airbnb-black);
    margin-bottom: 2px;
}

.location-item-region {
    font-size: 13px;
    color: var(--airbnb-gray-dark);
}

.location-item-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--airbnb-gray-dark);
    padding: 4px 8px;
    background: var(--airbnb-gray-subtle);
    border-radius: 12px;
}

/* ============================================================
   Flatpickr Calendar Navigation - Ensure Arrows Are Visible
   ============================================================ */

/* Navigation arrows - Always visible and functional */
.airbnb-calendar-container .flatpickr-prev-month,
.airbnb-calendar-container .flatpickr-next-month {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 8px !important;
    border-radius: 50% !important;
    background: var(--airbnb-white) !important;
    border: 1px solid var(--airbnb-border) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--airbnb-black) !important;
    fill: var(--airbnb-black) !important;
    z-index: 10 !important;
    position: relative !important;
}

.airbnb-calendar-container .flatpickr-prev-month:hover,
.airbnb-calendar-container .flatpickr-next-month:hover {
    background: var(--airbnb-gray-subtle) !important;
    border-color: var(--airbnb-black) !important;
    transform: scale(1.1) !important;
}

.airbnb-calendar-container .flatpickr-prev-month svg,
.airbnb-calendar-container .flatpickr-next-month svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
}

/* Month navigation header - Ensure it's visible */
.airbnb-calendar-container .flatpickr-months {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--airbnb-border) !important;
}

.airbnb-calendar-container .flatpickr-month {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
}

/* Month/year dropdown selectors - Ensure they're visible */
.airbnb-calendar-container .flatpickr-current-month {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--airbnb-black) !important;
}

.airbnb-calendar-container .flatpickr-monthDropdown-months,
.airbnb-calendar-container .flatpickr-current-month input.cur-year {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 1px solid var(--airbnb-border) !important;
    border-radius: var(--airbnb-radius-small) !important;
    padding: 4px 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--airbnb-black) !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.airbnb-calendar-container .flatpickr-monthDropdown-months:hover,
.airbnb-calendar-container .flatpickr-current-month input.cur-year:hover {
    background: var(--airbnb-gray-subtle) !important;
    border-color: var(--airbnb-black) !important;
}

/* Flatpickr Calendar Cell Sizes */
.flatpickr-calendar .flatpickr-day {
    min-width: 48px !important;
    min-height: 48px !important;
    width: 48px !important;
    height: 48px !important;
    line-height: 48px !important;
    font-size: 15px !important;
    margin: 2px !important;
}

.flatpickr-calendar .flatpickr-day.flatpickr-day.selected,
.flatpickr-calendar .flatpickr-day.flatpickr-day.startRange,
.flatpickr-calendar .flatpickr-day.flatpickr-day.endRange {
    min-width: 48px !important;
    min-height: 48px !important;
    width: 48px !important;
    height: 48px !important;
}

.flatpickr-calendar .flatpickr-weekdays {
    padding: 8px 0 !important;
}

.flatpickr-calendar .flatpickr-weekday {
    min-height: 32px !important;
    line-height: 32px !important;
}

/* Responsive: Smaller cells on mobile */
@media (max-width: 768px) {
    .airbnb-day {
        min-width: 40px;
        min-height: 40px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .flatpickr-calendar .flatpickr-day {
        min-width: 40px !important;
        min-height: 40px !important;
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        font-size: 14px !important;
    }
}

/* ============================================================
   Guest Counters
   ============================================================ */

.airbnb-guests-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.airbnb-guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--airbnb-border);
}

.airbnb-guest-row:last-child {
    border-bottom: none;
}

.airbnb-guest-info {
    flex: 1;
}

.airbnb-guest-type {
    font-size: 16px;
    font-weight: 600;
    color: var(--airbnb-black);
    margin-bottom: 4px;
}

.airbnb-guest-desc {
    font-size: 14px;
    color: var(--airbnb-gray-dark);
}

.airbnb-guest-counter {
    display: flex;
    align-items: center;
    gap: 16px;
}

.airbnb-counter-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--airbnb-gray-medium);
    border-radius: 50%;
    background: var(--airbnb-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--airbnb-gray-dark);
    transition: all 0.15s ease;
}

.airbnb-counter-btn:hover:not(:disabled) {
    border-color: var(--airbnb-black);
    color: var(--airbnb-black);
    transform: scale(1.05);
}

.airbnb-counter-btn:disabled {
    border-color: var(--airbnb-gray-light);
    color: var(--airbnb-gray-light);
    cursor: not-allowed;
}

.airbnb-counter-value {
    font-size: 16px;
    font-weight: 400;
    color: var(--airbnb-black);
    min-width: 20px;
    text-align: center;
}

/* ============================================================
   Modal Footer
   ============================================================ */

.airbnb-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.airbnb-clear-all {
    padding: 14px 24px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--airbnb-black);
    text-decoration: underline;
    cursor: pointer;
    border-radius: var(--airbnb-radius-small);
    transition: background-color 0.15s ease;
    font-family: var(--airbnb-font);
}

.airbnb-clear-all:hover {
    background-color: var(--airbnb-gray-subtle);
}

.airbnb-search-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--airbnb-primary) 0%, var(--airbnb-primary-dark) 100%);
    color: var(--airbnb-white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--airbnb-font);
    box-shadow: 0 6px 16px rgba(255, 56, 92, 0.3);
    letter-spacing: -0.01em;
    min-width: 140px;
    justify-content: center;
}

.airbnb-search-button:hover {
    background: linear-gradient(135deg, var(--airbnb-primary-dark) 0%, #D81B60 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 56, 92, 0.4);
}

.airbnb-search-button .airbnb-search-icon {
    width: 16px;
    height: 16px;
}

/* ============================================================
   Ultra-Black Dark Mode Support
   ============================================================ */

[data-theme="dark"] {
    --airbnb-primary: #FF5A7D;
    --airbnb-primary-dark: #FF385C;
    --airbnb-black: var(--dm-text-primary, #ffffff);
    --airbnb-gray-dark: var(--dm-text-secondary, #e0e0e0);
    --airbnb-gray-medium: var(--dm-text-muted, #b0b0b0);
    --airbnb-gray-light: var(--dm-text-disabled, #808080);
    --airbnb-gray-subtle: var(--dm-bg-tertiary, #121212);
    --airbnb-white: var(--dm-bg-secondary, #0a0a0a);
    --airbnb-border: var(--dm-border-primary, #2a2a2a);
}

/* Book Now button dark mode styles removed - handled in search-integration.css */

[data-theme="dark"] .airbnb-modal-backdrop {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

[data-theme="dark"] .airbnb-modal-container {
    background: linear-gradient(135deg, var(--dm-bg-secondary, #0a0a0a) 0%, var(--dm-bg-tertiary, #121212) 100%);
    box-shadow: var(--dm-shadow-2xl, 0 25px 50px rgba(0, 0, 0, 0.95)), 0 0 0 1px var(--dm-border-primary, #2a2a2a);
    border: 1px solid var(--dm-border-primary, #2a2a2a);
}

[data-theme="dark"] .airbnb-modal-header {
    background: linear-gradient(135deg, var(--dm-bg-secondary, #0a0a0a) 0%, var(--dm-bg-tertiary, #121212) 100%);
    border-bottom: 1px solid var(--dm-border-primary, #2a2a2a);
}

[data-theme="dark"] .airbnb-modal-title {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-close-btn {
    background: var(--dm-bg-tertiary, #121212);
    border: 1px solid var(--dm-border-primary, #2a2a2a);
    color: var(--dm-text-secondary, #e0e0e0);
}

[data-theme="dark"] .airbnb-close-btn:hover {
    background: var(--dm-bg-quaternary, #1a1a1a);
    border-color: var(--dm-border-primary, #2a2a2a);
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-modal-body {
    background: linear-gradient(135deg, var(--dm-bg-secondary, #0a0a0a) 0%, var(--dm-bg-tertiary, #121212) 100%);
    scrollbar-color: var(--dm-border-primary, #2a2a2a) transparent;
}

[data-theme="dark"] .airbnb-modal-body::-webkit-scrollbar-thumb {
    background-color: var(--dm-border-primary, #2a2a2a);
}

[data-theme="dark"] .airbnb-modal-body::-webkit-scrollbar-thumb:hover {
    background-color: var(--dm-bg-quaternary, #1a1a1a);
}

[data-theme="dark"] .airbnb-section-heading {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-section-heading::after {
    background: linear-gradient(90deg, #FF5A7D, #FF385C);
}

[data-theme="dark"] .airbnb-search-input {
    background: var(--dm-bg-tertiary, #121212);
    border-color: var(--dm-border-primary, #2a2a2a);
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-search-input:focus {
    border-color: var(--dm-accent-primary, #d4af37);
    box-shadow: 0 0 0 3px var(--dm-accent-glow, rgba(212, 175, 55, 0.3));
}

[data-theme="dark"] .airbnb-search-input::placeholder {
    color: var(--dm-text-muted, #b0b0b0);
}

[data-theme="dark"] .airbnb-search-icon {
    color: var(--dm-text-muted, #b0b0b0);
}

[data-theme="dark"] .airbnb-date-tabs {
    background: var(--dm-bg-tertiary, #121212);
}

[data-theme="dark"] .airbnb-tab {
    color: var(--dm-text-secondary, #e0e0e0);
}

[data-theme="dark"] .airbnb-tab:hover {
    color: var(--dm-text-primary, #ffffff);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .airbnb-tab--active {
    background: var(--dm-bg-quaternary, #1a1a1a);
    color: var(--dm-text-primary, #ffffff);
    box-shadow: var(--dm-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.6));
}

[data-theme="dark"] .airbnb-date-input {
    background: var(--dm-bg-tertiary, #121212);
    border-color: var(--dm-border-primary, #2a2a2a);
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-date-input:hover {
    border-color: var(--dm-border-primary, #2a2a2a);
    background: var(--dm-bg-quaternary, #1a1a1a);
}

[data-theme="dark"] .airbnb-date-input.selected {
    border-color: var(--dm-accent-primary, #d4af37);
    box-shadow: 0 0 0 3px var(--dm-accent-glow, rgba(212, 175, 55, 0.3));
}

[data-theme="dark"] .airbnb-date-label {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-date-value {
    color: var(--dm-text-muted, #b0b0b0);
}

[data-theme="dark"] .airbnb-date-value.has-date {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-month-title {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-day-header {
    color: var(--dm-text-muted, #b0b0b0);
}

[data-theme="dark"] .airbnb-day {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-day:hover:not(.disabled):not(.other-month) {
    background: var(--dm-bg-quaternary, #1a1a1a);
    border-color: var(--dm-border-primary, #2a2a2a);
}

[data-theme="dark"] .airbnb-day.disabled {
    color: var(--dm-text-disabled, #808080);
}

[data-theme="dark"] .airbnb-day.other-month {
    color: var(--dm-text-disabled, #808080);
}

[data-theme="dark"] .airbnb-day.selected,
[data-theme="dark"] .airbnb-day.range-start,
[data-theme="dark"] .airbnb-day.range-end {
    background: #FF385C;
    color: #FFFFFF;
}

[data-theme="dark"] .airbnb-day.in-range {
    background: rgba(255, 56, 92, 0.25);
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-guest-row {
    border-bottom-color: var(--dm-border-primary, #2a2a2a);
}

[data-theme="dark"] .airbnb-guest-type {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-guest-desc {
    color: var(--dm-text-muted, #b0b0b0);
}

[data-theme="dark"] .airbnb-counter-btn {
    background: var(--dm-bg-tertiary, #121212);
    border-color: var(--dm-border-primary, #2a2a2a);
    color: var(--dm-text-secondary, #e0e0e0);
}

[data-theme="dark"] .airbnb-counter-btn:hover:not(:disabled) {
    border-color: var(--dm-accent-primary, #d4af37);
    color: var(--dm-text-primary, #ffffff);
    background: var(--dm-bg-quaternary, #1a1a1a);
}

[data-theme="dark"] .airbnb-counter-btn:disabled {
    border-color: var(--dm-border-secondary, #1a1a1a);
    color: var(--dm-text-disabled, #808080);
}

[data-theme="dark"] .airbnb-counter-value {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-modal-footer {
    background: linear-gradient(135deg, var(--dm-bg-secondary, #0a0a0a) 0%, var(--dm-bg-tertiary, #121212) 100%);
    border-top-color: var(--dm-border-primary, #2a2a2a);
}

[data-theme="dark"] .airbnb-clear-all {
    color: var(--dm-text-secondary, #e0e0e0);
}

[data-theme="dark"] .airbnb-clear-all:hover {
    background-color: var(--dm-bg-quaternary, #1a1a1a);
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-search-button {
    background: linear-gradient(135deg, #FF385C 0%, #E31C5F 100%);
    color: #FFFFFF;
    box-shadow: 0 6px 16px rgba(255, 56, 92, 0.4);
}

[data-theme="dark"] .airbnb-search-button:hover {
    background: linear-gradient(135deg, #E31C5F 0%, #D81B60 100%);
    box-shadow: 0 8px 24px rgba(255, 56, 92, 0.5);
}

/* ============================================================
   Enhanced Large Screen Optimizations
   ============================================================ */

@media (min-width: 1200px) {
    .airbnb-modal-container {
        max-width: 1400px;
        border-radius: 32px;
    }
    
    .airbnb-modal-body {
        padding: 48px;
    }
    
    .airbnb-modal-header {
        padding: 40px 48px 0;
    }
    
    .airbnb-modal-footer {
        padding: 40px 48px;
    }
    
    .airbnb-section {
        margin-bottom: 64px;
    }
    
    .airbnb-section-heading {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .airbnb-calendar-container {
        gap: 64px;
        padding: 24px 0;
    }
    
    .airbnb-search-button {
        padding: 18px 36px;
        font-size: 18px;
        min-width: 160px;
    }
}

@media (min-width: 1600px) {
    .airbnb-modal-container {
        max-width: 1600px;
    }
    
    .airbnb-calendar-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 80px;
    }
}

/* ============================================================
   Responsive Design
   ============================================================ */

@media (max-width: 768px) {
    .airbnb-modal-backdrop {
        padding: 0;
        align-items: flex-start;
    }
    
    .airbnb-modal-container {
        max-width: none;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .airbnb-modal-backdrop.active .airbnb-modal-container {
        transform: translateY(0);
    }
    
    .airbnb-modal-header {
        padding: 20px 20px 16px;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .airbnb-modal-title {
        font-size: 20px;
    }
    
    .airbnb-modal-body {
        padding: 20px;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .airbnb-modal-footer {
        padding: 20px;
        position: sticky;
        bottom: 0;
        z-index: 10;
        flex-direction: column;
        gap: 12px;
    }
    
    .airbnb-search-button {
        width: 100%;
        min-width: auto;
    }
    
    .airbnb-calendar-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .airbnb-date-display {
        flex-direction: column;
        gap: 8px;
    }
    
    .airbnb-section {
        margin-bottom: 32px;
    }
    
    .airbnb-section-heading {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .location-cascading-selects {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .airbnb-search-pill {
        min-width: 100px;
        height: 44px;
        font-size: 13px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .airbnb-search-pill {
        min-width: 90px;
        height: 40px;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .airbnb-modal-header {
        padding: 16px 16px 12px;
    }
    
    .airbnb-modal-title {
        font-size: 18px;
    }
    
    .airbnb-close-btn {
        width: 36px;
        height: 36px;
    }
    
    .airbnb-modal-body {
        padding: 16px;
        max-height: calc(100vh - 120px);
    }
    
    .airbnb-modal-footer {
        padding: 16px;
        gap: 10px;
    }
    
    .airbnb-section {
        margin-bottom: 28px;
    }
    
    .airbnb-section-heading {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .airbnb-date-display {
        gap: 6px;
    }
    
    .airbnb-date-input {
        padding: 10px 12px;
    }
    
    .airbnb-day {
        min-width: 36px;
        min-height: 36px;
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .airbnb-guest-row {
        padding: 12px 0;
    }
    
    .airbnb-counter-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }
    
    .airbnb-search-button {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* ============================================================
   Enhanced Months Tab Styling
   ============================================================ */

.airbnb-months-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.airbnb-months-subtitle {
    color: var(--airbnb-gray-dark);
    font-size: 14px;
    margin: 0;
}

.airbnb-months-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 1.5rem;
}

.airbnb-month-option {
    background: var(--airbnb-white);
    border: 1px solid var(--airbnb-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.airbnb-month-option:hover {
    border-color: var(--airbnb-primary);
    box-shadow: 0 2px 8px rgba(255, 56, 92, 0.1);
}

.airbnb-month-option.selected {
    background: var(--airbnb-primary);
    border-color: var(--airbnb-primary);
    color: var(--airbnb-white);
}

.month-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.month-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.month-year {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.month-hint {
    font-size: 11px;
    opacity: 0.6;
}

.airbnb-month-option.winter { border-left: 4px solid #87ceeb; }
.airbnb-month-option.spring { border-left: 4px solid #98fb98; }
.airbnb-month-option.summer { border-left: 4px solid #ffd700; }
.airbnb-month-option.fall { border-left: 4px solid #daa520; }

.airbnb-months-info {
    background: var(--airbnb-gray-subtle);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.airbnb-months-info .info-text {
    margin: 0;
    font-size: 13px;
    color: var(--airbnb-gray-dark);
}

.airbnb-months-info .fas {
    color: var(--airbnb-primary);
    margin-right: 6px;
}

/* ============================================================
   Enhanced Flexible Tab Styling
   ============================================================ */

.airbnb-flexible-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.airbnb-flexible-subtitle {
    color: var(--airbnb-gray-dark);
    font-size: 14px;
    margin: 0;
}

.airbnb-flexible-duration {
    margin-bottom: 2rem;
}

.duration-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.duration-btn {
    background: var(--airbnb-white);
    border: 1px solid var(--airbnb-border);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.duration-btn:hover {
    border-color: var(--airbnb-primary);
    box-shadow: 0 2px 8px rgba(255, 56, 92, 0.1);
}

.duration-btn.selected {
    background: var(--airbnb-primary);
    border-color: var(--airbnb-primary);
    color: var(--airbnb-white);
}

.duration-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.duration-label {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.duration-desc {
    font-size: 12px;
    opacity: 0.7;
}

.airbnb-flexible-months {
    border-top: 1px solid var(--airbnb-border);
    padding-top: 1.5rem;
}

.flexible-when-label {
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--airbnb-black);
}

.flexible-months-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.flexible-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
    color: var(--airbnb-gray-dark);
    font-size: 14px;
}

.flexible-month,
.flexible-month-option {
    background: var(--airbnb-white);
    border: 1px solid var(--airbnb-border);
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.flexible-month:hover:not(.disabled),
.flexible-month-option:hover {
    border-color: var(--airbnb-primary);
    transform: translateY(-2px);
    box-shadow: var(--airbnb-shadow);
}

.flexible-month.selected,
.flexible-month-option.selected {
    background: var(--airbnb-primary);
    border-color: var(--airbnb-primary);
    color: var(--airbnb-white);
}

.flexible-month.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--airbnb-gray-subtle);
}

.flexible-month-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--airbnb-black);
}

.flexible-month.disabled .flexible-month-name {
    color: var(--airbnb-gray-medium);
}

.flexible-month.selected .flexible-month-name {
    color: var(--airbnb-white);
}

.flexible-month-count {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: var(--airbnb-primary);
    background: rgba(255, 56, 92, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: 4px;
}

.flexible-month.selected .flexible-month-count {
    color: var(--airbnb-white);
    background: rgba(255, 255, 255, 0.2);
}

.flexible-month-year {
    font-size: 11px;
    opacity: 0.7;
}

/* ============================================================
   Location Filter Integration
   ============================================================ */

.airbnb-search-input-wrapper {
    position: relative;
}

.airbnb-search-input[readonly] {
    cursor: pointer;
    background: var(--airbnb-white);
}

/* Dark mode adjustments for new elements - Ultra Black */
[data-theme="dark"] .airbnb-months-subtitle,
[data-theme="dark"] .airbnb-flexible-subtitle {
    color: var(--dm-text-muted, #b0b0b0);
}

[data-theme="dark"] .airbnb-month-option,
[data-theme="dark"] .duration-btn,
[data-theme="dark"] .flexible-month-option {
    background: var(--dm-bg-tertiary, #121212);
    border-color: var(--dm-border-primary, #2a2a2a);
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-month-option:hover,
[data-theme="dark"] .duration-btn:hover,
[data-theme="dark"] .flexible-month-option:hover {
    border-color: var(--dm-accent-primary, #d4af37);
    background: var(--dm-bg-quaternary, #1a1a1a);
}

[data-theme="dark"] .airbnb-month-option.selected,
[data-theme="dark"] .duration-btn.selected,
[data-theme="dark"] .flexible-month-option.selected {
    background: #FF385C;
    border-color: #FF385C;
    color: #FFFFFF;
}

[data-theme="dark"] .airbnb-months-info {
    background: var(--dm-bg-tertiary, #121212);
    border-color: var(--dm-border-primary, #2a2a2a);
}

[data-theme="dark"] .airbnb-months-info .info-text {
    color: var(--dm-text-muted, #b0b0b0);
}

[data-theme="dark"] .airbnb-months-info .fas {
    color: var(--dm-accent-primary, #d4af37);
}

[data-theme="dark"] .flexible-when-label {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-flexible-months {
    border-top-color: var(--dm-border-primary, #2a2a2a);
}

[data-theme="dark"] .airbnb-location-select {
    background: var(--dm-bg-tertiary, #121212);
    border-color: var(--dm-border-primary, #2a2a2a);
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-location-select:focus {
    border-color: var(--dm-accent-primary, #d4af37);
    box-shadow: 0 0 0 3px var(--dm-accent-glow, rgba(212, 175, 55, 0.3));
}

[data-theme="dark"] .airbnb-location-select:disabled {
    background: var(--dm-bg-secondary, #0a0a0a);
    color: var(--dm-text-disabled, #808080);
}

[data-theme="dark"] .location-selected-display {
    background: var(--dm-bg-tertiary, #121212);
    border-color: var(--dm-border-primary, #2a2a2a);
}

[data-theme="dark"] .location-selected-label {
    color: var(--dm-text-muted, #b0b0b0);
}

[data-theme="dark"] .location-selected-value {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .location-clear-btn {
    color: var(--dm-text-secondary, #e0e0e0);
}

[data-theme="dark"] .location-clear-btn:hover {
    background: var(--dm-bg-quaternary, #1a1a1a);
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .location-dropdown {
    background: var(--dm-bg-tertiary, #121212);
    border-color: var(--dm-border-primary, #2a2a2a);
    box-shadow: var(--dm-shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.9));
}

[data-theme="dark"] .location-item {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .location-item:hover {
    background: var(--dm-bg-quaternary, #1a1a1a);
}

[data-theme="dark"] .location-item-name {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .location-item-region {
    color: var(--dm-text-muted, #b0b0b0);
}

[data-theme="dark"] .location-item-count {
    background: var(--dm-bg-quaternary, #1a1a1a);
    color: var(--dm-text-secondary, #e0e0e0);
}

[data-theme="dark"] .airbnb-calendar-nav-btn {
    background: var(--dm-bg-tertiary, #121212);
    border-color: var(--dm-border-primary, #2a2a2a);
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-calendar-nav-btn:hover:not(:disabled) {
    background: var(--dm-bg-quaternary, #1a1a1a);
    border-color: var(--dm-accent-primary, #d4af37);
}

[data-theme="dark"] .airbnb-calendar-nav-months {
    color: var(--dm-text-primary, #ffffff);
}

[data-theme="dark"] .airbnb-calendar-month {
    background: var(--dm-bg-tertiary, #121212);
    border-color: var(--dm-border-primary, #2a2a2a);
    box-shadow: var(--dm-shadow-lg, 0 10px 15px rgba(0, 0, 0, 0.8));
}

/* ============================================================
   Focus States and Accessibility
   ============================================================ */

.airbnb-search-pill:focus-visible,
.airbnb-close-btn:focus-visible,
.airbnb-tab:focus-visible,
.airbnb-day:focus-visible,
.airbnb-counter-btn:focus-visible,
.airbnb-search-button:focus-visible,
.airbnb-clear-all:focus-visible,
.airbnb-month-option:focus-visible,
.duration-btn:focus-visible,
.flexible-month-option:focus-visible {
    outline: 2px solid var(--airbnb-black);
    outline-offset: 2px;
}

.airbnb-search-input:focus-visible {
    outline: none;
    border-color: var(--airbnb-black);
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

/* ============================================================
   Mobile Responsive Adjustments
   ============================================================ */

@media (max-width: 768px) {
    .airbnb-months-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .duration-options {
        grid-template-columns: 1fr;
    }
    
    .flexible-months-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .airbnb-month-option,
    .duration-btn {
        padding: 12px;
    }
    
    .month-icon,
    .duration-icon {
        font-size: 20px;
    }
}