/**
 * Booking Form Hotel Styles - Mobile First
 */

.lc-hotel-booking-form {
    background: #505050;
    border: 1px solid #E2C48E;
    border-radius: 16px;
    padding: 20px;
    color: #C2C2C2;
}

.lc-hotel-booking-form .lc-form-group {
    margin-bottom: 16px;
}

.lc-hotel-booking-form .lc-booking-select,
.lc-hotel-booking-form .lc-booking-guests-select,
.lc-hotel-booking-form select.lc-booking-input {
    width: 100%;
    padding: 14px 16px;
    background: #0B1014;
    border: 1px solid #F7F6F2;
    border-radius: 12px;
    color: #C2C2C2;
    font-size: 16px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E2C48E' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.lc-hotel-booking-form .lc-booking-select:focus,
.lc-hotel-booking-form .lc-booking-guests-select:focus,
.lc-hotel-booking-form select.lc-booking-input:focus {
    outline: none;
    border-color: #E2C48E;
    box-shadow: 0 0 0 3px rgba(226, 196, 142, 0.2);
}

.lc-hotel-booking-form .lc-booking-select option,
.lc-hotel-booking-form .lc-booking-guests-select option,
.lc-hotel-booking-form select.lc-booking-input option {
    background: #0B1014;
    color: #F7F6F2;
}

.lc-hotel-booking-form .lc-room-type-description {
    margin-top: 8px;
    padding: 8px 12px;
    background: #0B1014;
    border-radius: 8px;
    font-size: 13px;
    color: #C2C2C2;
    border-left: 3px solid #E2C48E;
}

.lc-hotel-booking-form .lc-booking-input {
    width: 100%;
    padding: 14px 16px;
    background: #0B1014;
    border: 1px solid #F7F6F2;
    border-radius: 12px;
    color: #C2C2C2;
    font-size: 16px;
}

.lc-hotel-booking-form .lc-booking-input:focus {
    outline: none;
    border-color: #E2C48E;
    box-shadow: 0 0 0 3px rgba(226, 196, 142, 0.2);
}

.lc-hotel-booking-form .lc-availability-hint {
    display: block;
    margin-top: 6px;
    color: #E2C48E;
    font-size: 12px;
}

.lc-hotel-booking-form .lc-price-breakdown {
    background: #0B1014;
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0 16px;
    border: 1px solid rgba(226, 196, 142, 0.2);
}

.lc-hotel-booking-form .lc-price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #C2C2C2;
}

.lc-hotel-booking-form .lc-total-row {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(226, 196, 142, 0.3);
    color: #E2C48E;
    font-weight: 700;
    font-size: 18px;
}

.lc-hotel-booking-form .lc-booking-submit {
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
}

.lc-hotel-booking-form .lc-booking-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}



.lc-hotel-booking-form .lc-booking-message {
    margin: 12px 0;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
}

.lc-hotel-booking-form .lc-booking-message.success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.lc-hotel-booking-form .lc-booking-message.error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* Блок дат Entrada / Salida */
.lc-hotel-booking-form .lc-booking-dates {
    display: block;
    margin-bottom: 16px;
}
.lc-hotel-booking-form .lc-booking-date-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}
.lc-hotel-booking-form .lc-booking-date-chip {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 14px;
    background: #0B1014;
    border: 1px solid rgba(226, 196, 142, 0.35);
    border-radius: 12px;
}
.lc-hotel-booking-form .lc-booking-date-chip-label {
    color: #E2C48E;
    font-size: 12px;
    font-weight: 600;
}
.lc-hotel-booking-form .lc-booking-date-chip input[type="text"] {
    background: rgba(255,255,255,0.07);
    border: none;
    border-bottom: 1px solid rgba(226,196,142,0.5);
    border-radius: 4px;
    outline: none;
    color: #F7F6F2;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 8px;
    width: 100%;
    box-sizing: border-box;
}
.lc-hotel-booking-form .lc-booking-date-chip input[type="text"]::placeholder {
    color: rgba(247,246,242,0.4);
    font-weight: 400;
}

/* ── Sticky bar + bottom sheet ──────────────────────────── */
/* Calendar title — reduce bold weight globally */
.lc-hotel-booking-card .lc-booking-calendar .fc-toolbar-title {
    font-weight: 400 !important;
    font-size: 16px !important;
}

.lc-hotel-mobile-bar    { display: none; }
.lc-hotel-booking-sheet-close { display: none; }

