/* Booking Modal Styles */

.booking-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.booking-modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.booking-modal {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.booking-modal-header {
    padding: 30px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.booking-modal-header h2 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 8px;
}

.booking-venue-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #718096;
    font-size: 0.95rem;
}

.booking-venue-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f7fafc;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-modal:hover {
    background: #edf2f7;
    transform: rotate(90deg);
}

.booking-modal-body {
    padding: 30px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

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

.party-size-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.party-size-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
}

.party-size-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.party-size-display {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    min-width: 40px;
    text-align: center;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.time-slot {
    padding: 12px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot:hover {
    border-color: #667eea;
    background: #f7fafc;
}

.time-slot.selected {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.time-slot.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
}

.time-slot.unavailable:hover {
    border-color: #e2e8f0;
    background: white;
}

.booking-summary {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.booking-summary h3 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #718096;
    font-size: 0.95rem;
}

.summary-value {
    color: #2d3748;
    font-weight: 600;
    font-size: 0.95rem;
}

.booking-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 15px;
}

.btn-booking {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-booking-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-booking-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-booking-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-booking-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-booking-secondary:hover {
    background: #edf2f7;
}

.booking-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
}

.booking-success h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.booking-success p {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.confirmation-details {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.confirmation-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 15px;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .booking-modal {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .booking-modal-footer {
        flex-direction: column;
    }
}