@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --primary: #1F3864;
    --primary-glow: rgba(31, 56, 100, 0.15);
    --secondary: #C9A227;
    --secondary-glow: rgba(201, 162, 39, 0.15);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-glow: rgba(31, 56, 100, 0.25);
    --transition-speed: 0.25s;
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Containers (Solid Light Theme, No Ambient Gradient Orbs) */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #f8fafc;
    overflow: hidden;
}

.bg-glow-orb-1,
.bg-glow-orb-2 {
    display: none !important;
}

/* Glassmorphism Styles */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    transition: all var(--transition-speed) ease;
}

.glass-panel:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(31, 56, 100, 0.1);
}

.glass-panel-glow {
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 20px rgba(31, 56, 100, 0.1);
}

/* Modern Centered Login Card & Clerk Overrides */
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00c853;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 200, 83, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0);
    }
}

.hover-scale {
    transition: transform 0.25s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* =========================================================================
   TWO-COLUMN SPLIT AUTHENTICATION LAYOUT (Matches Zerqora Brand Hero)
   ========================================================================= */
.auth-split-wrapper {
    width: 100%;
}

.auth-split-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    min-height: 640px;
}

.auth-hero-side {
    background: linear-gradient(145deg, #071329 0%, #0d2046 50%, #132f66 100%);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

/* Subtle Golden Ribbon & Blue Waves */
.auth-hero-wave {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 160px;
    pointer-events: none;
    z-index: 1;
}

.auth-hero-content {
    position: relative;
    z-index: 2;
}

.auth-hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.text-gold {
    color: #F59E0B !important;
}

.auth-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    max-width: 440px;
}

.auth-features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.975rem;
    font-weight: 500;
    color: #ffffff;
}

.auth-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #F59E0B;
    background: rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F59E0B;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* Laptop Mockup Graphic */
.auth-laptop-mockup {
    position: relative;
    z-index: 2;
    max-width: 440px;
    margin: 0 auto;
}

