/**
 * Advanced Booking Calendar Styles
 * Beige/Cream theme matching reference images
 */

.advanced-booking-calendar {
    background: #f8f6f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(139, 125, 107, 0.15);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 900px;
    margin: 2rem auto;
    position: relative;
}

/* Calendar Navigation */
.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.nav-btn {
    background: none;
    border: none;
    color: #8b7d6b;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: #e8e4dc;
    color: #6b5d4b;
}

.month-headers {
    display: flex;
    gap: 60px;
    text-align: center;
}

.month-headers h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #5a4d3a;
    letter-spacing: 0.3px;
    font-family: 'Geologica', sans-serif;
}

/* Dual Calendar Layout */
.dual-calendar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

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

/* Weekday Headers */
.weekday-headers {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 8px;
}

.weekday {
    text-align: center;
    padding: 8px 4px;
    font-size: 13px;
    font-weight: 500;
    color: #8b7d6b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'General Sans', sans-serif;
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    /* Android optimizations */
    min-height: 48px;
    min-width: 48px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(171, 116, 66, 0.3);
    tap-highlight-color: rgba(171, 116, 66, 0.3);
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #5a4d3a;
    min-height: 40px;
    padding: 2px;
    background: transparent;
    border: 1px solid transparent;
}

/* Available dates - clean bold styling without !important */
.calendar-day.available {
    background-color: rgba(40, 167, 69, 0.12);
    border-color: rgba(40, 167, 69, 0.25);
}

/* Bold styling specifically for the date number */
.calendar-day.available .date-number {
    font-weight: 700;
    color: #1a331a;
}

.calendar-day.calendar-empty {
    background: transparent;
    border: none;
    cursor: default;
    pointer-events: none;
}

.availability-indicator {
    width: 100%;
    margin-bottom: 2px;
}

.availability-dots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1px;
    justify-items: center;
    max-width: 20px;
    margin: 0 auto;
}

.availability-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #dc3545;
}

.availability-dot.available {
    background: #28a745;
}

.availability-dot.occupied {
    background: #dc3545;
}

.date-number {
    font-size: 14px;
    font-weight: 500;
    font-family: 'General Sans', sans-serif;
}

.calendar-day:hover:not(.past-day):not(.other-month):not(.blocked-date) {
    background: #e8e4dc;
    transform: scale(1.05);
}

/* Date States */
.calendar-day.other-month {
    color: #c4b8a6;
    cursor: default;
}

.calendar-day.past-day {
    color: #d4c8b6;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day.blocked-date {
    background: #e4ddd3;
    color: #9a8c7a;
    cursor: not-allowed;
}

.calendar-day.checkin-date {
    background: #AB7442 !important;
    color: white !important;
    font-weight: 600;
    border-radius: 20px 8px 8px 20px !important;
}

.calendar-day.checkout-date {
    background: #AB7442 !important;
    color: white !important;
    font-weight: 600;
    border-radius: 8px 20px 20px 8px !important;
}

.calendar-day.in-range {
    background: #D4B08A !important;
    color: #8B5F36 !important;
    font-weight: 500;
    border-radius: 8px !important;
}

/* Single day selection (when only checkin is selected) */
.calendar-day.checkin-date:not(.in-range) {
    border-radius: 20px;
}

/* Guest Selection Overlay */
.guest-selection-overlay {
    position: absolute;
    top: 180px;
    left: 40px;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(139, 125, 107, 0.25);
    z-index: 1000;
    min-width: 320px;
    max-width: 380px;
    border: 1px solid #e8e4dc;
}

.guest-selector-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0ece4;
}

.guest-selector-item:last-of-type {
    border-bottom: none;
}

.guest-selector-item label {
    font-size: 15px;
    font-weight: 500;
    color: #5a4d3a;
    margin: 0;
}

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

.guest-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #d4c8b6;
    background: white;
    color: #5a4d3a;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.guest-btn:hover {
    background: #f0ece4;
    border-color: #c4b8a6;
}

.guest-btn:disabled {
    background: #f8f6f0;
    color: #c4b8a6;
    cursor: not-allowed;
}

.guest-count {
    font-size: 16px;
    font-weight: 600;
    color: #5a4d3a;
    min-width: 20px;
    text-align: center;
}

.room-info {
    margin-top: 16px;
    padding: 12px;
    background: #f8f6f0;
    border-radius: 8px;
    font-size: 13px;
    color: #7a6d5a;
    line-height: 1.4;
    width: 100%;
    min-width: 280px;
}

