.page-header {
            background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.85)), url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?w=1920&q=80') center/cover no-repeat;
            color: white;
            padding: calc(var(--spacing-12) + var(--spacing-2)) 0 var(--spacing-12);
            text-align: center;
            margin-bottom: var(--spacing-6);
        }

        .page-header h1 {
            color: white;
            margin-bottom: var(--spacing-2);
        }

        .booking-layout {
            display: grid;
            grid-template-columns: 350px 1fr;
            gap: var(--spacing-8);
            margin-bottom: var(--spacing-12);
            align-items: start;
        }

        /* --- Left Sidebar --- */
        .booking-sidebar {
            position: sticky;
            top: calc(var(--header-height) + var(--spacing-4));
            max-height: calc(100vh - var(--header-height) - var(--spacing-8));
            overflow-y: auto;
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            padding: var(--spacing-5);
            /* Custom Scrollbar for sidebar */
            scrollbar-width: thin;
        }

        .selection-group {
            margin-bottom: var(--spacing-5);
        }

        .doc-profile-strip {
            display: flex;
            align-items: center;
            gap: var(--spacing-3);
            padding: var(--spacing-3);
            background: var(--bg-main);
            border-radius: var(--radius-md);
            margin-bottom: var(--spacing-5);
            border: 1px solid var(--border-color);
        }

        .doc-profile-strip .doc-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--primary-light);
            color: var(--primary-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
        }

        .doc-profile-strip h4 {
            font-size: var(--font-size-base);
            margin-bottom: 2px;
        }

        .doc-profile-strip p {
            font-size: var(--font-size-xs);
            color: var(--text-mutted);
        }

        .placeholder-text {
            color: var(--text-light);
            font-style: italic;
            font-size: var(--font-size-sm);
            text-align: center;
            padding: var(--spacing-6) 0;
        }

        /* --- Premium Apple Week View Calendar --- */
        .calendar-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: var(--spacing-6);
        }

        .calendar-nav span {
            font-size: var(--font-size-lg);
            font-weight: 600;
            color: var(--text-main);
        }

        .calendar-nav button {
            background: rgba(37, 99, 235, 0.08);
            border: none;
            color: var(--primary);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            font-size: 20px;
        }

        .calendar-nav button:hover {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
        }

        .apple-week-grid {
            display: grid;
            grid-template-columns: 75px repeat(7, 1fr);
            border-radius: var(--radius-xl);
            background: white;
            position: relative;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .apple-week-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: var(--spacing-3) var(--spacing-1);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            color: var(--text-mutted);
            position: sticky;
            top: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(8px);
            z-index: 10;
        }

        .time-axis-header {
            justify-content: flex-end;
            padding-bottom: 8px;
            font-size: 10px;
            color: var(--text-mutted);
            border-right: 1px solid rgba(0, 0, 0, 0.03);
            background: white;
        }

        .apple-week-header.today {
            color: var(--primary);
        }

        .apple-week-header .day-num {
            font-size: 20px;
            font-weight: 400;
            margin-top: 6px;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
            color: var(--text-main);
        }

        .apple-week-header.today .day-num {
            background: var(--primary);
            color: white;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
        }

        .time-axis {
            display: grid;
            border-right: 1px solid rgba(0, 0, 0, 0.03);
            background: #fafafa;
            background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
            background-size: 100% 40px;
        }

        .time-axis-label {
            height: 40px;
            font-size: 11px;
            color: var(--text-mutted);
            text-align: right;
            padding-right: 12px;
            transform: translateY(-7px);
            font-variant-numeric: tabular-nums;
        }

        .day-col {
            position: relative;
            border-right: 1px solid rgba(0, 0, 0, 0.03);
            background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
            background-size: 100% 40px;
            background-color: white;
        }

        .day-col:last-child {
            border-right: none;
        }

        .time-slot-block {
            position: absolute;
            left: 2px;
            right: 2px;
            border-radius: 4px;
            font-size: 10px;
            padding: 4px;
            cursor: pointer;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-weight: 600;
            z-index: 2;
            border-left-width: 3px;
            border-left-style: solid;
        }

        .time-slot-block:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            z-index: 3;
        }

        .block-available {
            background-color: rgba(16, 185, 129, 0.15);
            border-left-color: #10b981;
            color: #047857;
        }

        .block-booked {
            background-color: rgba(239, 68, 68, 0.15);
            border-left-color: #ef4444;
            color: #b91c1c;
            cursor: not-allowed;
        }

        .block-unavailable {
            background-color: rgba(156, 163, 175, 0.15);
            background-image: repeating-linear-gradient(45deg,
                    rgba(156, 163, 175, 0.1) 0,
                    rgba(156, 163, 175, 0.1) 4px,
                    rgba(156, 163, 175, 0.25) 4px,
                    rgba(156, 163, 175, 0.25) 8px);
            border-left-color: #9ca3af;
            color: #4b5563;
            cursor: not-allowed;
            opacity: 0.8;
        }

        .block-user {
            background-color: rgba(59, 130, 246, 0.15);
            border-left-color: #3b82f6;
            color: #1d4ed8;
            cursor: not-allowed;
        }

        .block-selected {
            background-color: #10b981;
            border-left-color: #047857;
            color: white !important;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
            z-index: 5 !important;
        }

        .current-time-line {
            position: absolute;
            left: 0;
            right: -1px;
            height: 2px;
            background-color: #ff3b30;
            z-index: 4;
            pointer-events: none;
        }

        .current-time-line::before {
            content: '';
            position: absolute;
            left: -4px;
            top: -3px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #ff3b30;
            box-shadow: 0 0 0 2px white;
        }

        .calendar-legend {
            display: flex;
            flex-wrap: wrap;
            gap: var(--spacing-5);
            font-size: 12px;
            margin-top: var(--spacing-5);
            color: var(--text-mutted);
            justify-content: center;
            padding: var(--spacing-3) 0;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 500;
        }

        .legend-color {
            width: 14px;
            height: 14px;
            border-radius: 4px;
            border-left-width: 3px;
            border-left-style: solid;
        }

        /* --- Right Panel: Wizard --- */
        .wizard-panel {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        /* Progress Tracker */
        .progress-tracker {
            display: flex;
            background: var(--bg-main);
            padding: var(--spacing-5);
            border-bottom: 1px solid var(--border-color);
            position: relative;
        }

        .progress-step {
            flex: 1;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .progress-icon {
            width: 32px;
            height: 32px;
            background: var(--bg-card);
            border: 2px solid var(--border-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto var(--spacing-2);
            color: var(--text-mutted);
            font-weight: 600;
            font-size: var(--font-size-sm);
            transition: all var(--transition-normal);
        }

        .progress-label {
            font-size: var(--font-size-xs);
            color: var(--text-mutted);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Connecting Lines */
        .progress-step::after {
            content: '';
            position: absolute;
            top: 16px;
            left: 50%;
            width: 100%;
            height: 2px;
            background: var(--border-color);
            z-index: -1;
            transition: all var(--transition-normal);
        }

        .progress-step:last-child::after {
            display: none;
        }

        /* Active/Done States */
        .progress-step.active .progress-icon {
            border-color: var(--primary);
            color: var(--primary);
            box-shadow: 0 0 0 4px var(--primary-light);
        }

        .progress-step.active .progress-label {
            color: var(--primary);
        }

        .progress-step.done .progress-icon {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
        }

        .progress-step.done::after {
            background: var(--primary);
        }

        /* Wizard Content Areas */
        .wizard-content {
            padding: var(--spacing-6) var(--spacing-8);
            min-height: 400px;
        }

        .step-view {
            display: none;
            animation: fadeIn var(--transition-normal);
        }

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

        .step-title {
            margin-bottom: var(--spacing-6);
            padding-bottom: var(--spacing-3);
            border-bottom: 1px solid var(--border-color);
        }

        /* Step 1 specifics */
        .slot-summary {
            background: var(--bg-main);
            padding: var(--spacing-6);
            border-radius: var(--radius-lg);
            border: 1px dashed var(--border-color);
            text-align: center;
        }

        .slot-summary-box {
            display: inline-block;
            background: white;
            padding: var(--spacing-4) var(--spacing-8);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            margin: var(--spacing-4) 0;
            font-size: var(--font-size-xl);
            color: var(--primary-dark);
            font-weight: 700;
            border: 1px solid var(--primary-light);
        }

        /* Form Layouts */
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-4);
        }

        /* Step 3 specifics */
        .summary-card {
            background: var(--primary-light);
            border: 1px solid var(--border-focus);
            padding: var(--spacing-5);
            border-radius: var(--radius-md);
            margin-bottom: var(--spacing-6);
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: var(--spacing-2);
            font-size: var(--font-size-sm);
        }

        .summary-row.total {
            margin-top: var(--spacing-4);
            padding-top: var(--spacing-4);
            border-top: 1px dashed var(--border-focus);
            font-size: var(--font-size-lg);
            font-weight: 700;
            color: var(--primary-dark);
        }

        .payment-methods {
            display: flex;
            gap: var(--spacing-4);
            margin-bottom: var(--spacing-6);
        }

        .pay-method-btn {
            flex: 1;
            padding: var(--spacing-4);
            border: 2px solid var(--border-color);
            border-radius: var(--radius-md);
            background: white;
            cursor: pointer;
            text-align: center;
            font-weight: 600;
            color: var(--text-mutted);
            transition: all var(--transition-fast);
        }

        .pay-method-btn.selected {
            border-color: var(--primary);
            color: var(--primary);
            background: var(--primary-light);
        }

        /* Wizard Footer Controls */
        .wizard-footer {
            padding: var(--spacing-5) var(--spacing-8);
            background: var(--bg-main);
            border-top: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
        }

        /* Success View */
        .success-view {
            text-align: center;
            padding: var(--spacing-8) 0;
        }

        .success-icon {
            width: 80px;
            height: 80px;
            background: var(--accent-light);
            color: var(--accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            margin: 0 auto var(--spacing-5);
        }

        .ref-box {
            background: var(--bg-main);
            padding: var(--spacing-4);
            font-family: monospace;
            font-size: var(--font-size-lg);
            letter-spacing: 2px;
            border-radius: var(--radius-md);
            margin: var(--spacing-6) auto;
            max-width: 300px;
            border: 1px solid var(--border-color);
            color: var(--primary-dark);
        }

        /* Media Queries */
        @media (max-width: 1024px) {
            .booking-layout {
                grid-template-columns: 1fr;
            }

            .booking-sidebar {
                position: static;
                max-height: none;
            }

            .wizard-content {
                padding: var(--spacing-5);
            }

            .wizard-footer {
                padding: var(--spacing-5);
            }
        }

        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }

            .payment-methods {
                flex-direction: column;
            }
        }