.laptop-screen-frame {
    background: #0f172a;
    border-radius: 14px 14px 0 0;
    padding: 10px 10px 0 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.laptop-screen-content {
    background: #f8fafc;
    border-radius: 8px 8px 0 0;
    min-height: 175px;
    overflow: hidden;
}

.laptop-keyboard-base {
    height: 14px;
    background: linear-gradient(to bottom, #cbd5e1, #94a3b8);
    border-radius: 0 0 14px 14px;
    position: relative;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.laptop-notch {
    width: 65px;
    height: 4px;
    background: #64748b;
    border-radius: 0 0 4px 4px;
    margin: 0 auto;
}

.auth-form-side {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auth-form-side .cl-card {
    box-shadow: none !important;
    border: none !important;
    padding: 10px 0 !important;
    width: 100% !important;
    max-width: 380px !important;
}

/* Clerk Component Overrides - Single Unified Card with Zero Inner Seams & Standard 480px Width */
:not(.tenant-login-card) > #clerk-signin-container,
:not(.tenant-login-card) > #clerk-signup-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

:not(.tenant-login-card) > #clerk-signin-container .cl-rootBox,
:not(.tenant-login-card) > #clerk-signup-container .cl-rootBox,
:not(.tenant-login-card) > #clerk-signin-container .cl-cardBox,
:not(.tenant-login-card) > #clerk-signup-container .cl-cardBox {
    background: #ffffff !important;
    box-shadow: 0 20px 45px -15px rgba(31, 56, 100, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06) !important;
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 480px !important;
    box-sizing: border-box !important;
}

:not(.tenant-login-card) > #clerk-signin-container .cl-card,
:not(.tenant-login-card) > #clerk-signup-container .cl-card {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 38px 36px 14px 36px !important;
    width: 100% !important;
    max-width: 480px !important;
    box-sizing: border-box !important;
}

:not(.tenant-login-card) > #clerk-signin-container .cl-footer,
:not(.tenant-login-card) > #clerk-signup-container .cl-footer {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
    border-radius: 0 0 24px 24px !important;
    padding: 0 36px 26px 36px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

:not(.tenant-login-card) [class*="devMode"],
:not(.tenant-login-card) [class*="developmentMode"],
:not(.tenant-login-card) .cl-devModeNotice {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Form Field Inputs */
.cl-formFieldInput {
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    height: 48px !important;
    font-size: 0.95rem !important;
    padding: 0 16px !important;
    color: #0f172a !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
}

.cl-formFieldInput:focus {
    border-color: #1F3864 !important;
    box-shadow: 0 0 0 3px rgba(31, 56, 100, 0.12) !important;
    outline: none !important;
}

.cl-formFieldLabel {
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    color: #475569 !important;
    margin-bottom: 6px !important;
}

/* Primary Action Button (Navy with arrow) */
.cl-formButtonPrimary {
    background-color: #1F3864 !important;
    border-radius: 12px !important;
    height: 48px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(31, 56, 100, 0.25) !important;
    transition: all 0.2s ease !important;
}

.cl-formButtonPrimary:hover {
    background-color: #162846 !important;
    box-shadow: 0 6px 20px rgba(31, 56, 100, 0.35) !important;
    transform: translateY(-1px);
}

#clerk-signin-container .cl-formButtonPrimary::before {
    content: "→ ";
    font-size: 1.1rem;
    font-weight: 700;
    margin-right: 6px;
}

/* Divider ("Or continue with") */
.cl-dividerRow {
    margin: 20px 0 16px 0 !important;
}

.cl-dividerLine {
    background-color: #e2e8f0 !important;
}

.cl-dividerText {
    font-size: 0 !important;
}

.cl-dividerText::after {
    content: "Or continue with" !important;
    font-size: 0.85rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

/* Social Buttons Row (Facebook & Google side by side) */
.cl-socialButtons {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    width: 100% !important;
}

.cl-socialButtonsBlockButton {
    flex: 1 1 0 !important;
    width: auto !important;
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    height: 48px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
}

.cl-socialButtonsBlockButton:hover {
    background-color: #f8fafc !important;
    border-color: #94a3b8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06) !important;
}

/* Clean Footer Links */
.cl-footer {
    background: transparent !important;
    border-top: none !important;
    padding-top: 16px !important;
    margin-top: 4px !important;
}

.cl-footerActionText {
    color: #64748b !important;
    font-size: 0.875rem !important;
}

.cl-footerActionLink {
    color: #1F3864 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.cl-footerActionLink:hover {
    text-decoration: underline !important;
}

/* Hide Clerk Dev Mode striped banner for clean look */
.cl-devModeNotice,
[class*="devModeNotice"],
[class*="developmentMode"],
.cl-internal-b3fm6y {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Tenant Login Card (Single unified card - zero inner box artifacts) */
.tenant-login-card #clerk-signin-container,
.tenant-login-card .cl-card,
.tenant-login-card .cl-rootBox,
.tenant-login-card .cl-rootBox .cl-card,
.tenant-login-card .cl-cardBox,
.tenant-login-card .cl-main,
.tenant-login-card [class*="cl-card"] {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

/* Hide internal Clerk headers, logos, and redundant titles inside tenant login card */
.tenant-login-card .cl-header,
.tenant-login-card .cl-headerLogo,
.tenant-login-card .cl-headerLogoImage,
.tenant-login-card .cl-logoImage,
.tenant-login-card .cl-logoBox,
.tenant-login-card .cl-headerTitle,
.tenant-login-card .cl-headerSubtitle,
.tenant-login-card #clerk-signin-container img[alt*="logo" i],
.tenant-login-card #clerk-signup-container img[alt*="logo" i],
.tenant-login-card #clerk-signin-container img[src*="zerqora" i],
.tenant-login-card #clerk-signup-container img[src*="zerqora" i] {
    display: none !important;
}

.tenant-login-card img.tenant-brand-logo-img {
    display: block !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tenant-login-card .cl-socialButtons {
    width: 100% !important;
    margin: 12px 0 0 0 !important;
    padding-top: 10px !important;
    overflow: visible !important;
}

.tenant-login-card .cl-socialButtonsBlockButton {
    position: relative !important;
    width: 100% !important;
    height: 48px !important;
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
}

.tenant-login-card .cl-socialButtonsBlockButton:hover {
    background-color: #f8fafc !important;
    border-color: #94a3b8 !important;
}

/* Ensure Clerk's "Last used" badge fits cleanly and is 100% visible */
.tenant-login-card .cl-badge,
.tenant-login-card .cl-providerBadge,
.tenant-login-card [class*="cl-badge"],
.tenant-login-card [class*="cl-tag"],
.tenant-login-card [class*="socialButtonsBlockButton__badge"] {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
    max-width: none !important;
    white-space: nowrap !important;
}

.cl-headerSubtitle {
    color: #64748b !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin-top: 4px !important;
    font-weight: 400 !important;
}

/* OTP Verification Code Inputs */
.cl-otpCodeField,
.cl-otpCodeFieldInputs,
[class*="otpCodeFieldInputs"] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 24px 0 !important;
    width: 100% !important;
}

.cl-otpCodeFieldInput,
input[data-otp-input],
.cl-otpCodeFieldInputs input,
[class*="otpCodeFieldInput"] {
    width: 46px !important;
    height: 54px !important;
    min-width: 44px !important;
    flex: 0 0 46px !important;
    flex-shrink: 0 !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 0 !important;
    border-radius: 12px !important;
    border: 1.5px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
}

.cl-otpCodeFieldInput:focus,
input[data-otp-input]:focus,
.cl-otpCodeFieldInputs input:focus,
[class*="otpCodeFieldInput"]:focus {
    border-color: #1F3864 !important;
    box-shadow: 0 0 0 3px rgba(31, 56, 100, 0.15) !important;
    outline: none !important;
}

/* Clerk Footer Action (Already have an account? Sign In / Don't have an account? Sign Up) */
.cl-footerAction,
#clerk-signup-container .cl-footerAction,
#clerk-signin-container .cl-footerAction {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 14px !important;
    font-size: 0.9rem !important;
}

.cl-footerActionText,
#clerk-signup-container .cl-footerActionText,
#clerk-signin-container .cl-footerActionText {
    color: #64748b !important;
    font-size: 0.9rem !important;
    margin-right: 4px !important;
}

.cl-footerActionLink,
#clerk-signup-container .cl-footerActionLink,
#clerk-signin-container .cl-footerActionLink {
    color: #1F3864 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.cl-footerActionLink:hover,
#clerk-signup-container .cl-footerActionLink:hover,
#clerk-signin-container .cl-footerActionLink:hover {
    color: #0d2046 !important;
    text-decoration: underline !important;
}

/* Hide First Name and Last Name fields in Clerk forms */
.cl-formField__firstName,
.cl-formField__lastName,
.cl-formFieldRow__firstName,
.cl-formFieldRow__lastName,
.cl-formFieldRow__firstName__lastName,
.cl-formFieldRow:has(input[name*="firstName" i]),
.cl-formFieldRow:has(input[name*="lastName" i]),
.cl-formFieldRow:has(input[name*="first_name" i]),
.cl-formFieldRow:has(input[name*="last_name" i]),
.cl-formFieldRow:has(input[id*="firstName" i]),
.cl-formFieldRow:has(input[id*="lastName" i]),
.cl-formField:has(input[name*="firstName" i]),
.cl-formField:has(input[name*="lastName" i]),
.cl-formField:has(input[id*="firstName" i]),
.cl-formField:has(input[id*="lastName" i]),
[class*="formFieldRow"]:has(input[name*="firstName" i]),
[class*="formFieldRow"]:has(input[name*="lastName" i]),
[class*="formField__firstName"],
[class*="formField__lastName"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Typography & Links (Solid colors, no text gradients) */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

h1:focus, h2:focus, h3:focus, h4:focus, h5:focus, h6:focus {
    outline: none !important;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--secondary);
    text-shadow: none;
}

/* Buttons (Solid colors, no gradients) */
.btn-premium {
    background-color: var(--primary);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px var(--primary-glow);
    transition: all var(--transition-speed) cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--secondary-glow);
    background-color: var(--secondary); /* Gold */
}

