/* ==========================
   BOOKING PAGE
========================== */

/* HERO */
.booking-hero {
    background: linear-gradient(135deg, rgba(26,26,26,0.9), rgba(45,45,45,0.9));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

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

.booking-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* FORM CONTAINER */
.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.booking-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

/* FORM STEPS */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

/* SERVICE & STYLIST OPTIONS */
.service-options,
.stylist-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.service-option .option-content,
.stylist-option .option-content {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
}

.service-option input:checked ~ .option-content,
.stylist-option input:checked ~ .option-content {
    border-color: var(--accent-color);
    background: rgba(212,175,55,0.05);
    box-shadow: 0 4px 12px rgba(212,175,55,0.2);
}

/* DATE / TIME & INFO INPUTS */
.datetime-inputs,
.info-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

/* SUMMARY BOX */
.summary-box {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

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

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

/* FORM BUTTONS */
.form-controls {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: #1a1a1a;
}

.btn-secondary {
    background: #e0e0e0;
    color: #1a1a1a;
}

/* SIDEBAR */
.booking-sidebar {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
    color: #999;
}

.step.active {
    background: rgba(212,175,55,0.1);
    color: var(--accent-color);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step.active .step-number {
    background: var(--accent-color);
    color: #1a1a1a;
}

/* SUCCESS MESSAGE */
.success-message {
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.success-message .success-details {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
    font-size: 0.95rem;
}

/* ==========================
   MOBILE RESPONSIVE
========================== */
@media (max-width: 768px) {
    .booking-form-wrapper {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }

    .progress-steps {
        flex-direction: row;
        gap: 0.5rem;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .step {
        flex: 1;
        flex-direction: column;
        padding: 0.5rem;
        font-size: 0.85rem;
        text-align: center;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
        margin: 0 auto;
    }

    .datetime-inputs,
    .info-inputs,
    .service-options,
    .stylist-options {
        grid-template-columns: 1fr;
    }

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

    .form-step h2 {
        font-size: 1.3rem;
    }

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

    .form-controls button {
        width: 100%;
    }
}
