/* ============================================================
    GUSASOUND BOOKING WIZARD — DESIGN SYSTEM
    ============================================================ */
:root {
    --primary: #4A3D35;
    --primary-dark: #3a302a;
    --secondary: #F26722;
    --secondary-light: #ff8a4c;
    --accent-glow: rgba(242, 103, 34, 0.15);
    --bg: #f8f7f5;
    --bg-card: #ffffff;
    --bg-subtle: #f1efec;
    --text-dark: #1a1a1a;
    --text-body: #4a4a4a;
    --text-muted: #8a8a8a;
    --text-light: #b0b0b0;
    --border: #e8e4df;
    --border-light: #f0ece7;
    --success: #22c55e;
    --success-bg: #dcfce7;
    --danger: #ef4444;
    --danger-bg: #fee2e2;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-accent: 0 4px 20px rgba(242, 103, 34, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
    HEADER & PROGRESS
    ============================================================ */
.wizard-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
}

.wizard-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    max-width: 640px;
    margin: 0 auto;
}

.btn-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-back:hover {
    background: var(--bg-subtle);
    border-color: var(--text-muted);
}

.btn-back:active {
    transform: scale(0.95);
}

.btn-back.hidden {
    visibility: hidden;
    pointer-events: none;
}

.step-indicator {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.header-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.progress-track {
    height: 3px;
    background: var(--border-light);
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    border-radius: 0 3px 3px 0;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
    MAIN CONTENT AREA
    ============================================================ */
.wizard-body {
    flex: 1;
    padding: 24px 20px 120px;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
}

.step-panel {
    display: none;
    animation: fadeSlideIn 0.35s ease;
}

.step-panel.active {
    display: block;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.step-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ============================================================
    STEP 1 — SERVICE CARDS
    ============================================================ */
.service-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

.service-card:active {
    transform: scale(0.985);
}

.service-card.selected {
    border-color: var(--secondary);
    box-shadow: var(--shadow-accent);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
}

.service-card.selected .service-card-header {
    background: linear-gradient(135deg, #fff8f3 0%, #ffffff 100%);
}

.service-card .check-circle {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card.selected .check-circle {
    display: flex;
}

@keyframes popIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.service-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.service-info {
    flex: 1;
    min-width: 0;
}

.service-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.service-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.service-badge {
    position: absolute;
    top: 0;
    left: 20px;
    background: var(--secondary);
    color: white;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px 4px;
    border-radius: 0 0 6px 6px;
}



.service-badge.badge-new {
    background: #e11d48;
    /* Vibrant red for New */
    animation: badge-blink 0.8s infinite alternate;
}

@keyframes badge-blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.4;
    }
}

.service-badge.premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Collapsed sub-options */
.service-sub-options {
    display: none;
    border-top: 1px solid var(--border-light);
    padding: 14px 16px;
    background: var(--bg-subtle);
    animation: fadeSlideIn 0.25s ease;
}

.service-card.selected .service-sub-options {
    display: block;
}

.sub-options-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.sub-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sub-option-chip {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}

.sub-option-chip:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.sub-option-chip.selected {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    font-weight: 600;
}

/* ============================================================
    STEP 2 — CALENDAR & DURATION / TIME SLOTS
    ============================================================ */
.calendar-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.calendar-nav h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.cal-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    transition: all 0.2s;
}

.cal-nav-btn:hover {
    background: var(--bg-subtle);
    border-color: var(--text-muted);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day-label {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-body);
    position: relative;
}

.cal-day:hover:not(.disabled):not(.empty) {
    background: var(--bg-subtle);
}

.cal-day.empty {
    cursor: default;
}

.cal-day.today {
    color: var(--secondary);
    font-weight: 700;
}

.cal-day.today::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--secondary);
}

.cal-day.selected {
    background: var(--secondary);
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(242, 103, 34, 0.35);
}

.cal-day.disabled {
    color: var(--text-light);
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.5;
}

.cal-day.past {
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.4;
}

/* Partially booked date (some slots still available) */
.cal-day.partial::after {
    content: '' !important;
    position: absolute;
    bottom: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b !important;
    box-shadow: 0 0 4px rgba(245, 158, 11, 0.4);
    z-index: 2;
}

/* If it's both today and partial, offset the dots so they don't overlap */
.cal-day.today.partial::after {
    left: 40%;
}

.cal-day.today::before {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 60%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--secondary);
    z-index: 2;
}

/* Remove the existing today indicator to use our custom one if partial exists */
.cal-day.today:not(.partial)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--secondary);
}

.cal-day.partial {
    color: var(--text-dark) !important;
    font-weight: 700 !important;
}