.rooms-needed {
    margin-bottom: 8px;
    color: #5a4d3a;
    display: inline-block;
    margin-right: 16px;
}

.room-details {
    color: #8b7d6b;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Bottom Control Bar */
.booking-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid #e8e4dc;
}

.nights-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: #AB7442;
    font-weight: 600;
    padding: 8px 12px;
    background: rgba(171, 116, 66, 0.1);
    border-radius: 8px;
    min-width: 60px;
}

.nights-display span {
    font-size: 18px;
    font-weight: bold;
}

.control-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.control-item label {
    font-size: 13px;
    color: #8b7d6b;
    font-weight: 500;
    margin: 0;
    font-family: 'Geologica', sans-serif;
}

.control-item .control-value {
    font-size: 15px;
    color: #5a4d3a;
    font-weight: 500;
    padding: 8px 0;
    font-family: 'Geologica', sans-serif;
}

.guests-control {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.guests-control:hover {
    background: #f8f6f0;
}

.continue-btn {
    background: #AB7442;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.continue-btn:hover:not(:disabled) {
    background: #8B5F36;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(171, 116, 66, 0.3);
}

.continue-btn:disabled {
    background: #c4b8a6;
    color: #f8f6f0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Enhanced Mobile Responsive Design for iPhone */
@media (max-width: 768px) {
    .advanced-booking-calendar {
        padding: 16px;
        margin: 0.5rem;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(139, 125, 107, 0.1);
    }

    .dual-calendar-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .month-headers {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
    }

    .month-headers h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .calendar-day {
        min-height: 44px !important;
        min-width: 44px !important;
        font-size: 14px;
        touch-action: manipulation;
        border-radius: 8px;
    }

    .weekday {
        font-size: 12px;
        padding: 8px 4px;
    }

    .booking-controls {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        border-radius: 12px;
    }

    .control-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
    }

    .control-item label {
        font-size: 14px;
        margin-bottom: 0;
    }

    .control-item .control-value {
        font-size: 14px;
        text-align: right;
    }

    .nights-display {
        font-size: 13px;
        padding: 6px 10px;
        min-width: 50px;
    }

    .nights-display span {
        font-size: 16px;
    }

    .continue-btn {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
        margin-top: 8px;
    }

    .guest-selection-overlay {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 40px);
        max-width: 420px;
        min-width: 320px;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 1050;
    }

    .guest-selector-item {
        padding: 16px 0;
        border-bottom: 1px solid #f0ece4;
    }

    .guest-selector-item label {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .guest-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
        touch-action: manipulation;
    }

    .guest-count {
        font-size: 18px;
        min-width: 24px;
    }

    .room-info {
        padding: 16px;
        font-size: 14px;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .advanced-booking-calendar {
        padding: 12px;
        margin: 0.25rem;
        border-radius: 12px;
    }

    .calendar-nav {
        margin-bottom: 16px;
    }

    .nav-btn {
        font-size: 18px;
        padding: 10px;
        min-height: 44px;
        min-width: 44px;
    }

    .month-headers h3 {
        font-size: 14px;
    }

    .calendar-day {
        min-height: 42px !important;
        min-width: 42px !important;
        font-size: 13px;
        border-radius: 6px;
    }

    .date-number {
        font-size: 13px;
    }

    .weekday {
        font-size: 10px;
        padding: 6px 2px;
    }

    .availability-dots {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        max-width: 16px;
    }

    .availability-dot {
        width: 3px;
        height: 3px;
    }

    .booking-controls {
        padding: 12px;
        gap: 10px;
    }

    .control-item {
        padding: 6px 0;
    }

    .control-item label {
        font-size: 13px;
    }

    .control-item .control-value {
        font-size: 13px;
    }

    .nights-display {
        font-size: 12px;
        padding: 6px 8px;
        min-width: 45px;
    }

    .nights-display span {
        font-size: 14px;
    }

    .continue-btn {
        padding: 12px 20px;
        font-size: 13px;
        min-height: 44px;
    }

    .guest-selection-overlay {
        padding: 12px;
        width: calc(100% - 16px);
        margin: 8px;
    }

    .guest-selector-item {
        padding: 12px 0;
    }

    .guest-selector-item label {
        font-size: 15px;
    }

    .guest-counter {
        gap: 12px;
    }

    .guest-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
        border-radius: 50%;
    }

    .guest-count {
        font-size: 16px;
        min-width: 20px;
    }

    .room-info {
        padding: 12px;
        font-size: 13px;
        margin-top: 10px;
        border-radius: 6px;
    }
}