.btn-premium:active {
    transform: translateY(1px);
}

.btn-premium:disabled,
.btn-premium.disabled {
    background-color: #94a3b8 !important;
    border-color: #94a3b8 !important;
    color: #ffffff !important;
    opacity: 0.9 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

.btn-premium-outline {
    background: transparent;
    color: var(--text-main) !important;
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 10px 22px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.btn-premium-outline:hover {
    background-color: var(--secondary); /* Gold */
    border-color: var(--secondary);
    color: #fff !important;
    box-shadow: 0 4px 12px var(--secondary-glow);
    transform: translateY(-2px);
}

/* Inputs and Forms (Styled for light theme) */
.form-control-premium {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    color: var(--text-main) !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease !important;
}

.form-control-premium:focus {
    background: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 8px var(--primary-glow) !important;
    outline: none !important;
}

.form-label-premium {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

/* Custom Grid & Layouts (White navbar, clean borders) */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.navbar-premium {
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
    padding: 15px 30px;
}

.navbar-logo-img {
    height: 38px;
    margin-right: 10px;
}

/* Landing Page Hero (No text gradient) */
.hero-section {
    padding: 80px 20px 60px 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    background: rgba(108, 99, 255, 0.08);
    border: 1px solid rgba(108, 99, 255, 0.2);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
}

/* Card Verticals Grid */
.vertical-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.vertical-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card);
    border-color: var(--secondary);
    box-shadow: 0 12px 25px var(--secondary-glow);
}

.vertical-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.vertical-icon-barbershop {
    background: rgba(31, 56, 100, 0.08);
    color: var(--primary);
    border: 1px solid rgba(31, 56, 100, 0.15);
}

.vertical-icon-salon {
    background: rgba(201, 162, 39, 0.08);
    color: var(--secondary);
    border: 1px solid rgba(201, 162, 39, 0.15);
}

.vertical-icon-bus {
    background: rgba(31, 56, 100, 0.08);
    color: var(--primary);
    border: 1px solid rgba(31, 56, 100, 0.15);
}

/* Pricing Grid */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.pricing-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 25px var(--secondary-glow);
}

