:root {
    --fz-navy: #002B36; /* Logo Deep Navy */
    --fz-teal: #016E7D; /* Logo Mid Teal */
    --fz-cyan: #2BC4C3; /* Logo Vibrant Cyan */
    --fz-white: #FFFFFF;
    --fz-bg: #F8FAFB;
    --fz-gradient: linear-gradient(135deg, var(--fz-navy) 0%, var(--fz-teal) 50%, var(--fz-cyan) 100%);
    --fz-glass: rgba(255, 255, 255, 0.7);
    --fz-shadow: 0 10px 40px rgba(0, 43, 54, 0.08);
    --fz-shadow-deep: 0 30px 60px rgba(0, 43, 54, 0.15);
    --fz-radius: 20px;
    --fz-radius-lg: 32px;
    --fz-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --fz-soft: #F1F5F9;
}

/* Professional Reset & Typography */
.fz-pro-scope {
    font-family: 'Inter', sans-serif;
    color: var(--fz-navy);
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
    max-width: 100vw;
}

/* Master Button System */
.fz-btn-pro {
    background: var(--fz-gradient);
    color: var(--fz-white) !important;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border: none;
    box-shadow: 0 6px 20px rgba(43, 196, 195, 0.3);
    transition: var(--fz-transition);
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.fz-btn-pro:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(43, 196, 195, 0.5);
}

/* Ethereal Cards with Spine Dot details */
.fz-card-pro {
    background: var(--fz-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--fz-radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--fz-shadow);
    transition: var(--fz-transition);
    position: relative;
    overflow: hidden;
}

.fz-card-pro:hover {
    transform: translateY(-8px);
    box-shadow: var(--fz-shadow-deep);
    border-color: rgba(43, 196, 195, 0.4);
}

.fz-card-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--fz-gradient);
    opacity: 0.8;
}

/* Antigravity Floating Keyframes */
@keyframes fzEthereal {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.fz-float-pro {
    animation: fzEthereal 5s ease-in-out infinite;
}

.fz-float-pro:hover {
    animation-play-state: paused;
}

/* Elite Floating Cards and Visual Effects */
.fz-spinning-orb {
    width: 300px;
    height: 300px;
    background: var(--fz-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    position: absolute;
    z-index: -1;
    animation: fzOrbSpin 20s linear infinite;
}

@keyframes fzOrbSpin {
    from { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    to { transform: rotate(360deg) scale(1); }
}

.fz-floating-card {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--fz-shadow-deep);
    position: absolute;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(1, 110, 125, 0.1);
}

.fz-floating-card.c1 { top: 10%; right: 10%; width: 80px; height: 80px; }
.fz-floating-card.c2 { bottom: 15%; right: 5%; width: 70px; height: 70px; }
.fz-floating-card.c3 { top: 40%; right: 25%; width: 60px; height: 60px; }

.fz-badge {
    padding: 6px 12px;
    border-radius: 50px;
    background: var(--fz-teal);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Scroll Animation Hooks */
.fz-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--fz-transition);
}

.fz-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   PROVIDER OS: THERAPIST DASHBOARD (ELITE UI)
   ========================================================================== */

.fz-dashboard-shell {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
}

/* Sidebar: Glassmorphism Nav */
.fz-dash-sidebar {
    width: 280px;
    background: var(--fz-navy);
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.fz-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
    padding-left: 10px;
}

.fz-sidebar-brand img { height: 35px; width: auto; }
.fz-sidebar-brand span { font-weight: 900; font-size: 18px; }

.fz-sidebar-nav { flex: 1; }

.fz-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: rgba(255,255,255,0.6);
    text-decoration: none !important;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.fz-nav-item:hover, .fz-nav-item.active {
    background: rgba(43, 196, 195, 0.15);
    color: var(--fz-cyan);
}

.fz-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: rgba(255,255,255,0.4);
    text-decoration: none !important;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

/* Main Content Area */
.fz-dash-main {
    flex: 1;
    margin-left: 280px;
    padding: 40px 60px;
}

.fz-dash-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.fz-dash-topbar h2 { font-weight: 900; font-size: 28px; color: var(--fz-navy); margin: 0; }

.fz-topbar-right { display: flex; align-items: center; gap: 20px; }
.fz-user-avatar img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

/* Overview Stats Grid */
.fz-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.fz-stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px !important;
}

