@import "tailwindcss";

/* This app is light-only: there is no dark-mode toggle anywhere. Make the
   `dark:` variant opt-in (class-based) instead of driven by the OS preference,
   so a stray `dark:` utility can't render half a page dark on a white ground
   for viewers whose browser prefers dark. Nothing sets `.dark`, so every
   `dark:` utility stays inert. */
@custom-variant dark (&:where(.dark, .dark *));

/* Tell the browser this is a light UI so it never auto-darkens native form
   controls (inputs, selects, scrollbars) under a dark OS preference. */
:root { color-scheme: light; }


/* Icon font, bundled rather than pulled from a CDN at runtime. */
@import "@fortawesome/fontawesome-free/css/all.min.css";

/* ===================================================================
   Stencil — the public design system.

   A tattoo stencil is violet transfer on shop paper, committed in ink.
   It is also the idea the product rests on: you look at it before it
   is permanent. Defined here so every public page inherits it from the
   bundle rather than redeclaring it in a <style> block.
   =================================================================== */

:root {
    --paper:        #F6F4F1;
    --surface:      #FFFFFF;
    --ink:          #16131C;
    --ink-soft:     #453E52;
    --muted:        #6E6878;
    --stencil:      #6B46C1;
    --stencil-deep: #3A2569;
    --stencil-wash: #EFE9FB;
    --rule:         #E3DFD9;

    --good:      #1F6B4A;
    --good-wash: #E6F2EC;
    --warn:      #8A5A12;
    --warn-wash: #FBF1DF;
    --bad:       #A32B24;
    --bad-wash:  #FBE9E8;

    --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --body:    'Inter', system-ui, sans-serif;
    --mono:    'JetBrains Mono', ui-monospace, monospace;
}

.display {
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 0.94;
    font-variation-settings: 'wdth' 88;
}

.eyebrow {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.rule { border-color: var(--rule); }

.pill {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border: 1px solid currentColor;
}
.pill-stencil { color: var(--stencil); background: var(--stencil-wash); }
.pill-good    { color: var(--good);    background: var(--good-wash); }
.pill-warn    { color: var(--warn);    background: var(--warn-wash); }
.pill-bad     { color: var(--bad);     background: var(--bad-wash); }

/* Buttons. Square-ish corners throughout: the system has no pills except
   for status, and mixing radii is what made the old site feel unplaced. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 2px;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background-color 120ms ease, color 120ms ease;
}
.btn-primary   { background: var(--stencil); color: #fff; }
.btn-primary:hover   { background: var(--stencil-deep); }
.btn-ink       { background: var(--ink); color: #fff; }
.btn-ink:hover       { background: var(--stencil-deep); }
.btn-outline   { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover   { background: var(--ink); color: #fff; }

/* Form controls */
.field {
    display: block;
    width: 100%;
    border: 1px solid var(--rule);
    background: var(--surface);
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    color: var(--ink);
    border-radius: 2px;
}
.field:focus {
    outline: 2px solid var(--stencil);
    outline-offset: -1px;
    border-color: var(--stencil);
}
.field-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

/* Long-form prose: legal pages and anything else read rather than scanned. */
.legal { color: var(--ink-soft); }
.legal h2 {
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.15rem;
    color: var(--ink);
    margin-top: 2.75rem;
    margin-bottom: 0.75rem;
}
.legal h3 {
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}
.legal p { margin-bottom: 1rem; line-height: 1.75; }
.legal ul, .legal ol { margin: 0 0 1.25rem 1.25rem; line-height: 1.75; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 0.35rem; }
.legal a { color: var(--stencil); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--ink); font-weight: 600; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--stencil);
    outline-offset: 3px;
    border-radius: 2px;
}

/* The headline commits from stencil outline to ink, once, on load. */
.stencil-line {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--stencil);
    animation: commit 900ms cubic-bezier(.22,.9,.28,1) forwards;
}
.stencil-line:nth-child(2) { animation-delay: 130ms; }
.stencil-line:nth-child(3) { animation-delay: 260ms; }

