/* Booking Page Styles */

/* Progress Stepper */
.booking-stepper {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 40px 5% 0;
    max-width: 700px;
    margin: 0 auto;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.step-indicator.active {
    opacity: 1;
}

.step-indicator.completed {
    opacity: 0.7;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E0E0E0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.step-indicator.active .step-num {
    background: #5E239D;
    color: white;
}

.step-indicator.completed .step-num {
    background: #10B981;
    color: white;
}

.step-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1A1638;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: #E0E0E0;
    margin: 0 16px;
    align-self: center;
    transition: background 0.3s;
}

.step-connector.completed {
    background: #10B981;
}

/* Booking Container */
.booking-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 5% 80px;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-step h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--midnight) !important;
    margin-bottom: 8px;
    text-transform: none;
}

.booking-step .step-desc {
    color: #4a4a4a;
    /* Darker for better legibility */
    margin-bottom: 32px;
    font-size: 1rem;
}

/* Form Fields */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--midnight) !important;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #1A1638;
    transition: border-color 0.2s;
    background: white;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #5E239D;
}

.form-group input.error,
.form-group select.error {
    border-color: #F61067;
}

.form-group .error-msg {
    color: #F61067;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form-group .error-msg.visible {
    display: block;
}

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

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.time-slot {
    padding: 14px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1A1638;
    background: white;
}

.time-slot:hover {
    border-color: #5E239D;
    background: rgba(94, 35, 157, 0.03);
}

.time-slot.selected {
    border-color: #5E239D;
    background: #5E239D;
    color: white;
}

/* Location Options */
.location-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.location-option {
    padding: 20px;
    border: 2px solid #E0E0E0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.location-option:hover {
    border-color: #5E239D;
}

.location-option.selected {
    border-color: #5E239D;
    background: rgba(94, 35, 157, 0.05);
}

.location-option .loc-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.location-option h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1A1638;
    margin-bottom: 4px;
    text-transform: none;
}

.location-option p {
    font-size: 0.8rem;
    color: #444;
    /* Darker for better legibility */
}

/* Order Summary */
.order-summary {
    background: #fafafa;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
}

.order-summary h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1A1638;
    margin-bottom: 20px;
    text-transform: none;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

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

.summary-item .item-name {
    color: #1A1638;
    font-weight: 500;
}

.summary-item .item-price {
    color: #5E239D;
    font-weight: 700;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    margin-top: 8px;
    border-top: 2px solid #5E239D;
    font-size: 1.2rem;
}

.summary-total .label {
    font-weight: 700;
    color: #1A1638;
}

.summary-total .value {
    font-weight: 800;
    color: #5E239D;
    font-size: 1.4rem;
}

/* Booking Details Summary */
.booking-details {
    background: white;
    border: 1px solid rgba(94, 35, 157, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.booking-details h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #1A1638;
    margin-bottom: 12px;
    font-size: 1rem;
    text-transform: none;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}

.detail-row .detail-label {
    color: #444;
    /* Darker for better legibility */
}

.detail-row .detail-value {
    color: #1A1638;
    font-weight: 600;
}

/* Buttons */
.booking-btn-row {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.booking-next-btn {
    flex: 1;
    background: #F61067;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.booking-next-btn:hover {
    background: #D92E89;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 16, 103, 0.3);
}

.booking-back-btn {
    background: transparent;
    color: #5E239D;
    border: 2px solid #5E239D;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.booking-back-btn:hover {
    background: rgba(94, 35, 157, 0.05);
}

/* Coming Soon Modal */
.coming-soon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.coming-soon-overlay.visible {
    display: flex;
}

.coming-soon-modal {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.coming-soon-modal .modal-emoji {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.coming-soon-modal h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1A1638;
    margin-bottom: 12px;
    text-transform: none;
}

.coming-soon-modal p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.coming-soon-modal .modal-highlight {
    background: linear-gradient(135deg, #5E239D, #42D9C8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.waitlist-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.waitlist-form input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.waitlist-form input:focus {
    outline: none;
    border-color: #5E239D;
}

.waitlist-form button {
    background: #5E239D;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.waitlist-form button:hover {
    background: #4A1B7A;
}

.waitlist-success {
    display: none;
    color: #10B981;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.waitlist-success.visible {
    display: block;
}

.modal-close {
    color: #999;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
}

.modal-close:hover {
    color: #1A1638;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-stepper {
        gap: 0;
        padding: 24px 3% 0;
    }

    .step-label {
        display: none;
    }

    .step-connector {
        width: 30px;
        margin: 0 8px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-options {
        grid-template-columns: 1fr;
    }

    .booking-btn-row {
        flex-direction: column-reverse;
    }

    .booking-container {
        padding: 24px 5% 60px;
    }

    .coming-soon-modal {
        padding: 32px 24px;
    }

    .waitlist-form {
        flex-direction: column;
    }
}