/* Extra small devices - iPhone SE and similar */
@media (max-width: 375px) {
    .advanced-booking-calendar {
        padding: 8px;
        margin: 0.125rem;
    }

    .calendar-day {
        min-height: 40px !important;
        min-width: 40px !important;
        font-size: 12px;
    }

    .month-headers h3 {
        font-size: 13px;
    }

    .weekday {
        font-size: 9px;
        padding: 4px 1px;
    }

    .guest-selection-overlay {
        padding: 10px;
        width: calc(100% - 12px);
        margin: 6px;
    }

    .guest-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .guest-count {
        font-size: 15px;
    }

    .continue-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* Animation for guest overlay */
.guest-selection-overlay {
    animation: slideInFromTop 0.3s ease-out;
}

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

/* Focus states for accessibility */
.calendar-day:focus,
.guest-btn:focus,
.continue-btn:focus {
    outline: 2px solid #AB7442;
    outline-offset: 2px;
}

.guests-control:focus {
    outline: 2px solid #AB7442;
    outline-offset: 2px;
    border-radius: 8px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .calendar-day {
        border: 1px solid #5a4d3a;
    }
    
    .calendar-day.in-range {
        border: 2px solid #AB7442;
    }
    
    .calendar-day.checkin-date,
    .calendar-day.checkout-date {
        border: 2px solid #fff;
    }
}

/* NUCLEAR OPTION - ABSOLUTE OVERRIDE FOR DATE SELECTION */
#modal-booking-calendar-container .calendar-day.checkin-date,
.modal-calendar-container .calendar-day.checkin-date,
.advanced-booking-calendar .calendar-day.checkin-date {
    background: #AB7442 !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 20px 8px 8px 20px !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(171, 116, 66, 0.4) !important;
}

#modal-booking-calendar-container .calendar-day.checkout-date,
.modal-calendar-container .calendar-day.checkout-date,
.advanced-booking-calendar .calendar-day.checkout-date {
    background: #AB7442 !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 8px 20px 20px 8px !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(171, 116, 66, 0.4) !important;
}

#modal-booking-calendar-container .calendar-day.in-range,
.modal-calendar-container .calendar-day.in-range,
.advanced-booking-calendar .calendar-day.in-range {
    background: #D4B08A !important;
    color: #8B5F36 !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
}

/* Booking Form Styles */
.booking-form-container {
    background: #f8f6f0;
    border-radius: 16px;
    padding: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.booking-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8e4dc;
}

.back-to-calendar {
    background: none;
    border: 1px solid #AB7442;
    color: #AB7442;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.back-to-calendar:hover {
    background: #AB7442;
    color: white;
}

.booking-header h4 {
    margin: 0;
    color: #5a4d3a;
    font-size: 20px;
}

.booking-summary {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e8e4dc;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.summary-item strong {
    color: #5a4d3a;
    margin-right: 8px;
}

.booking-form {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e8e4dc;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #5a4d3a;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e8e4dc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #AB7442;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    margin-top: 24px;
    text-align: center;
}

.submit-btn {
    background: #AB7442;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
}

.submit-btn:hover:not(:disabled) {
    background: #8B5F36;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(171, 116, 66, 0.3);
}

.submit-btn:disabled {
    background: #c4b8a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success Message */
.booking-success {
    text-align: center;
    background: white;
    border-radius: 16px;
    padding: 48px 32px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #e8e4dc;
}

.success-icon {
    font-size: 64px;
    color: #AB7442;
    margin-bottom: 24px;
}

.booking-success h4 {
    color: #5a4d3a;
    margin-bottom: 16px;
    font-size: 24px;
}

.booking-success p {
    color: #7a6d5a;
    margin-bottom: 16px;
    line-height: 1.6;
}

.new-booking-btn {
    background: #AB7442;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.new-booking-btn:hover {
    background: #8B5F36;
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .booking-form-container {
        padding: 16px;
        margin: 16px;
    }
    
    .booking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .booking-summary {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .booking-form {
        padding: 16px;
    }
    
    .booking-success {
        padding: 32px 20px;
        margin: 16px;
    }
    
    .success-icon {
        font-size: 48px;
    }
}

/* Modal Calendar Styles - simplified to match main page exactly */
.modal-calendar-container {
    overflow: visible;
}

.modal-calendar-container .continue-btn {
    width: auto;
    padding: 12px 20px;
    margin: 0 auto;
    display: block;
}

/* Community Spaces Equal Height Fix */
.portfolio-item .border.border-5.border-light.border-top-0.p-4 {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ========================================
   Android-Specific Calendar Optimizations
   ======================================== */

/* Android Chrome calendar optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 1) {
    .calendar-day {
        min-height: 48px !important;
        min-width: 48px !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(171, 116, 66, 0.3);
        transform: translate3d(0, 0, 0);
        will-change: transform, background-color;
    }
    
    /* Enhanced ripple effect for Android */
    .calendar-day:active::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.4);
        transform: translate(-50%, -50%);
        animation: calendarRipple 0.4s ease-out;
        pointer-events: none;
    }
    
    .guest-btn:active::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(171, 116, 66, 0.3);
        transform: translate(-50%, -50%);
        animation: calendarRipple 0.4s ease-out;
        pointer-events: none;
    }
    
    .continue-btn:active::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        animation: calendarRipple 0.6s ease-out;
        pointer-events: none;
    }
}