.pricing-card.popular {
    border-color: var(--secondary);
    box-shadow: 0 8px 25px var(--secondary-glow);
    background: var(--bg-card);
}

.pricing-ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.price-display {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
    color: var(--text-main);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Step Wizard */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.wizard-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    position: relative;
    z-index: 2;
}

.wizard-step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.wizard-step-node.active .wizard-step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.wizard-step-node.completed .wizard-step-circle {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

.wizard-step-label {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.wizard-step-node.active .wizard-step-label {
    color: var(--text-main);
}

.wizard-step-node.completed .wizard-step-label {
    color: #28a745;
}

/* Dashboard Metrics */
.stat-card {
    padding: 25px;
    display: flex;
    align-items: center;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #f1f5f9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Form Toggles and Custom Switches */
.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--primary);
    background-color: var(--primary);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

/* Interactive Sidebar in Dashboard */
.sidebar {
    background: #ffffff;
    border-right: 1px solid var(--border-color);
}

.nav-link {
    color: var(--text-muted);
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--text-main);
    background: rgba(15, 23, 42, 0.03);
}

.nav-link.active {
    background-color: var(--primary);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 4px 10px var(--primary-glow);
}

/* Ensure Bootstrap Modals always overlay above MudBlazor Top AppBar and Side Drawer */
.modal.show {
    z-index: 2500 !important;
}

/* Full-Viewport Modal Overlay that sits on top of BOTH MudAppBar (top nav) and MudDrawer (side nav) */
.modal.show,
.modal.fade.show,
.zq-modal-backdrop,
.custom-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2600 !important;
    background: rgba(15, 23, 42, 0.58) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

/* Ensure all modals and backdrops sit on top of both Top AppBar and Side Nav Drawer */
.modal.fade.show.d-block,
.zq-modal-backdrop,
.custom-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 3000 !important;
    background: rgba(15, 23, 42, 0.58) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    overflow-y: auto !important;
}

/* GLOBAL PRINT ENGINE OVERRIDES */
@media print {
    .mud-appbar,
    .zerqora-appbar,
    .mud-drawer,
    .zerqora-drawer,
    .mud-layout-drawer,
    .bg-glow-container,
    #blazor-error-ui,
    .no-print {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }

    body, .mud-main-content, .zerqora-main {
        padding: 0 !important;
        margin: 0 !important;
        background-color: #ffffff !important;
        color: #0f172a !important;
    }

    .mud-container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .card, .glass-panel, .chart-card {
        overflow: hidden !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    canvas {
        max-width: 100% !important;
        display: block !important;
    }
}