/* Hours picker (for Cards 1, 2, 3) */
.hours-section {
    display: none;
    animation: fadeSlideIn 0.3s ease;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.hours-section.visible {
    display: block;
}

.hours-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hours-control {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    margin: 0 auto;
}

.hours-btn {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    font-size: 20px;
    color: var(--text-dark);
    transition: all 0.15s;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours-btn:first-child {
    border-radius: 10px 0 0 10px;
}

.hours-btn:last-child {
    border-radius: 0 10px 10px 0;
}

.hours-btn:hover:not(:disabled) {
    background: var(--bg-subtle);
    border-color: var(--secondary);
}

.hours-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.hours-display {
    width: 80px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1.5px solid var(--border);
    border-bottom: 1.5px solid var(--border);
    background: var(--bg-subtle);
}

.hours-display .h-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.hours-display .h-unit {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Time slots (for Cards 4, 5, 6) */
.time-slots-section {
    display: none;
    animation: fadeSlideIn 0.3s ease;
}

.time-slots-section.visible {
    display: block;
}

.time-slots-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.time-slot {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.time-slot:hover {
    border-color: var(--text-light);
    background: var(--bg-subtle);
}

.time-slot:active {
    transform: scale(0.97);
}

.time-slot.selected {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    box-shadow: 0 3px 12px rgba(242, 103, 34, 0.3);
    transform: scale(1.02);
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-subtle);
    border-color: var(--border);
    pointer-events: none;
    color: var(--text-light);
}

.time-slot small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin-top: 2px;
    opacity: 0.7;
}

/* Disabled / booked time slot */
.time-slot.slot-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed;
    background: #f3f4f6 !important;
    /* light grey */
    border-color: #e5e7eb !important;
    pointer-events: none;
    color: #9ca3af !important;
    position: relative;
    transform: none !important;
    box-shadow: none !important;
}

.slot-booked-tag {
    display: inline-block !important;
    margin-top: 4px;
    padding: 1px 8px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-radius: 4px;
    opacity: 1 !important;
    z-index: 10;
}

/* ============================================================
    STEP 3 — SERVICE-SPECIFIC OPTIONS
    ============================================================ */
.s3-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.s3-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

/* Equipment qty cards (Card 1) */
.equipment-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s;
}

.equipment-card.has-qty {
    border-color: var(--secondary);
    background: linear-gradient(135deg, #fff8f3 0%, #ffffff 100%);
}

.equip-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.equip-info {
    flex: 1;
    min-width: 0;
}

.equip-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1px;
}

.equip-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.qty-btn {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-dark);
    transition: all 0.15s;
    font-weight: 700;
}

.qty-btn:first-child {
    border-radius: 7px 0 0 7px;
}

.qty-btn:last-child {
    border-radius: 0 7px 7px 0;
}

.qty-btn:hover:not(:disabled) {
    background: var(--bg-subtle);
    border-color: var(--text-muted);
}

.qty-btn:active:not(:disabled) {
    transform: scale(0.92);
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-display {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border-top: 1.5px solid var(--border);
    border-bottom: 1.5px solid var(--border);
    background: var(--bg-subtle);
}

/* Transport toggle */
.transport-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
}

.transport-toggle.active {
    border-color: var(--secondary);
    background: var(--accent-glow);
}

.transport-toggle-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 16px;
    transition: all 0.2s;
}

.transport-toggle.active .transport-toggle-icon {
    background: white;
    color: var(--secondary);
}

.transport-toggle-info {
    flex: 1;
}

.transport-toggle-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.transport-toggle-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 1px;
}

.transport-toggle-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.transport-toggle.active .transport-toggle-check {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

/* Checkbox options */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.18s;
}

.check-item.checked {
    border-color: var(--secondary);
    background: var(--accent-glow);
}

.ci-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 10px;
    transition: all 0.18s;
}

.check-item.checked .ci-box {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.ci-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

/* Toggle chips (Roles, etc) */
.toggle-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.toggle-chip {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.18s;
}

.toggle-chip:hover {
    border-color: var(--text-light);
}

.toggle-chip.selected {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: white;
}

/* Sliders */
.slider-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.slider-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 50px;
}

.range-slider {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--secondary);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.slider-value {
    width: 48px;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
}

.slider-range-labels {
    display: flex;
    justify-content: space-between;
    padding-left: 66px;
    padding-right: 64px;
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-light);
}

/* Number Input Row */
.number-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
}

.number-input-row label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.number-input-row input {
    width: 60px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

/* Step 3 Placeholder Note */
.step3-note {
    padding: 20px;
    background: var(--success-bg);
    border-radius: var(--radius-md);
    color: #166534;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Academy Redirect Card */
.academy-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    margin-top: 16px;
    text-decoration: none;
    color: white;
    transition: transform 0.2s;
}

.academy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 61, 53, 0.3);
}

.academy-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.academy-card-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.academy-card-info p {
    font-size: 11px;
    opacity: 0.8;
}

