/* Booking Modal Styles */
.booking-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 2rem 0;
}

.booking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10001;
}

.booking-modal {
    position: relative;
    width: 95%;
    max-width: 1200px;
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    z-index: 10002;
    max-height: 95vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
}

.booking-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10003;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.booking-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg) scale(1.1);
}

.booking-header {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.booking-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.booking-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.required {
    color: var(--danger-color);
}

.optional {
    color: var(--text-secondary);
    font-weight: 400;
}

.booking-form {
    padding: 1.5rem;
}

.booking-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.booking-section:last-of-type {
    border-bottom: none;
}

.booking-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

.phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.phone-code {
    width: 150px;
    flex-shrink: 0;
}

.phone-input-group input {
    flex: 1;
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"],
.radio-group input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.room-summary {
    padding: 0.875rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-color);
    margin-top: 0.5rem;
}

.free-cancellation-badge {
    display: inline-block;
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.section-note {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.food-age-info {
    background: var(--bg-tertiary);
    border-left: 4px solid var(--primary-color);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

.food-age-info .food-age-chargeable { color: var(--text-primary); }
.food-age-info .food-age-free { color: var(--success-color); }
.food-age-info .food-age-over { color: var(--text-secondary); }

.booking-summary {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 2px solid var(--border-light);
}

.summary-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.summary-header p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.summary-details {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

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

.detail-row-per-night {
    color: var(--primary-color, #2563eb);
    font-weight: 600;
}

.price-summary {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.price-summary h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.price-row-per-night {
    color: var(--primary-color, #2563eb);
    font-weight: 600;
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
}

.price-row.discount {
    color: var(--success-color);
    font-weight: 600;
}

.price-row.total {
    border-top: 2px solid var(--border-color);
    border-bottom: none;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.payment-info {
    margin-top: 1rem;
    padding: 0.875rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    line-height: 1.5;
}

.cancellation-info {
    margin-top: 0.75rem;
    padding: 0.875rem;
    background: #d1fae5;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--success-color);
    font-size: 0.85rem;
}

.free-cancel {
    color: #065f46;
    font-weight: 600;
}

.booking-footer {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-light);
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

.footer-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-complete-booking {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    letter-spacing: 0.3px;
}

.btn-complete-booking:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.btn-complete-booking:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

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

@media (max-width: 768px) {
    .booking-modal {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-header,
    .booking-form {
        padding: 1.5rem;
    }
    
    .booking-modal-container {
        padding: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .booking-modal {
        width: 100%;
        margin: 0;
    }
    
    .booking-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    
    .booking-header,
    .booking-form,
    .booking-footer {
        padding: 1rem;
    }
    
    .booking-header h2 {
        font-size: 1.25rem;
    }
    
    .phone-input-group {
        flex-direction: column;
    }
    
    .phone-code {
        width: 100%;
    }
    
    .booking-summary {
        padding: 1rem;
    }
}