@media (max-width: 768px) {
    .lc-hotel-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 1200;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: #505050;
        border-top: 2px solid #E2C48E;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
        transition: opacity .25s, transform .25s, visibility .25s;
    }
    .lc-hotel-mobile-price {
        display: flex; flex-direction: column;
        color: #C2C2C2; font-size: 13px; min-width: 0;
    }
    .lc-hotel-mobile-price-value {
        color: #E2C48E; font-size: 20px; font-weight: 700; line-height: 1;
    }
    .lc-hotel-mobile-toggle {
        background: #E2C48E !important; color: #0B1014 !important;
        font-weight: 700 !important; white-space: nowrap; flex-shrink: 0;
    }
    body:has(.lc-hotel-mobile-bar) { padding-bottom: 80px; }

    body.lc-hotel-sheet-open .lc-hotel-mobile-bar {
        opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(100%);
    }

    .lc-hotel-booking-sheet-overlay { display: none; }
    body.lc-hotel-sheet-open .lc-hotel-booking-sheet-overlay {
        display: block; position: fixed; inset: 0;
        background: rgba(0,0,0,.55); z-index: 1300;
    }

    .lc-hotel-booking-card {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1301;
        width: 100%; max-height: min(90dvh, 760px);
        overflow-x: hidden; overflow-y: auto;
        -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
        padding: 48px 14px calc(18px + env(safe-area-inset-bottom));
        border-radius: 20px 20px 0 0;
        background: #1a1f24;
        border: 1px solid rgba(226,196,142,.18);
        box-shadow: 0 -12px 30px rgba(0,0,0,.35);
        transform: translateY(100%); opacity: 0;
        visibility: hidden; pointer-events: none;
        transition: transform .28s ease, opacity .28s ease, visibility .28s ease;
    }
    .lc-hotel-booking-card.is-open {
        transform: translateY(0); opacity: 1;
        visibility: visible; pointer-events: auto;
    }
    .lc-hotel-booking-card.is-open .lc-hotel-booking-sheet-close {
        display: flex; align-items: center; justify-content: center;
        position: absolute; top: 10px; right: 10px;
        width: 36px; height: 36px;
        border: none; border-radius: 50%;
        background: rgba(255,255,255,.08); color: #E2C48E;
        font-size: 22px; line-height: 1; cursor: pointer; z-index: 2;
    }
    .lc-hotel-booking-card .lc-booking-calendar { padding: 8px; }
    .lc-hotel-booking-card .lc-booking-calendar .fc-toolbar-title { font-size: 18px !important; font-weight: 400 !important; }
    .lc-hotel-booking-card .lc-booking-calendar .fc-daygrid-day-frame { min-height: 38px !important; padding: 2px !important; }
    .lc-hotel-booking-card .lc-booking-calendar .fc,
    .lc-hotel-booking-card .lc-booking-calendar .fc * { touch-action: manipulation; }
    .lc-hotel-booking-card .lc-booking-date-summary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .lc-hotel-booking-card .lc-booking-date-summary { grid-template-columns: 1fr; }
}

/* ============================================
   MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    .lc-hotel-booking-form {
        padding: 16px;
    }
    
    .lc-hotel-booking-form .lc-booking-select,
    .lc-hotel-booking-form .lc-booking-input {
        padding: 12px 14px;
        font-size: 16px;
    }
    
    .lc-hotel-booking-form .lc-booking-select {
        background-position: right 12px center;
        padding-right: 32px;
    }
    
    .lc-hotel-booking-form .lc-price-breakdown {
        padding: 12px;
        margin: 16px 0 12px;
    }
    
    .lc-hotel-booking-form .lc-price-row {
        font-size: 14px;
        padding: 6px 0;
    }
    
    .lc-hotel-booking-form .lc-total-row {
        font-size: 16px;
    }
    
    .lc-hotel-booking-form .lc-booking-submit {
        padding: 14px;
        font-size: 16px;
    }
    
}

/* ============================================
   SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .lc-hotel-booking-form {
        padding: 12px;
    }
    
    .lc-hotel-booking-form .lc-booking-header h3 {
        font-size: 20px;
    }
    
    .lc-hotel-booking-form .lc-form-group label {
        font-size: 14px;
    }
    
    .lc-hotel-booking-form .lc-booking-select,
    .lc-hotel-booking-form .lc-booking-input {
        padding: 10px 12px;
        font-size: 15px;
    }
    
    .lc-hotel-booking-form .lc-price-breakdown {
        padding: 10px;
    }
    
    .lc-hotel-booking-form .lc-price-row {
        font-size: 13px;
    }
    
    .lc-hotel-booking-form .lc-total-row {
        font-size: 15px;
    }
    
    .lc-hotel-booking-form .lc-booking-submit {
        padding: 12px;
        font-size: 15px;
    }
}

/* ============================================
   TABLET & DESKTOP (min-width: 769px)
   ============================================ */
@media (min-width: 769px) {
    .lc-hotel-booking-form {
        padding: 24px;
    }
    

}

@media (min-width: 1024px) {
    .lc-hotel-booking-form {
        padding: 28px;
    }
    
    .lc-hotel-booking-form .lc-booking-header h3 {
        font-size: 24px;
    }
    
    .lc-hotel-booking-form .lc-price-breakdown {
        padding: 20px;
    }
    
    .lc-hotel-booking-form .lc-total-row {
        font-size: 20px;
    }
}