/* Booking Page Specific Styles */

.booking-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.booking-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.booking-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

.booking-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.booking-form-wrapper h2 {
    color: var(--dark);
    margin-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 3px solid var(--primary-yellow);
    padding-bottom: 1rem;
}

/* Form Steps */
.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--light-gray);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 3px solid var(--light-gray);
}

.step.active .step-number {
    background: var(--primary-yellow);
    color: var(--dark);
    border-color: var(--primary-yellow);
    transform: scale(1.1);
}

.step-title {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.step.active .step-title {
    color: var(--dark);
    font-weight: 600;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.05rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--white);
    color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 205, 0, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

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

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* OTP Input */
.otp-section {
    text-align: center;
    padding: 2rem;
}

.otp-icon {
    font-size: 4rem;
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
}

.otp-section h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.otp-section p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.otp-input {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.otp-digit {
    width: 55px;
    height: 55px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
}

.otp-digit:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 205, 0, 0.1);
    transform: scale(1.05);
}

.resend-otp {
    background: none;
    border: none;
    color: var(--primary-yellow);
    cursor: pointer;
    text-decoration: underline;
    font-size: 1rem;
    margin-top: 1rem;
}

.resend-otp:hover {
    color: var(--dark);
}

/* Success Confirmation */
.success-confirmation {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 1.5rem;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-confirmation h2 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.complaint-number {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.complaint-number h3 {
    color: var(--primary-yellow);
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

/* Cart Section */
.cart-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.cart-section h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.cart-item-info h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 1rem;
}

.cart-item-info p {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.cart-item-price {
    font-weight: bold;
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.remove-item {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: all 0.3s;
}

/* Quantity controls */
.qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 205, 0, 0.12);
    border: 1px solid rgba(255, 205, 0, 0.35);
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    margin-top: 0.7rem;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--primary-yellow);
    color: var(--dark);
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--dark);
    color: var(--primary-yellow);
}

.qty-value {
    font-weight: 800;
    min-width: 22px;
    text-align: center;
    color: var(--dark);
}

.remove-item:hover {
    color: #c82333;
    transform: scale(1.2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 3px solid var(--dark);
    margin-top: 1rem;
    font-size: 1.4rem;
    font-weight: bold;
}

.cart-total span:last-child {
    color: var(--primary-yellow);
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-cart i {
    font-size: 5rem;
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.empty-cart h3 {
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

/* Buttons */
.btn-booking {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-yellow);
    color: var(--dark);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-booking:hover {
    background: var(--dark);
    color: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-booking:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 968px) {
    .booking-container {
        grid-template-columns: 1fr;
    }

    /* On mobile/tablet, keep booking form first and cart below */
    .cart-section {
        position: relative;
        top: 0;
        max-height: none;
        order: 2;
    }

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

    .otp-input {
        gap: 0.5rem;
    }

    .otp-digit {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .booking-hero h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .booking-form-wrapper {
        padding: 1.25rem;
    }

    .form-steps {
        font-size: 0.85rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* OTP fit on small screens (single line) */
    .otp-input {
        gap: 0.35rem;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .otp-digit {
        width: 40px;
        height: 44px;
        font-size: 1.2rem;
        border-radius: 10px;
    }

    .success-confirmation {
        padding: 2rem 1.25rem;
    }

    .complaint-number h3 {
        font-size: 2rem;
        word-break: break-word;
    }
}