/* ══════════════════════════════════════════════════════════
   CHAMPION GROOMING – BOOKING WIZARD CSS
   ══════════════════════════════════════════════════════════ */

/* ─── HERO ─────────────────────────────────────────────── */

.booking-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 5rem 2rem 3rem;
    text-align: center;
}

.booking-hero-inner {
    max-width: 600px;
    margin: 0 auto;
}

/* ─── CONTAINER ────────────────────────────────────────── */

.booking-section {
    background: #0e0e0e;
    padding: 2rem;
    min-height: 60vh;
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
}

/* ─── STEPPER ──────────────────────────────────────────── */

.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    position: relative;
}

.stepper-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e1e1e;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s;
}

.stepper-step.active .stepper-circle {
    background: #c8a45a;
    border-color: #c8a45a;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(200, 164, 90, 0.3);
}

.stepper-step.completed .stepper-circle {
    background: #22c55e;
    border-color: #22c55e;
    color: white;
}

.stepper-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.stepper-step.active .stepper-label {
    color: #c8a45a;
}

.stepper-step.completed .stepper-label {
    color: #22c55e;
}

.stepper-line {
    width: 60px;
    height: 2px;
    background: #333;
    margin: 0 0.5rem;
    margin-bottom: 1.2rem;
}

/* ─── STEP PANELS ──────────────────────────────────────── */

.step-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

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

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

.step-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 1.5rem;
}

.step-title i {
    color: #c8a45a;
    margin-right: 0.5rem;
}

/* ─── SERVICE SEARCH ───────────────────────────────────── */

.service-search {
    position: relative;
    margin-bottom: 1.5rem;
}

.service-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.service-search input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    color: #f5f5f5;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border 0.2s;
}

.service-search input:focus {
    outline: none;
    border-color: #c8a45a;
}

/* ─── SERVICES ACCORDION ──────────────────────────────── */

.svc-category {
    margin-bottom: 0.5rem;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
}

.svc-category-header {
    padding: 0.9rem 1.2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.svc-category-header:hover {
    background: rgba(200, 164, 90, 0.05);
}

.svc-chevron {
    font-size: 0.7rem;
    margin-right: 0.5rem;
    transition: transform 0.2s;
    color: #c8a45a;
}

.svc-category.open .svc-chevron {
    transform: rotate(90deg);
}

.svc-count {
    color: #666;
    font-weight: 400;
    font-size: 0.85rem;
}

.svc-category-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.svc-category.open .svc-category-body {
    max-height: 5000px;
}

.svc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    border-top: 1px solid #222;
    cursor: pointer;
    transition: background 0.15s;
    gap: 1rem;
}

.svc-item:hover {
    background: rgba(200, 164, 90, 0.06);
}

.svc-item.selected {
    background: rgba(200, 164, 90, 0.12);
    border-left: 3px solid #c8a45a;
}

.svc-item-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.svc-item-desc {
    color: #888;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.svc-item-meta {
    text-align: right;
    white-space: nowrap;
}

.svc-item-price {
    font-weight: 700;
    color: #c8a45a;
    font-size: 0.95rem;
}

.svc-item-duration {
    color: #888;
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

/* ─── GROOMER CARDS ────────────────────────────────────── */

.groomers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.groomer-card {
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.groomer-card:hover {
    border-color: #c8a45a;
    transform: translateY(-2px);
}

.groomer-card.selected {
    border-color: #c8a45a;
    background: rgba(200, 164, 90, 0.1);
    box-shadow: 0 0 20px rgba(200, 164, 90, 0.15);
}

.groomer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 auto 0.8rem;
}

.groomer-name {
    font-weight: 500;
    font-size: 0.9rem;
}

/* ─── DATE & TIME ──────────────────────────────────────── */

.date-picker-area {
    margin-bottom: 2rem;
}

.date-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e1e1e;
    border: 1px solid #333;
    color: #f5f5f5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.date-nav-btn:hover {
    background: #2a2a2a;
    border-color: #c8a45a;
}