/* Samsung Galaxy calendar optimizations */
@media screen and (min-width: 360px) and (max-width: 414px) {
    .advanced-booking-calendar {
        padding: 18px;
        margin: 0.5rem;
        border-radius: 18px;
    }
    
    .calendar-day {
        min-height: 48px !important;
        min-width: 48px !important;
        font-size: 15px;
        border-radius: 8px;
    }
    
    .guest-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-width: 2px;
    }
    
    .continue-btn {
        min-height: 52px;
        font-size: 16px;
        padding: 16px 24px;
        border-radius: 14px;
    }
    
    .guest-selection-overlay {
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(139, 125, 107, 0.25);
    }
}

/* Android tablet calendar optimizations */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .dual-calendar-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .calendar-day {
        min-height: 52px !important;
        min-width: 52px !important;
        font-size: 16px;
    }
    
    .guest-selection-overlay {
        position: absolute;
        top: 200px;
        left: 60px;
        transform: none;
        width: auto;
        max-width: 400px;
    }
}

/* Android keyboard handling */
@supports (env(keyboard-inset-height)) {
    .guest-selection-overlay {
        margin-bottom: calc(1rem + env(keyboard-inset-height, 0px));
    }
    
    .advanced-booking-calendar {
        margin-bottom: calc(2rem + env(keyboard-inset-height, 0px));
    }
}

/* Android Material Design scrollbar */
.guest-selection-overlay::-webkit-scrollbar {
    width: 6px;
}

.guest-selection-overlay::-webkit-scrollbar-track {
    background: #f0ece4;
    border-radius: 3px;
}

.guest-selection-overlay::-webkit-scrollbar-thumb {
    background: #AB7442;
    border-radius: 3px;
}

.guest-selection-overlay::-webkit-scrollbar-thumb:hover {
    background: #8B5F36;
}

/* Android accessibility improvements */
@media (prefers-contrast: high) {
    .calendar-day {
        border: 2px solid #5a4d3a;
        font-weight: 600;
    }
    
    .calendar-day.checkin-date,
    .calendar-day.checkout-date {
        border: 3px solid #ffffff;
        font-weight: bold;
    }
    
    .guest-btn {
        border-width: 2px;
        font-weight: bold;
    }
    
    .continue-btn {
        border: 2px solid #8B5F36;
        font-weight: bold;
    }
}

/* Ripple animation for Android Material Design */
@keyframes calendarRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* Android performance optimizations */
.calendar-day,
.guest-btn,
.continue-btn {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* Android One UI support */
@media screen and (max-height: 650px) and (orientation: landscape) {
    .guest-selection-overlay {
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .advanced-booking-calendar {
        padding: 16px;
        margin: 0.25rem;
    }
}

/* Samsung DeX mode optimizations */
@media screen and (min-width: 1024px) and (pointer: coarse) {
    .calendar-day {
        min-height: 56px !important;
        min-width: 56px !important;
        font-size: 16px;
    }
    
    .guest-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .continue-btn {
        min-height: 56px;
        font-size: 18px;
        padding: 18px 32px;
    }
}