.fz-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(43, 196, 195, 0.1);
    color: var(--fz-teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fz-stat-info small { color: #64748b; font-weight: 700; text-transform: uppercase; font-size: 11px; }
.fz-stat-info h3 { margin: 5px 0; font-weight: 900; font-size: 22px; color: var(--fz-navy); }

/* CALENDAR STYLES: Split Layout */
.fz-calendar-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    background: #fff;
    border-radius: var(--fz-radius);
    padding: 30px;
    box-shadow: var(--fz-shadow);
}

.fz-requests-queue {
    border-right: 1px solid #f1f5f9;
    padding-right: 25px;
}

.fz-queue-header h4 { margin-top: 0; font-weight: 800; font-size: 16px; color: var(--fz-navy); margin-bottom: 20px; }

.fz-req-card {
    padding: 15px !important;
    margin-bottom: 12px;
}

.fz-req-meta { display: flex; justify-content: space-between; margin-bottom: 10px; }
.fz-req-meta strong { font-size: 13px; color: var(--fz-navy); }
.fz-req-meta span { font-size: 11px; color: #64748b; font-weight: 600; }

.fz-req-actions { display: flex; gap: 8px; }
.fz-btn-sm { padding: 6px 12px; border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; border: none; }
.fz-btn-accept { background: var(--fz-teal); color: #fff; }
.fz-btn-decline { background: #f1f5f9; color: #64748b; }

.fz-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}

.fz-cal-day-label { text-align: center; font-weight: 800; font-size: 12px; color: #94a3b8; margin-bottom: 15px; text-transform: uppercase; }

.fz-cal-event {
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 11px;
    border-left: 3px solid transparent;
}

.fz-cal-event.confirmed { background: rgba(1, 110, 125, 0.08); color: var(--fz-teal); border-left-color: var(--fz-teal); }
.fz-cal-event.completed { background: rgba(16, 185, 129, 0.08); color: #059669; border-left-color: #10b981; }

/* CRM STYLES: Clinical EHR */
.fz-crm-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.fz-search-box { flex: 1; max-width: 500px; display: flex; align-items: center; gap: 10px; padding: 12px 20px !important; }
.fz-search-box input { border: none; outline: none; background: transparent; width: 100%; font-size: 14px; font-weight: 600; }

.fz-crm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.fz-patient-card { display: flex; align-items: center; gap: 15px; padding: 20px !important; cursor: pointer; }
.fz-patient-avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--fz-gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.fz-patient-info { flex: 1; }
.fz-patient-info strong { display: block; font-size: 15px; color: var(--fz-navy); }
.fz-patient-info small { color: #64748b; font-weight: 600; font-size: 12px; }

/* Dossier Sidebar Slide-out */
.fz-dossier-panel {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    box-shadow: -20px 0 50px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 35px !important;
}

.fz-dossier-panel.active { right: 0; }

.fz-dossier-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.fz-dossier-header h3 { margin: 0; font-weight: 900; font-size: 22px; color: var(--fz-navy); }
.fz-close-dossier { background: none; border: none; font-size: 28px; cursor: pointer; color: #94a3b8; }

.fz-dossier-tabs { display: flex; gap: 20px; border-bottom: 2px solid #f1f5f9; margin-bottom: 30px; }
.fz-dossier-tab { background: none; border: none; padding-bottom: 12px; font-weight: 800; font-size: 13px; color: #94a3b8; cursor: pointer; position: relative; }
.fz-dossier-tab.active { color: var(--fz-teal); }
.fz-dossier-tab.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: var(--fz-teal); }

.fz-tab-pane { display: none; }
.fz-tab-pane.active { display: block; }

.fz-timeline-item { padding-left: 25px; border-left: 2px solid #f1f5f9; position: relative; margin-bottom: 30px; }
.fz-timeline-item::before { content: ''; position: absolute; left: -7px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--fz-teal); }

.fz-tl-meta { font-size: 11px; font-weight: 800; color: #94a3b8; text-transform: uppercase; margin-bottom: 5px; }
.fz-tl-content strong { display: block; font-size: 13px; color: var(--fz-navy); }
.fz-tl-content p { font-size: 12px; color: #64748b; margin-top: 5px; line-height: 1.6; }

.fz-notes-editor textarea { width: 100%; height: 250px; padding: 20px; border-radius: 12px; border: 1px solid #f1f5f9; background: #f8fafc; font-family: inherit; font-size: 14px; outline: none; margin-bottom: 20px; }

/* Skeleton Loader */
.fz-skeleton-loader { width: 100%; height: 100px; background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; animation: fzLoading 1.5s infinite; border-radius: 12px; }
@keyframes fzLoading { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Global Utilities */
.fz-glow-teal { box-shadow: 0 10px 30px rgba(1, 110, 125, 0.2); }
.fz-glow-navy { box-shadow: 0 10px 30px rgba(0, 43, 54, 0.2); }
.fz-btn-success { background: #10b981 !important; color: #fff !important; }

/* ==========================================================================
   REVENUE ENGINE: THE PRICING VITRINE 💸
   ========================================================================== */

.fz-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.fz-pricing-card {
    padding: 50px 40px !important;
    text-align: center;
    position: relative;
    transition: var(--fz-transition);
}

.fz-pricing-card:hover { transform: translateY(-10px); }

.fz-plan-badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.fz-plan-badge.pro { 
    background: rgba(43, 196, 195, 0.1); 
    color: var(--fz-teal); 
    width: 90%; 
    top: -15px;
    border: 1px solid rgba(43, 196, 195, 0.3);
    box-shadow: 0 50px 30px rgba(43, 196, 195, 0.2);
}

.fz-plan-highlight {
    border: 2px solid var(--fz-teal) !important;
    box-shadow: 0 30px 60px rgba(1, 110, 125, 0.1) !important;
}

.fz-price { font-size: 48px; font-weight: 900; color: var(--fz-navy); margin: 20px 0; }
.fz-price span { font-size: 16px; color: #94a3b8; }

.fz-feature-list { list-style: none; padding: 0; margin: 30px 0; text-align: left; }
.fz-feature-list li { 
    padding: 10px 0; 
    color: #475569; 
    font-size: 14px; 
    display: flex;
    align-items: center;
    gap: 10px;
}

.fz-feature-list li.fz-tick::before { content: '✓'; color: #10b981; font-weight: 900; }
.fz-feature-list li.fz-locked { opacity: 0.4; }
.fz-feature-list li.fz-locked::before { content: '✕'; color: #ef4444; }

/* Checkout Side-Modal */
.fz-side-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 450px;
    height: 100vh;
    z-index: 9999;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    box-shadow: -20px 0 50px rgba(0,0,0,0.1);
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fz-side-modal.active { right: 0; }

.fz-checkout-inner { padding: 40px; height: 100%; overflow-y: auto; }

.fz-payment-badge {
    background: #f1fefd;
    border: 1px solid #d1f7f5;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fz-teal);
    font-size: 13px;
    font-weight: 600;
}

.fz-checkout-summary {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
}

.fz-summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.fz-summary-row.total { border-top: 1px solid #e2e8f0; padding-top: 10px; margin-top: 10px; font-size: 18px; color: var(--fz-navy); }

.fz-payment-icons { display: flex; gap: 15px; opacity: 0.5; filter: grayscale(1); }
.fz-payment-icons img { height: 25px; }

/* ==========================================================================
   TELE-HEALTH: THE CINEMATIC CLINIC (THEATER MODE)
   ========================================================================== */

#fz-telehealth-room {
    display: flex;
    height: calc(100vh - 120px);
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.fz-tele-stage {
    flex: 1;
    position: relative;
    padding: 10px;
}

#fz-meet-container {
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fz-tele-sidebar {
    width: 350px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.fz-tele-sidebar h4 { color: #fff; margin-bottom: 5px; }
.fz-small-meta { font-size: 11px; color: #94a3b8; line-height: 1.4; }

#fz-live-session-note {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    width: 100%;
    height: 350px;
    margin-top: 20px;
    padding: 15px;
    color: #f1f5f9;
    font-size: 14px;
    outline: none;
    resize: none;
}

/* Glowing Pulse Join Button */
.fz-btn-join-tele {
    background: var(--fz-gradient) !important;
    animation: fzJoinPulse 2s infinite;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    font-weight: 800;
    box-shadow: 0 0 20px rgba(43, 196, 195, 0.4);
}

@keyframes fzJoinPulse {
    0% { box-shadow: 0 0 0 0 rgba(43, 196, 195, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(43, 196, 195, 0); }
    100% { box-shadow: 0 0 0 0 rgba(43, 196, 195, 0); }
}

.fz-meet-loader { text-align: center; color: #fff; }
.fz-meet-loader .fz-ai-pulse { font-size: 40px; margin-bottom: 20px; }

/* ==========================================================================
   PATIENT OS: THE DIGITAL CLINIC (GENTLE UI)
   ========================================================================== */

.fz-patient-pro-theme {
    background: #f8fafb !important;
}

.fz-patient-pro-theme .fz-dash-sidebar {
    background: #fdfdfd;
    border-right: 1px solid rgba(1, 110, 125, 0.08);
}

.fz-patient-pro-theme .fz-nav-item { color: #64748b; }
.fz-patient-pro-theme .fz-nav-item:hover, 
.fz-patient-pro-theme .fz-nav-item.active {
    background: rgba(43, 196, 195, 0.08);
    color: var(--fz-teal);
}

.fz-patient-pro-theme .fz-sidebar-brand span { color: var(--fz-navy); }

/* Exercise Grid & Satisfaction Cards */
.fz-exercise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.fz-exercise-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px !important;
}

.fz-ex-media {
    width: 100%;
    height: 180px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fz-teal);
    overflow: hidden;
}

.fz-video-placeholder { opacity: 0.4; }

.fz-ex-details h4 { margin: 0; font-weight: 800; font-size: 18px; color: var(--fz-navy); }
.fz-ex-meta { display: flex; gap: 10px; align-items: center; margin: 10px 0; }
.fz-ex-instruction { font-size: 13px; color: #64748b; line-height: 1.6; }

.fz-completed-strike { opacity: 0.6; }
.fz-completed-strike .fz-ex-details h4 { text-decoration: line-through; }

/* Vault & Document Management */
.fz-vault-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.fz-upload-zone {
    border: 2px dashed rgba(1, 110, 125, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: var(--fz-transition);
}

.fz-upload-zone:hover { border-color: var(--fz-teal); background: rgba(1, 110, 125, 0.02); }

.fz-doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px !important;
    margin-bottom: 12px;
}

.fz-btn-view { background: #f1f5f9; color: var(--fz-navy); }

/* Progress & Streak Custom Aesthetics */
.fz-patient-overview .fz-stat-card {
    border-radius: 24px;
    padding: 30px !important;
}

.fz-patient-overview .fz-stat-icon {
    font-size: 28px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.fz-patient-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-top: 30px;
}

.fz-exercise-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px !important;
    margin-bottom: 15px;
    border-radius: 12px;
}

.fz-btn-done {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.2);
    background: transparent;
    color: #10b981;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fz-btn-done:hover { background: rgba(16, 185, 129, 0.1); transform: scale(1.1); }
.fz-btn-done.fz-btn-success { background: #10b981; color: #fff; border-color: #10b981; }

/* FIZPI AI MAGIC: Immersive Feedback Animations */
.fz-ai-pulse {
    animation: fzAiGlow 1.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes fzAiGlow {
    0% { box-shadow: 0 0 5px rgba(43, 196, 195, 0.2); transform: scale(1); }
    50% { box-shadow: 0 0 20px rgba(43, 196, 195, 0.6); transform: scale(1.02); }
    100% { box-shadow: 0 0 5px rgba(43, 196, 195, 0.2); transform: scale(1); }
}

/* SPA Tab Transition (Point 74) */
.fz-tab-content-area { 
    animation: fzFadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
}

@keyframes fzFadeInUp { 
    from { opacity: 0; transform: translateY(15px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Elite Mobile Overhaul & Bottom Nav (Point 82, 83) */
@media (max-width: 768px) {
    .fz-overview-grid { 
        grid-template-columns: 1fr; 
        gap: 15px; 
    }

    .fz-dash-main { 
        margin-left: 0; 
        padding: 20px 15px 100px 15px; 
    }

    .fz-dash-sidebar { 
        position: fixed; 
        bottom: 0; 
        left: 0; 
        width: 100%; 
        height: 75px; 
        flex-direction: row; 
        justify-content: space-around; 
        padding: 10px; 
        z-index: 9999; 
        border-top: 1px solid rgba(0,0,0,0.05); 
        box-shadow: 0 -10px 40px rgba(0,0,0,0.1); 
        border-radius: 30px 30px 0 0;
        background: rgba(0, 43, 54, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .fz-sidebar-brand, .fz-logout-btn { display: none; }

    .fz-nav-item { 
        flex-direction: column; 
        gap: 4px; 
        padding: 8px; 
        border-radius: 12px; 
        margin-bottom: 0; 
        flex: 1;
        justify-content: center;
    }

    .fz-nav-item span { 
        font-size: 10px; 
        display: block;
    }

    .fz-patient-pro-theme .fz-dash-sidebar {
        background: #fff;
        border-top: 1px solid #f1f5f9;
    }
}

/* ==========================================================================
   ONBOARDING WIZARD: THE PROFESSIONAL GATEWAY 🏁
   ========================================================================== */

.fz-onboarding-wrapper {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

.fz-wizard-container {
    width: 100%;
    max-width: 650px;
    background: var(--fz-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--fz-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--fz-shadow-deep);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.fz-wizard-header {
    margin-bottom: 40px;
}

.fz-wizard-progress {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.fz-progress-bar {
    height: 100%;
    background: var(--fz-gradient);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fz-wizard-steps-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fz-step-count {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--fz-teal);
    letter-spacing: 1px;
}

.fz-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--fz-navy);
}

.fz-wizard-step {
    display: none;
    animation: fzStepSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fz-wizard-step.active {
    display: block;
}

@keyframes fzStepSlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.fz-wizard-step h2 {
    font-weight: 900;
    font-size: 32px;
    margin: 0 0 10px 0;
    color: var(--fz-navy);
}

.fz-wizard-step p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Avatar Upload Style */
.fz-avatar-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.fz-avatar-preview {
    width: 100px;
    height: 100px;
    background: #f1f5f9;
    border-radius: 50%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.fz-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fz-avatar-preview .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
}

/* Specialty Pills */
.fz-specialties-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fz-pill-checkbox {
    cursor: pointer;
    position: relative;
}

.fz-pill-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.fz-pill-checkbox span {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    transition: all 0.3s ease;
}

.fz-pill-checkbox input:checked + span {
    border-color: var(--fz-cyan);
    background: rgba(43, 196, 195, 0.05);
    color: var(--fz-teal);
    box-shadow: 0 4px 12px rgba(43, 196, 195, 0.15);
}

/* Wizard Footer Controls */
.fz-wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.fz-btn-outline {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fz-btn-outline:hover {
    border-color: var(--fz-navy);
    color: var(--fz-navy);
}

.fz-mt-4 { margin-top: 20px; }

/* Loading Spinner */
.fz-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: fzSpin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes fzSpin {
    to { transform: rotate(360deg); }
}

input:focus, textarea:focus, select:focus {
    border-color: var(--fz-cyan) !important;
    outline: none;
    box-shadow: 0 0 0 4px rgba(43, 196, 195, 0.1);
}