@keyframes commit {
    from { color: transparent; -webkit-text-stroke: 1.5px var(--stencil); opacity: .55; }
    to   { color: var(--ink);  -webkit-text-stroke: 0px var(--stencil);   opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .stencil-line { animation: none; color: var(--ink); -webkit-text-stroke: 0; }
}

/* ---- Legacy CRM styles ---- */



/* Base styles - Let Tailwind handle reset */
html {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* CRM Dashboard Styles (glass morphism for internal app) */
.crm-body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

.glass-nav {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: var(--shadow-md);
}

/* Client-facing journey pages use this heavily. It was a dark glass panel
   from the old theme, which left dark text on a dark card once those pages
   moved to the light system. */
.glass-card {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 2px;
}
.glass-card .glass-card { background: var(--paper); }

.text-primary   { color: var(--stencil); }
.text-secondary { color: var(--ink-soft); }

/* Marketing Website Styles (clean and professional) */
.marketing-body {
    background: var(--bg-white);
    color: var(--text-dark);
    width: 100%;
    overflow-x: hidden;
}

/* Clean Navigation */
.navbar-professional {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar-professional.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.025em;
    font-family: var(--font-display);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(107, 70, 193, 0.1);
}

/* Professional Buttons */
.btn-primary-marketing {
    background: var(--accent);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary-marketing:hover {
    background: #FF5252;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary-marketing {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-secondary-marketing:hover {
    background: var(--bg-gray);
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section - Using Tailwind utility classes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(107, 70, 193, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card-dark {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    color: white;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card:hover::before,
.feature-card-dark:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(107, 70, 193, 0.2);
}

.feature-card-dark:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing Cards */
.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.1);
}

.pricing-card:hover {
    box-shadow: 0 16px 48px rgba(255, 107, 107, 0.2);
    transform: translateY(-8px);
}

.pricing-card.popular {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 16px 48px rgba(255, 107, 107, 0.3);
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.98);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(107, 70, 193, 0.3);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Fix pricing card text colors */
.pricing-card h3 {
    color: var(--text-dark) !important;
}

/* Force FAQ centering */
.faq-section {
    text-align: center !important;
}

.faq-section button {
    text-align: center !important;
    justify-content: center !important;
}

.faq-section h3 {
    text-align: center !important;
}

.pricing-card p {
    color: var(--text-muted) !important;
}

.pricing-card ul li {
    color: var(--text-muted) !important;
}

.pricing-card .text-4xl {
    color: var(--primary) !important;
}

.pricing-card .text-gray-600 {
    color: var(--text-muted) !important;
}

.pricing-card .pricing-price {
    color: var(--primary) !important;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary) !important;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.pricing-period {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Accent elements */
.accent-dot {
    position: relative;
}

.accent-dot::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Footer */
.footer-professional {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-light);
    padding: 3rem 0 2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-light);
    color: var(--text-muted);
}

/* Layout utilities */
.container-pro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 5rem 0;
}

/* Background variations */
.bg-purple-rich {
    background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 50%, #A855F7 100%);
    color: white;
}

.bg-purple-medium {
    background: linear-gradient(135deg, #F3F4F6 0%, #E0E7FF 50%, #DDD6FE 100%);
}

.bg-coral-rich {
    background: linear-gradient(135deg, var(--accent) 0%, #FF8A80 50%, #FFAB91 100%);
    color: white;
}

.bg-dark-elegant {
    background: linear-gradient(135deg, var(--secondary) 0%, #1F2937 50%, #111827 100%);
    color: white;
}

.bg-gradient-wild {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, #F59E0B 100%);
    color: white;
}

.bg-purple-coral {
    background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
}

/* Visual elements */
.section-accent {
    position: relative;
    overflow: hidden;
}

.section-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    pointer-events: none;
}

.section-wild {
    position: relative;
    overflow: hidden;
}

.section-wild::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-pattern {
    position: relative;
    overflow: hidden;
}

.section-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 20px);
    pointer-events: none;
}

.text-center {
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* CRM specific styles (keep existing for dashboard) */
.dropdown {
    position: relative;
    z-index: 999999;
}

.dropdown-content {
    display: none;
    position: fixed;
    min-width: 200px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 2147483647;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-content.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

/* Form styles */
.form-input {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    width: 100%;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Login page styles */
.login-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.crm-logo {
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    letter-spacing: -0.025em;
}

/* Responsive design */
@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
        margin-bottom: 1rem;
    }
}

@media (max-width: 640px) {
    .container-pro {
        padding: 0 1rem;
    }
}

/* Advanced Animations & Effects */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(107, 70, 193, 0.3); }
    50% { box-shadow: 0 0 40px rgba(107, 70, 193, 0.6), 0 0 60px rgba(255, 107, 107, 0.3); }
}