.date-nav-label {
    font-weight: 500;
    font-size: 0.95rem;
    min-width: 200px;
    text-align: center;
}

.date-strip {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.date-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.7rem 1rem;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    color: #f5f5f5;
    cursor: pointer;
    transition: all 0.15s;
    min-width: 65px;
    font-family: 'Inter', sans-serif;
}

.date-btn:hover:not(.disabled) {
    border-color: #c8a45a;
}

.date-btn.selected {
    background: #c8a45a;
    border-color: #c8a45a;
    color: #0a0a0a;
}

.date-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.date-day {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
}

.date-num {
    font-size: 1.2rem;
    font-weight: 700;
}

.date-month {
    font-size: 0.7rem;
    color: #888;
}

.date-btn.selected .date-month {
    color: rgba(0, 0, 0, 0.6);
}

.time-slots-area {
    margin-bottom: 2rem;
}

.time-slots-title {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 1rem;
    text-align: center;
}

.time-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.time-slot-btn {
    padding: 0.6rem 1.2rem;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #f5f5f5;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s;
}

.time-slot-btn:hover {
    border-color: #c8a45a;
    background: rgba(200, 164, 90, 0.08);
}

.time-slot-btn.selected {
    background: #c8a45a;
    border-color: #c8a45a;
    color: #0a0a0a;
}

.time-slots-loading {
    text-align: center;
    padding: 2rem;
    color: #c8a45a;
    font-size: 0.95rem;
}

.no-slots-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    color: #666;
    text-align: center;
}

.no-slots-msg i {
    font-size: 2rem;
}

/* ─── BOOKING FORM ─────────────────────────────────────── */

.booking-summary {
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.45rem 0;
    font-size: 0.9rem;
}

.summary-row span {
    color: #888;
}

.summary-row .gold {
    color: #c8a45a;
}

.summary-row+.summary-row {
    border-top: 1px solid #222;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.booking-form-grid .full-width {
    grid-column: 1 / -1;
}

.booking-form-grid .form-group {
    margin-bottom: 0;
}

.booking-form-grid label {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.booking-form-grid input,
.booking-form-grid textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #f5f5f5;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: border 0.2s;
}

.booking-form-grid input:focus,
.booking-form-grid textarea:focus {
    outline: none;
    border-color: #c8a45a;
}

.booking-form-grid textarea {
    resize: vertical;
    min-height: 60px;
}

.booking-consent {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #888;
}

.booking-consent input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #c8a45a;
}

.booking-consent a {
    color: #c8a45a;
    text-decoration: none;
}

.booking-consent a:hover {
    text-decoration: underline;
}

.booking-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.15s;
    text-decoration: none;
}

.btn-back:hover {
    border-color: #666;
    color: #f5f5f5;
}

.btn-book {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: #c8a45a;
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.15s;
    text-decoration: none;
}

.btn-book:hover {
    background: #b89540;
}

.btn-book:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ─── SUCCESS ──────────────────────────────────────────── */

.booking-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 1rem;
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.booking-success h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.booking-success>p {
    color: #888;
    margin-bottom: 1.5rem;
}

.success-details {
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    max-width: 400px;
    margin: 0 auto 1.5rem;
    text-align: left;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── RESPONSIVE ───────────────────────────────────────── */

@media (max-width: 768px) {
    .booking-hero {
        padding: 3.5rem 1rem 2rem;
    }

    .booking-section {
        padding: 1rem;
    }

    .stepper-line {
        width: 30px;
    }

    .stepper-label {
        font-size: 0.65rem;
    }

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

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

    .booking-actions {
        flex-direction: column-reverse;
    }

    .btn-book {
        width: 100%;
        justify-content: center;
    }

    .btn-back {
        width: 100%;
        justify-content: center;
    }

    .date-strip {
        gap: 0.3rem;
    }

    .date-btn {
        min-width: 48px;
        padding: 0.5rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .stepper-line {
        width: 15px;
    }

    .stepper-circle {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}