/* ============================================
   SANDROS BARBER LOUNGE — Booking Page Styles
   Black & White Minimal
   ============================================ */

.booking-page {
    min-height: 100vh;
    padding-top: var(--space-4);
    background: var(--surface-primary);
}

.booking-page-header {
    text-align: center;
    padding: var(--space-12) 0;
}

.booking-wizard {
    max-width: 760px;
    margin: 0 auto;
    padding-bottom: var(--space-20);
}

/* Progress Steps */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-12);
}

.booking-progress-step {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.booking-progress-circle {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    color: var(--text-muted);
    transition: all var(--duration-normal) var(--ease-premium);
}

.booking-progress-step.active .booking-progress-circle {
    border-color: var(--color-black);
    background: var(--color-black);
    color: var(--color-white);
}

.booking-progress-step.completed .booking-progress-circle {
    border-color: var(--color-black);
    background: transparent;
    color: var(--color-black);
}

.booking-progress-label {
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--duration-normal) var(--ease-out);
}

.booking-progress-step.active .booking-progress-label,
.booking-progress-step.completed .booking-progress-label {
    color: var(--text-primary);
}

.booking-progress-connector {
    width: 40px;
    height: 1px;
    background: var(--border-strong);
    margin: 0 var(--space-2);
    transition: background var(--duration-normal) var(--ease-out);
}

.booking-progress-step.completed+.booking-progress-connector {
    background: var(--color-black);
}

/* Wizard Panels */
.booking-panel {
    display: none;
    animation: fadeInUp 0.6s var(--ease-premium);
}

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

.booking-panel-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--weight-semibold);
    text-align: center;
    margin-bottom: var(--space-2);
}

.booking-panel-subtitle {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    text-align: center;
    margin-bottom: var(--space-10);
}

/* Service Selection */
.booking-service-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.booking-service-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6);
    border: 1px solid var(--border-color);
    background: var(--surface-card);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-premium);
}

.booking-service-option:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.booking-service-option.selected {
    border-color: var(--color-black);
    box-shadow: var(--shadow-lg);
}

.booking-service-left {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.booking-service-emoji {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-snow);
}

.booking-service-info h3 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-1);
}

.booking-service-info p {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.booking-service-right {
    text-align: right;
}

.booking-service-price-value {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--text-primary);
}

.booking-service-duration {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Add-ons */
.booking-addons-title {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin: var(--space-8) 0 var(--space-4);
}

.booking-addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border: 1px solid var(--border-light);
    margin-bottom: var(--space-2);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}

.booking-addon-item:hover {
    border-color: var(--border-strong);
}

.booking-addon-item.selected {
    border-color: var(--color-black);
    background: var(--color-offwhite);
}

.booking-addon-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-3);
    transition: all var(--duration-normal) var(--ease-out);
    font-size: 12px;
    color: transparent;
}

.booking-addon-item.selected .booking-addon-check {
    border-color: var(--color-black);
    background: var(--color-black);
    color: var(--color-white);
}

.booking-addon-left {
    display: flex;
    align-items: center;
}

.booking-addon-name {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

.booking-addon-price {
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-weight: var(--weight-semibold);
}

/* Date & Time Selection */
.booking-calendar {
    margin-bottom: var(--space-8);
}

.booking-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
}

.booking-calendar-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
}

.booking-calendar-nav {
    display: flex;
    gap: var(--space-2);
}

.booking-calendar-nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-out);
    color: var(--text-secondary);
}

.booking-calendar-nav-btn:hover {
    border-color: var(--color-black);
    color: var(--color-black);
}

.booking-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-1);
    margin-bottom: var(--space-2);
}

.booking-day-header {
    text-align: center;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    color: var(--text-muted);
    padding: var(--space-2);
    letter-spacing: var(--tracking-wide);
}

.booking-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-1);
}

.booking-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    color: var(--text-secondary);
}

.booking-day:hover:not(.disabled):not(.past) {
    background: var(--color-snow);
    color: var(--text-primary);
}

