/* Booking Modal Styles - Matching Face & Flare Theme */

.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.booking-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(183, 110, 121, 0.3);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.booking-modal.active .booking-modal-content {
    transform: translateY(0);
}

.booking-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-cream);
}

.booking-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.75rem, 1.5rem + 1.25vw, 2.25rem);
    color: var(--color-charcoal);
    margin-bottom: 10px;
    font-weight: 600;
}

.booking-header p {
    color: var(--color-rose-gold);
    font-size: 0.95rem;
}

.btn-close-booking {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--color-charcoal-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-close-booking:hover {
    background: var(--color-cream);
    color: var(--color-rose-gold);
    transform: rotate(90deg);
}

/* Booking Steps */
.booking-step {
    animation: fadeIn 0.4s ease;
}

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

/* Selected Services Summary */
.booking-services-summary {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-off-white) 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.booking-services-summary h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--color-charcoal);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-services-summary h3 i {
    color: var(--color-rose-gold);
}

.booking-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(183, 110, 121, 0.1);
}

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

.booking-service-name {
    font-weight: 500;
    color: var(--color-charcoal);
    flex: 1;
}

.booking-service-price {
    color: var(--color-rose-gold);
    font-weight: 600;
}

.booking-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--color-rose-gold);
    font-size: 1.1rem;
    font-weight: 600;
}

.booking-total-label {
    color: var(--color-charcoal);
}

.booking-total-amount {
    color: var(--color-rose-gold);
    font-size: 1.3rem;
}

/* Date and Time Selection */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--color-rose-gold);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--color-cream-dark);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
    color: var(--color-charcoal);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-rose-gold);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1);
}

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

/* Time Slots Grid */
.time-slots-container {
    margin-bottom: 25px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.time-slot {
    padding: 12px 16px;
    border: 2px solid var(--color-cream-dark);
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    color: var(--color-charcoal);
    position: relative;
}

.time-slot:hover {
    border-color: var(--color-rose-gold-light);
    background: var(--color-cream);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: linear-gradient(135deg, var(--color-rose-gold) 0%, var(--color-rose-gold-light) 100%);
    border-color: var(--color-rose-gold);
    color: white;
    box-shadow: 0 4px 12px rgba(183, 110, 121, 0.3);
}

.time-slot.unavailable {
    background: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
    border-color: #e0e0e0;
}

.time-slot.unavailable:hover {
    transform: none;
    background: #f5f5f5;
}

.time-slot-label {
    display: block;
    font-size: 0.95rem;
}

.time-slot-capacity {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 4px;
}

/* Loading States */
.loading-slots {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-rose-gold);
}

.loading-slots i {
    font-size: 2rem;
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.no-slots-message {
    text-align: center;
    padding: 30px 20px;
    color: var(--color-charcoal-light);
    background: var(--color-cream);
    border-radius: 12px;
}

/* Booking Buttons */
.btn-booking-primary {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--color-rose-gold) 0%, var(--color-rose-gold-light) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(183, 110, 121, 0.3);
}

.btn-booking-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 110, 121, 0.4);
}

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

.btn-booking-secondary {
    width: 100%;
    padding: 14px 24px;
    background: white;
    color: var(--color-rose-gold);
    border: 2px solid var(--color-rose-gold);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    margin-top: 12px;
}

.btn-booking-secondary:hover {
    background: var(--color-cream);
    transform: translateY(-2px);
}

/* Success Message */
.booking-success {
    text-align: center;
    padding: 40px 20px;
}

.booking-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-rose-gold) 0%, var(--color-rose-gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }
    60% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.booking-success-icon i {
    font-size: 2.5rem;
    color: white;
}

.booking-success h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    color: var(--color-charcoal);
    margin-bottom: 15px;
}

.booking-success p {
    color: var(--color-charcoal-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.booking-number {
    display: inline-block;
    background: var(--color-cream);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--color-rose-gold);
    margin: 20px 0;
    font-size: 1.1rem;
}

/* Error Message */
.booking-error {
    background: #fee;
    border-left: 4px solid #e53e3e;
    padding: 15px 20px;
    border-radius: 8px;
    color: #c53030;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    gap: 10px;
}

.booking-error.active {
    display: flex;
}

.booking-error i {
    font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .booking-modal-content {
        padding: 30px 20px;
        border-radius: 15px;
        max-height: 95vh;
    }
    
    .booking-header h2 {
        font-size: 1.5rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 10px;
    }
    
    .time-slot {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .btn-close-booking {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* Smooth Scrollbar */
.booking-modal-content::-webkit-scrollbar {
    width: 8px;
}

.booking-modal-content::-webkit-scrollbar-track {
    background: var(--color-cream);
    border-radius: 10px;
}

.booking-modal-content::-webkit-scrollbar-thumb {
    background: var(--color-rose-gold-light);
    border-radius: 10px;
}

.booking-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-rose-gold);
}