@keyframes colorShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(15deg); }
}

.section-shimmer {
    background-size: 200% 100%;
    animation: shimmer 10s ease-in-out infinite;
}

.glow-effect {
    animation: glow 4s ease-in-out infinite;
}

.color-shift {
    animation: colorShift 8s ease-in-out infinite;
}

/* Fix pricing card buttons */
.pricing-card .btn-primary-marketing {
    background: var(--accent) !important;
    color: white !important;
}

.pricing-card .btn-secondary-marketing {
    background: var(--bg-white) !important;
    color: var(--text-dark) !important;
    border: 1px solid var(--border) !important;
}

.pricing-card .btn-secondary-marketing:hover {
    background: var(--bg-gray) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.pricing-card .btn-primary-marketing:hover {
    background: #FF5252 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3) !important;
}

/* ========================================
   Authentication Pages (Login/Register)
   ======================================== */

.auth-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fafbfc;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Login Card Design */
.modern-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.modern-login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.modern-login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 440px;
    width: 100%;
    padding: 3rem;
    position: relative;
    z-index: 10;
}

.modern-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modern-login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.modern-login-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 400;
}

.modern-tagline {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    font-weight: 400;
}

.modern-input-wrapper {
    margin-bottom: 1.25rem;
}

.modern-input-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.modern-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.15s ease;
    background: #fafbfc;
    color: #1a1a1a;
}

.modern-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modern-input::placeholder {
    color: #94a3b8;
}

.modern-btn {
    width: 100%;
    padding: 0.625rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.modern-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

.modern-btn:active {
    transform: translateY(0);
}

.modern-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.modern-stat {
    text-align: center;
}

.modern-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.modern-stat-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.modern-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.modern-footer-text {
    font-size: 0.75rem;
    color: #94a3b8;
}

.modern-trust-badge {
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: #f1f5f9;
    border-radius: 8px;
    text-align: center;
}

.modern-trust-text {
    font-size: 0.8125rem;
    color: #475569;
    font-weight: 500;
}

.modern-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
}

.modern-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.modern-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.modern-link:hover {
    color: #5568d3;
}

.modern-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #166534;
    font-weight: 500;
    margin: 1rem auto 0;
}

.modern-secure-icon {
    color: #22c55e;
}

.auth-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 100%);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-left::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-right {
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow-y: auto;
}

.auth-logo {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    z-index: 10;
}

.auth-subtitle {
    margin-top: 0.5rem;
    opacity: 0.9;
    font-size: 0.9375rem;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    z-index: 10;
}

.auth-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.auth-feature-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.auth-feature-desc {
    opacity: 0.9;
    font-size: 0.875rem;
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

.auth-header {
    margin-bottom: 2.5rem;
}

.auth-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.auth-description {
    color: #64748b;
    font-size: 0.9375rem;
}

.auth-input-group {
    margin-bottom: 1.5rem;
}

.auth-input-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.5rem;
}

.auth-input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: all 0.2s;
    background: #ffffff;
    color: #0f172a;
}

.auth-input-field:focus {
    outline: none;
    border-color: #6B46C1;
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.auth-input-field::placeholder {
    color: #94a3b8;
}

.auth-select-field {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 2.5rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: all 0.2s;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%2394a3b8%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpolyline points=%276 9 12 15 18 9%27%3e%3c/polyline%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25em 1.25em;
}

.auth-select-field:focus {
    outline: none;
    border-color: #6B46C1;
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.auth-btn-primary {
    width: 100%;
    padding: 0.875rem;
    background: #6B46C1;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-btn-primary:hover {
    background: #5a3aa1;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(107, 70, 193, 0.2);
}

.auth-btn-primary:active {
    transform: translateY(0);
}

.auth-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
}

.auth-checkbox-wrapper label {
    font-size: 0.875rem;
    color: #475569;
    cursor: pointer;
}

.auth-link {
    color: #6B46C1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-link:hover {
    color: #5a3aa1;
}

.auth-error-message {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #ef4444;
}

.auth-divider {
    margin: 1.5rem 0;
    border-top: 1px solid #e2e8f0;
}

.auth-footer {
    opacity: 0.7;
    font-size: 0.875rem;
    z-index: 10;
}

.auth-heading {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    .auth-left {
        display: none;
    }
    .auth-right {
        padding: 2rem;
    }
}