.booking-day.selected {
    background: var(--color-black);
    color: var(--color-white);
    font-weight: var(--weight-bold);
}

.booking-day.today {
    border: 1px solid var(--color-black);
}

.booking-day.disabled,
.booking-day.past {
    background: #f1f1f1;
    color: #bbb;
    cursor: not-allowed;
    opacity: 1;
}

/* Time Slots */
.booking-time-title {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: var(--space-4);
}

.booking-time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}

.booking-time-slot {
    padding: var(--space-4);
    text-align: center;
    border: 1px solid var(--border-color);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}

.booking-time-slot:hover:not(.unavailable) {
    border-color: var(--color-black);
    background: var(--color-snow);
}

.booking-time-slot.selected {
    border-color: var(--color-black);
    background: var(--color-black);
    color: var(--color-white);
    font-weight: var(--weight-bold);
}

.booking-time-slot.unavailable {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Customer Details */
.booking-form-group {
    margin-bottom: var(--space-5);
}

.booking-form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
}

.booking-form-input {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    border: 1px solid var(--border-color);
    background: var(--surface-card);
    font-size: var(--text-base);
    color: var(--text-primary);
    transition: all var(--duration-normal) var(--ease-out);
}

.booking-form-input:focus {
    border-color: var(--color-black);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.booking-form-input::placeholder {
    color: var(--text-muted);
}

.booking-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.booking-form-textarea {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    border: 1px solid var(--border-color);
    background: var(--surface-card);
    font-size: var(--text-base);
    color: var(--text-primary);
    resize: vertical;
    min-height: 100px;
    transition: all var(--duration-normal) var(--ease-out);
}

.booking-form-textarea:focus {
    border-color: var(--color-black);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

/* Payment */
.booking-summary {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.booking-summary-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.booking-summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-3) 0;
    font-size: var(--text-sm);
}

.booking-summary-row.total {
    border-top: 1px solid var(--border-color);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    font-weight: var(--weight-bold);
    font-size: var(--text-base);
}

.booking-summary-row.total .booking-summary-value {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: var(--text-xl);
}

.booking-summary-label {
    color: var(--text-tertiary);
}

.booking-summary-value {
    font-weight: var(--weight-semibold);
}

/* Payment Options */
.booking-payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.booking-payment-option {
    padding: var(--space-6);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    text-align: center;
}

.booking-payment-option:hover {
    border-color: var(--border-strong);
}

.booking-payment-option.selected {
    border-color: var(--color-black);
    background: var(--color-offwhite);
}

.booking-payment-option-title {
    font-weight: var(--weight-semibold);
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.booking-payment-option-desc {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Navigation Buttons */
.booking-nav {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-10);
}

.booking-nav .btn {
    min-width: 160px;
}

/* Confirmation */
.booking-confirmation {
    text-align: center;
    padding: var(--space-12) 0;
}

.booking-confirmation-icon {
    width: 80px;
    height: 80px;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-8);
    font-size: 2rem;
    color: var(--color-white);
    animation: scaleIn 0.6s var(--ease-spring);
}

.booking-confirmation h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.booking-confirmation p {
    color: var(--text-tertiary);
    max-width: 400px;
    margin: 0 auto var(--space-8);
}

.booking-confirmation-details {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    padding: var(--space-8);
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.booking-confirmation-detail {
    display: flex;
    justify-content: space-between;
    padding: var(--space-3) 0;
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--border-light);
}

.booking-confirmation-detail:last-child {
    border-bottom: none;
}

.booking-confirmation-detail-label {
    color: var(--text-tertiary);
}

.booking-confirmation-detail-value {
    font-weight: var(--weight-semibold);
}

@media (max-width: 768px) {
    .booking-time-slots {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .booking-progress-label {
        display: none;
    }

    .booking-nav {
        flex-direction: column-reverse;
        gap: var(--space-3);
    }

    .booking-nav .btn {
        width: 100%;
    }
}