/* ============================================================
    STEP 4 — REVIEW & DETAILS
    ============================================================ */
.review-block {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
}

.rh-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.rh-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.rh-text p {
    font-size: 12px;
    color: var(--text-muted);
}

.review-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.data-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.data-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.data-val {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.fin-summary {
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 16px;
}

.fin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 13px;
}

.fin-row:last-child {
    border-bottom: none;
}

.fin-label {
    color: var(--text-body);
}

.fin-val {
    font-weight: 600;
    color: var(--text-dark);
}

.notice-box {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: #eff6ff;
    border-radius: var(--radius-md);
    color: #1e3a8a;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 16px;
}

.notice-box i {
    font-size: 16px;
    color: #3b82f6;
    margin-top: 2px;
}

/* Form Groups */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
    transition: all 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* ============================================================
    STICKY CTA BOTTOM
    ============================================================ */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    padding: 16px 20px;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.btn-cta {
    width: 100%;
    height: 54px;
    border-radius: var(--radius-xl);
    background: var(--text-dark);
    color: white;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s;
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.2);
}

.btn-cta:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.3);
}

.btn-cta:active:not(:disabled) {
    transform: translateY(0);
}

.btn-cta:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-cta i {
    font-size: 14px;
    transition: transform 0.2s;
}

.btn-cta:hover:not(:disabled) i {
    transform: translateX(4px);
}

.btn-cta.confirming {
    background: var(--secondary);
    box-shadow: 0 4px 15px rgba(242, 103, 34, 0.3);
}

/* Loader */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-cta.loading .spinner {
    display: block;
}

.btn-cta.loading .btn-label,
.btn-cta.loading i {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
    CONFIRMATION SCREEN
    ============================================================ */
.confirm-screen {
    display: none;
    text-align: center;
    padding: 40px 20px;
    animation: fadeSlideIn 0.5s ease;
}

.confirm-screen.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--success-bg);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.confirm-screen h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.confirm-screen p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.ref-box {
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 32px;
}

.ref-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.ref-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 2px;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--bg-subtle);
    color: var(--text-dark);
    font-weight: 600;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-home:hover {
    background: var(--border);
}

/* ============================================================
    TOAST NOTIFICATIONS
    ============================================================ */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-msg {
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    box-shadow: var(--shadow-md);
    animation: toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: opacity 0.3s;
}

.toast-msg.error {
    background: var(--danger);
}

.toast-msg.info {
    background: var(--text-dark);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================================
    SHARED BOOKING ADMIN STYLES
    These styles support the admin booking interface and ensure
    visual consistency between booking.html and booking-admin.html.
    ============================================================ */

/* ===== STATUS BADGES ===== */
.badge-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: capitalize;
}

