/* Booking wizard styles */
.wizard-steps { gap: 0; }
.step-indicator {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}
#booking-wizard .step {
    width: 34px;
    height: 34px;
    background: #fff;
    color: var(--fa-muted);
    border: 2px solid #EDE0D3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-weight: 700;
    font-size: .85rem;
    transition: all .2s ease;
}
.step-label { font-size: .72rem; color: var(--fa-muted); text-align: center; max-width: 84px; line-height: 1.25; }
#booking-wizard .step.active,
#booking-wizard .step[aria-current="step"] { background: var(--fa-primary); border-color: var(--fa-primary); color: #fff; }
.step-indicator:has(.step.active) .step-label,
.step-indicator:has(.step[aria-current="step"]) .step-label { color: var(--fa-text); font-weight: 600; }
.step-connector {
    flex: 1;
    height: 2px;
    background: #EDE0D3;
    margin: 17px 6px 0;
    min-width: 12px;
}
.calendar-day {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.2s ease;
}
.calendar-day:hover {
    background-color: #e9ecef;
}
.calendar-day.selected { background-color: var(--fa-primary); color: #fff; }
/* Holiday style */
.calendar-day.holiday {
    background-color: #ffebee;
    color: #d32f2f;
    position: relative;
}
.calendar-day.holiday:hover {
    background-color: #ffcdd2;
}
.calendar-day.holiday::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #d32f2f;
}
.time-slot {
    padding: 8px 12px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}
.time-slot:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}
.time-slot.selected { background-color: var(--fa-primary); color: #fff; border-color: var(--fa-primary); }
.employee-card, .service-card {
    cursor: pointer;
    transition: all 0.15s ease;
    height: 100%;
    border: 2px solid #EDE0D3 !important;
    border-radius: 14px;
}
.employee-card:hover, .service-card:hover {
    border-color: var(--fa-primary) !important;
    background: #FBF3EC;
}
#booking-wizard .service-card .card-body { padding: 14px 16px; }
#booking-wizard .service-card .card-title { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
#booking-wizard .service-card .card-text { font-size: .8rem; color: var(--fa-muted); margin-bottom: 10px; }
#booking-wizard .service-card .d-flex span:first-child { font-size: .78rem; color: var(--fa-muted); }
#booking-wizard .service-card .d-flex span.fw-bold { color: var(--fa-primary); }

#booking-wizard .employee-card .card-body { padding: 12px 14px; }
.wizard-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fa-primary), var(--fa-secondary, var(--fa-primary)));
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
#booking-wizard .employee-card h6 { font-weight: 600; font-size: .9rem; }
#booking-wizard .employee-card small { font-size: .76rem; }

/* Wizard compact mode for hero */
.wizard-compact .card { border: 1px solid #EDE0D3; border-radius: 14px; box-shadow: 0 12px 24px rgba(2,8,23,.06); }
.wizard-compact .card-body { padding: .6rem .85rem; }
.wizard-compact .card-title { font-size: 1rem; }
.wizard-compact .step { width: 32px; height: 32px; }
.wizard-compact .step-label { display: none; }
.wizard-compact .wizard-steps { display: none !important; }
.wizard-compact .calendar-day { width: 30px; height: 30px; }
.wizard-compact .table th, .wizard-compact .table td { padding: .25rem; }
.wizard-compact .btn { border-radius: .75rem; }
.wizard-compact .employee-card .rounded-circle { width: 40px !important; height: 40px !important; }
.wizard-compact .service-card h5 { font-size: 1rem; }
.wizard-compact .service-card .card-text { margin-bottom: .5rem; }

/* Brand on outline buttons only inside wizard */
#booking-wizard .btn-outline-primary { border-color: var(--fa-primary); color: var(--fa-primary); }
#booking-wizard .btn-outline-primary:hover { background-color: var(--fa-primary); color: #fff; }
#booking-wizard .service-card.border-primary,
#booking-wizard .employee-card.border-primary {
  border-color: var(--fa-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(193,101,47,.15) !important;
}

/* Form styles to match mint theme */
#booking-wizard .form-control,
#booking-wizard .form-select { border-color:#EDE0D3; border-radius:10px; }
#booking-wizard .form-control:focus,
#booking-wizard .form-select:focus { border-color: var(--fa-primary); box-shadow: 0 0 0 .2rem rgba(193,101,47,.12); }
#booking-wizard .btn-primary,
#booking-wizard .btn-success { background: var(--fa-primary); border:none; border-radius:999px; font-weight:700; }
#booking-wizard .btn-primary:hover,
#booking-wizard .btn-success:hover { filter:brightness(.95); }

/* Accessibility: focus-visible outlines for key interactive blocks */
#booking-wizard .service-card:focus-visible,
#booking-wizard .employee-card:focus-visible,
#booking-wizard .calendar-day.available:focus-visible,
#booking-wizard .time-slot:focus-visible,
#booking-wizard .btn:focus-visible {
  outline: 3px solid var(--fa-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 .2rem rgba(193,101,47,.15);
}

/* Step indicator via ARIA */
.step[aria-current="step"] { background: linear-gradient(90deg, var(--fa-primary), var(--fa-secondary)); color:#fff; }

/* Calendar day enhancements */
.calendar-day.available:hover { background-color: #FBF3EC; }
.calendar-day[aria-current="date"],
.calendar-day.selected { background-color: var(--fa-primary); color:#fff; }

/* Time slot toggle state */
.time-slot[aria-pressed="true"] { background-color: var(--fa-primary); color:#fff; border-color: var(--fa-primary); }

@media (prefers-reduced-motion: reduce) {
  .employee-card:hover, .service-card:hover { transform: none; }
}

/* Summary panel (step 4) — flat tinted card instead of default Bootstrap card */
.wizard-summary {
    background: #FBF3EC;
    border: 1px solid #EDE0D3;
    border-radius: 14px;
    padding: 18px 20px;
}
.wizard-summary-title { font-weight: 700; margin-bottom: 12px; font-size: .95rem; }
.wizard-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: .88rem;
    border-bottom: 1px dashed #EDE0D3;
}
.wizard-summary-row:last-child { border-bottom: none; }
.wizard-summary-label { color: var(--fa-muted); }
.wizard-summary-value { font-weight: 600; color: var(--fa-text); }

/* Success step — brand terracota instead of generic Bootstrap green */
.wizard-success-icon {
    width: 80px;
    height: 80px;
    background: var(--fa-primary);
    border-radius: 50%;
}
.wizard-success-title { color: var(--fa-primary); }
.wizard-success-card { border: 1px solid #EDE0D3 !important; border-radius: 14px; overflow: hidden; }
.wizard-success-card .card-header {
    background: var(--fa-primary) !important;
    color: #fff !important;
    border-bottom: none;
}
#booking-wizard #confirmation-appointment-id.text-primary { color: var(--fa-primary) !important; }
#booking-wizard .alert-info {
    background: #FBF3EC;
    border: 1px solid #EDE0D3;
    color: var(--fa-text);
}
#booking-wizard .btn-primary:not(.btn-outline-primary) {
    background: var(--fa-primary);
    border-color: var(--fa-primary);
}
#booking-wizard .btn-primary:not(.btn-outline-primary):hover { filter: brightness(.95); }