.badge-status.draft {
    background: var(--bg-subtle, #f1efec);
    color: var(--text-muted, #8a8a8a);
    border: 1px solid var(--border, #e8e4df);
}

.badge-status.tentative {
    background: var(--warning-bg, #fef3c7);
    color: #92400e;
}

.badge-status.confirmed {
    background: var(--success-bg, #dcfce7);
    color: #166534;
}

.badge-status.cancelled {
    background: var(--danger-bg, #fee2e2);
    color: #991b1b;
}

/* ===== SOURCE BADGES ===== */
.badge-source {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-source.direct {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.badge-source.quote {
    background: var(--bg-subtle, #f1efec);
    color: var(--text-muted, #8a8a8a);
    border: 1px solid var(--border, #e8e4df);
}

/* ===== CALENDAR INDICATOR DOTS (inline in tables) ===== */
.cal-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--text-muted, #8a8a8a);
    font-weight: 500;
}

.cal-indicator .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.cal-indicator .dot.today {
    background: var(--secondary, #F26722);
}

.cal-indicator .dot.upcoming {
    background: var(--success, #22c55e);
}

.cal-indicator .dot.past {
    background: var(--text-muted, #8a8a8a);
    opacity: 0.5;
}

/* ===== SERVICE TABS (admin reuse) ===== */
.service-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    padding: 6px;
    background: var(--bg-subtle, #f1efec);
    border-radius: 14px;
    border: 1px solid var(--border, #e8e4df);
}

.service-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--text-muted, #8a8a8a);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.service-tab i {
    font-size: 14px;
    opacity: 0.6;
    transition: opacity 0.25s;
}

.service-tab:hover {
    background: var(--bg-card, #ffffff);
    color: var(--text-dark, #1a1a1a);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.service-tab:hover i {
    opacity: 1;
}

.service-tab.active {
    background: var(--secondary, #F26722);
    color: #fff;
    box-shadow: 0 2px 10px rgba(242, 103, 34, 0.35);
}

.service-tab.active i {
    opacity: 1;
}

.service-tab .tab-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.service-tab:not(.active) .tab-count {
    background: var(--border, #e8e4df);
    color: var(--text-muted, #8a8a8a);
}

/* ===== AVAILABILITY CALENDAR WIDGET ===== */
.availability-section {
    margin-bottom: 24px;
    display: none;
    animation: availFadeIn 0.3s ease;
}

.availability-section.visible {
    display: block;
}

@keyframes availFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avail-calendar {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border, #e8e4df);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.avail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.avail-header h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark, #1a1a1a);
    margin: 0;
}

.avail-header .avail-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avail-header .avail-nav button {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border, #e8e4df);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark, #1a1a1a);
    font-size: 11px;
    transition: background 0.15s;
}

.avail-header .avail-nav button:hover {
    background: var(--bg-subtle, #f1efec);
}

.avail-header .avail-month {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    min-width: 120px;
    text-align: center;
}

.avail-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.avail-grid .avail-hdr {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-muted, #8a8a8a);
    padding: 6px 0;
    letter-spacing: 0.5px;
}

.avail-grid .avail-day {
    text-align: center;
    padding: 6px 4px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark, #1a1a1a);
    transition: background 0.15s;
}

.avail-grid .avail-day.empty {
    visibility: hidden;
}

.avail-grid .avail-day.past {
    color: var(--text-muted, #8a8a8a);
    opacity: 0.4;
}

.avail-grid .avail-day.booked {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    font-weight: 700;
    position: relative;
}

.avail-grid .avail-day.booked::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ef4444;
}

.avail-grid .avail-day.partial {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    font-weight: 600;
}

.avail-grid .avail-day.available {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    font-weight: 600;
}

.avail-grid .avail-day.today {
    box-shadow: inset 0 0 0 2px var(--secondary, #F26722);
    font-weight: 700;
}

.avail-legend {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    justify-content: center;
}

.avail-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted, #8a8a8a);
    font-weight: 500;
}

.avail-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.avail-legend-dot.booked {
    background: #ef4444;
}

.avail-legend-dot.available {
    background: #22c55e;
}

.avail-legend-dot.today-dot {
    box-shadow: inset 0 0 0 2px var(--secondary, #F26722);
}

/* ===== DETAIL PANEL (slide-over) ===== */
.detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(2px);
}

.detail-overlay.show {
    opacity: 1;
    visibility: visible;
}

.detail-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 90vw;
    height: 100vh;
    background: var(--bg-card, #ffffff);
    border-left: 1px solid var(--border, #e8e4df);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.detail-panel.open {
    transform: translateX(0);
}

.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border, #e8e4df);
    background: var(--bg-subtle, #f1efec);
    flex-shrink: 0;
}

.detail-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark, #1a1a1a);
    margin: 0;
}

.btn-close-detail {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-muted, #8a8a8a);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.15s;
}

.btn-close-detail:hover {
    background: var(--border, #e8e4df);
    color: var(--text-dark, #1a1a1a);
}

.detail-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-muted, #8a8a8a);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border, #e8e4df);
    display: block;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
}

.detail-row .dl {
    font-size: 12px;
    color: var(--text-muted, #8a8a8a);
    font-weight: 500;
}

.detail-row .dv {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.equip-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.equip-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--bg-subtle, #f1efec);
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 12px;
}

.equip-list li span:first-child {
    font-weight: 500;
    color: var(--text-dark, #1a1a1a);
}

.equip-list li span:last-child {
    font-weight: 700;
    color: var(--secondary, #F26722);
}

.detail-notes {
    background: var(--bg-subtle, #f1efec);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text-dark, #1a1a1a);
    line-height: 1.6;
    border: 1px solid var(--border, #e8e4df);
}

.detail-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border, #e8e4df);
    background: var(--bg-subtle, #f1efec);
    flex-shrink: 0;
}

.detail-footer .status-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-footer .status-group select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border, #e8e4df);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    background: var(--bg-card, #ffffff);
    color: var(--text-dark, #1a1a1a);
    font-family: 'Inter', sans-serif;
}

.detail-footer .status-group select:focus {
    outline: none;
    border-color: var(--secondary, #F26722);
    box-shadow: 0 0 0 2px rgba(242, 103, 34, 0.2);
}

.btn-save-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    background: var(--secondary, #F26722);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.btn-save-status:hover {
    filter: brightness(0.92);
    box-shadow: 0 2px 8px rgba(242, 103, 34, 0.3);
}

.btn-save-status:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== RESPONSIVE — SERVICE TABS ===== */
@media (max-width: 768px) {
    .service-tabs {
        gap: 6px;
        padding: 4px;
    }

    .service-tab {
        padding: 8px 12px;
        font-size: 11px;
    }

    .service-tab .tab-label {
        display: none;
    }

    .service-tab i {
        font-size: 16px;
    }

    .detail-panel {
        width: 100vw;
        max-width: 100vw;
    }
}
