/* Minerva Auth & Access 1.0.1 — dedicated authentication surface */
:root{--primary:#0f172a;--primary-light:#1e293b;--accent:#2563eb;--accent-hover:#1d4ed8;--purple:#8b5cf6;--cyan:#06b6d4;--success:#10b981;--warning:#f59e0b;--danger:#ef4444;--bg:#f8fafc;--text:#334155;--border:#e2e8f0;--card-bg:rgba(255,255,255,.95);--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--shadow-sm:0 1px 2px rgba(0,0,0,.05);--shadow-md:0 4px 8px rgba(15,23,42,.06);--shadow-lg:0 16px 40px rgba(15,23,42,.09);}
/* Font is loaded once in the portal document head. */
    :root { 
        --primary: #0f172a; --primary-light: #1e293b; 
        --accent: #2563eb; --accent-hover: #1d4ed8; 
        --purple: #8b5cf6; --cyan: #06b6d4; 
        --success: #10b981; --warning: #f59e0b; --danger: #ef4444; 
        --bg: #f8fafc; --text: #334155; --border: #e2e8f0; 
        --card-bg: rgba(255, 255, 255, 0.95); --sidebar-w: 280px; 
        --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    }
    html,body{height:100%;margin:0!important;padding:0!important;background:var(--bg);font-family:"Plus Jakarta Sans",sans-serif;color:var(--text);font-size:14px;box-sizing:border-box; -webkit-overflow-scrolling: touch;}
    body::before { content: ""; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-image: radial-gradient(#cbd5e1 1px, transparent 1px); background-size: 30px 30px; opacity: 0.3; z-index: -1; pointer-events: none;}
    #wpadminbar{display:none!important;}*{box-sizing:border-box;outline:none}
    ::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}
    @keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
    @keyframes fadeIn{from{opacity:0}to{opacity:1}}
    @keyframes pulseSkeleton{0%,100%{opacity:1}50%{opacity:0.4}}
    @keyframes pulseRed { 0% { text-shadow: 0 0 0px rgba(220,38,38,0); } 50% { text-shadow: 0 0 8px rgba(220,38,38,0.8); } 100% { text-shadow: 0 0 0px rgba(220,38,38,0); } }
    .text-due-red { color: #dc2626 !important; animation: pulseRed 2s infinite; }
    .animate-up{animation:fadeInUp 0.5s cubic-bezier(0.16,1,0.3,1) forwards}
    .skeleton{background:#e2e8f0;border-radius:var(--radius-sm);animation:pulseSkeleton 1.5s infinite ease-in-out;color:transparent!important;user-select:none}
    .form-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow-md); width: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .form-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
    .card-title{font-size:16px;font-weight:800;color:var(--primary);margin-top:0;margin-bottom:24px;padding-bottom:12px;border-bottom:1px solid rgba(226,232,240,0.6);display:flex;align-items:center;gap:12px;}
    .metric-card{position:relative;overflow:hidden;padding:24px;border-radius:var(--radius-lg);color:#fff;box-shadow:var(--shadow-sm);transition:all 0.4s ease;display:flex;flex-direction:column;justify-content:center; border:1px solid rgba(255,255,255,0.15);}
    .metric-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
    .metric-card .icon{position:absolute;right:-15px;bottom:-15px;font-size:90px;opacity:0.1;transition:0.5s cubic-bezier(0.4, 0, 0.2, 1); transform: rotate(-10deg);}
    .metric-card:hover .icon{transform:scale(1.1) rotate(0deg);opacity:0.2}.metric-card .metric-title{font-size:13px;font-weight:700;text-transform:uppercase;margin-bottom:8px;z-index:1;position:relative;letter-spacing:0.5px; opacity:0.9;}
    .metric-card .metric-value{font-size:28px;font-weight:800;z-index:1;position:relative;letter-spacing:-1px}
    
    .bg-grad-1{background:linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%)}
    .bg-grad-2{background:linear-gradient(135deg, #0284c7 0%, #082f49 100%)}
    .bg-grad-3{background:linear-gradient(135deg, #be123c 0%, #7f1d1d 100%)}
    .bg-grad-4{background:linear-gradient(135deg, #059669 0%, #064e3b 100%)}
    
    .chart-wrapper{background:var(--card-bg);border-radius:var(--radius-lg);padding:20px;box-shadow:var(--shadow-sm);border:1px solid var(--border);margin-bottom:24px;flex:1;transition:all 0.3s ease;min-height:350px;display:flex;flex-direction:column;}
    .chart-wrapper:hover{box-shadow:var(--shadow-md)}
    .chart-container{position:relative;flex:1;width:100%;height:100%;min-height:250px;}
    .progress-bar-bg{background:rgba(255,255,255,0.2);border-radius:10px;height:6px;width:100%;overflow:hidden;margin-top:12px} .progress-bar-fill{height:100%;border-radius:10px;transition:width 1s}
    .premium-popup-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(15,23,42,0.6);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:1000005;opacity:0;visibility:hidden;transition:all 0.3s ease; overflow-y:auto; overflow-x:hidden;}
    .premium-popup-overlay.show{opacity:1;visibility:visible}
    .premium-popup-box{background:var(--card-bg);border-radius:var(--radius-lg);width:95%;max-width:420px;padding:30px;text-align:center;box-shadow:var(--shadow-lg);transform:translateY(20px) scale(0.98);transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1); margin:auto; border:1px solid rgba(0,0,0,0.05)}
    .premium-popup-overlay.show .premium-popup-box{transform:translateY(0) scale(1)}
    .portal-input-group{margin-bottom:16px;text-align:left;position:relative;width:100%}
    .portal-input{width:100%;padding:10px 14px;font-size:13px;background:#ffffff;border:1px solid #cbd5e1;border-radius:var(--radius-sm);transition:all 0.2s ease;color:var(--primary);font-family:inherit;font-weight:500; height: 42px; box-shadow: var(--shadow-sm);}
    .portal-input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 4px rgba(37, 99, 235, 0.15);}
    .portal-input:disabled,.portal-input[readonly]{background:#f1f5f9;color:#94a3b8;cursor:not-allowed;border-color:#e2e8f0;opacity:0.8;}
    .inline-error{color:var(--danger);font-size:12px;font-weight:600;position:absolute;bottom:-18px;left:4px;display:none}
    .has-error{border-color:var(--danger)!important;background:#fef2f2!important;box-shadow:0 0 0 4px rgba(239,68,68,0.1)!important}
    .select2-container { z-index: 1000010 !important; }
    .select2-container--default .select2-selection--single { background-color: #ffffff; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); height: 42px; display: flex; align-items: center; transition: all 0.2s; box-shadow: var(--shadow-sm); }
    .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--primary); font-weight: 500; font-size: 13px; padding-left: 14px; width: 100%; }
    .select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; right: 10px; }
    .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,0.15); background: #fff; }
    .select2-dropdown { border: 1px solid #cbd5e1; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 8px; z-index: 1000010 !important; margin-top:4px; background:#fff;}
    .select2-search__field { border-radius: 6px !important; border: 1px solid #cbd5e1 !important; padding: 8px 12px !important; font-family: inherit; font-size:13px;}
    .select2-results__option { padding: 10px 14px; font-weight: 500; font-size: 13px; border-radius: 6px; margin-bottom: 2px; transition:0.2s;}
    .select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: var(--accent); color: white; }
    .btn-black{width:100%;padding:12px;background:var(--primary);color:#fff;border:none;border-radius:var(--radius-sm);font-size:14px;font-weight:700;cursor:pointer;transition:all 0.2s ease; box-shadow:var(--shadow-sm);}
    .btn-black:hover:not(:disabled){background:#000;box-shadow:var(--shadow-md);transform:translateY(-1px)}
    .btn-black:disabled{opacity:0.6;cursor:not-allowed;background:#94a3b8!important;box-shadow:none;transform:none;}
    .btn-action{padding:8px 16px;background:#fff;color:var(--primary);border-radius:var(--radius-sm);cursor:pointer;border:1px solid #e2e8f0;font-weight:600;font-size:13px;transition:all 0.2s ease;box-shadow:var(--shadow-sm)}
    .btn-action:hover{background:#f8fafc;border-color:#cbd5e1;transform:translateY(-1px);}
    .popup-btn{width:100%;padding:12px;background:var(--primary);color:#fff;border:none;border-radius:var(--radius-sm);font-size:14px;font-weight:700;cursor:pointer;transition:0.2s ease;box-shadow:var(--shadow-sm);}
    .popup-btn:hover{background:#000;box-shadow:var(--shadow-md);transform:translateY(-1px);}
    .portal-switch-link{font-size:13px;color:#64748b;margin-top:20px; font-weight:500;}
    .portal-switch-link a{color:var(--accent);font-weight:700;text-decoration:none;transition:0.2s}
    .portal-switch-link a:hover{color:var(--accent-hover);text-decoration:underline}
    .portal-container{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;max-width:1100px;min-height:100vh;margin:0 auto;padding:40px 20px;gap:60px;overflow-x:hidden}
    .portal-left{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;max-width:500px}
    .portal-svg-wrapper{width:100%;max-width:400px;margin:0 auto 30px auto;position:relative}
    .portal-quote{font-size:16px;color:#475569;font-weight:500;line-height:1.6}
    .portal-right{flex:0 0 380px;width:380px;background:var(--card-bg);border-radius:var(--radius-lg);padding:40px;box-shadow:var(--shadow-lg);text-align:center;border:1px solid rgba(0,0,0,0.02);max-width:100%;opacity:0}
    .portal-logo-container img{max-width:140px;height:auto;margin-bottom:15px}
    .portal-title{font-size:22px;font-weight:800;color:var(--primary);margin:0 0 24px 0;letter-spacing:-0.5px;}

    .apple-toast-container { position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-100px) scale(0.9); background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.1); color: #ffffff; padding: 14px 24px; border-radius: 32px; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.1); z-index: 9999999; opacity: 0; display: flex; align-items: center; gap: 16px; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
    .apple-toast-container.show { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
    .apple-toast-icon { font-size: 20px; display: flex; align-items: center; justify-content: center; }
    .apple-toast-container.warning .apple-toast-icon { color: #f59e0b; } .apple-toast-container.critical .apple-toast-icon { color: #ef4444; } .apple-toast-container.success .apple-toast-icon { color: #10b981; }
    .apple-toast-content { display: flex; flex-direction: column; }
    .apple-toast-title { font-weight: 800; font-size: 14px; letter-spacing: -0.3px; margin-bottom: 2px; }
    .apple-toast-desc { font-size: 12px; font-weight: 500; color: #94a3b8; }

  --minerva-cyan:#06b6d4;
  --minerva-green:#16a34a;
  --minerva-red:#dc2626;
  --minerva-yellow:#f59e0b;
  --minerva-ink:#0f172a;
  --minerva-muted:#64748b;
  --minerva-border:#e2e8f0;
}

.minerva-portal-body.minerva-auth-body{
  min-height:100svh;
  background:
    radial-gradient(circle at 12% 12%, rgba(37,99,235,.12), transparent 29%),
    radial-gradient(circle at 84% 16%, rgba(124,58,237,.10), transparent 28%),
    radial-gradient(circle at 78% 88%, rgba(6,182,212,.09), transparent 31%),
    #f7f9fc;
  overflow-x:hidden;
}
.minerva-portal-body.minerva-auth-body::before{opacity:.16;background-size:34px 34px;}
.auth-page-shell{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(420px,.88fr);gap:clamp(28px,5vw,74px);width:min(1440px,100%);min-height:100svh;max-width:none;padding:clamp(28px,5vw,70px);margin:0 auto;align-items:center;}
.auth-visual-panel{position:relative;min-height:650px;max-width:none;display:flex;flex-direction:column;align-items:stretch;justify-content:center;text-align:left;overflow:hidden;padding:clamp(20px,4vw,60px);border-radius:34px;background:linear-gradient(145deg,#0f172a 0%,#172554 42%,#312e81 72%,#075985 100%);box-shadow:0 30px 90px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.14);}
.auth-visual-panel::before{content:"";position:absolute;inset:-30%;background:conic-gradient(from 110deg,rgba(37,99,235,.42),rgba(124,58,237,.34),rgba(236,72,153,.20),rgba(6,182,212,.34),rgba(22,163,74,.24),rgba(37,99,235,.42));filter:blur(50px);opacity:.55;animation:minervaMesh 18s linear infinite;pointer-events:none;}
.auth-visual-panel::after{content:"";position:absolute;inset:1px;border-radius:33px;border:1px solid rgba(255,255,255,.08);pointer-events:none;}
@keyframes minervaMesh{0%{transform:rotate(0deg) scale(1)}50%{transform:rotate(180deg) scale(1.06)}100%{transform:rotate(360deg) scale(1)}}
.auth-visual-orb{position:absolute;border-radius:999px;filter:blur(3px);pointer-events:none;opacity:.5;animation:authOrbFloat 10s ease-in-out infinite;}
.orb-blue{width:180px;height:180px;right:12%;top:7%;background:radial-gradient(circle,#38bdf8 0%,rgba(37,99,235,.05) 70%);}
.orb-purple{width:220px;height:220px;left:-6%;bottom:4%;background:radial-gradient(circle,#a78bfa 0%,rgba(124,58,237,.03) 70%);animation-delay:-3s;}
.orb-cyan{width:140px;height:140px;right:3%;bottom:17%;background:radial-gradient(circle,#67e8f9 0%,rgba(6,182,212,.03) 70%);animation-delay:-6s;}
@keyframes authOrbFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(10px,-18px,0)}}
.auth-visual-copy,.auth-illustration,.auth-visual-foot{position:relative;z-index:2;}
.auth-kicker{display:inline-flex;align-items:center;gap:7px;color:#dbeafe;font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;}
.auth-visual-copy h1{margin:16px 0 12px;font-size:clamp(34px,4vw,58px);line-height:.98;letter-spacing:-2.3px;color:#fff;max-width:700px;}
.auth-visual-copy h1 span{background:linear-gradient(90deg,#93c5fd,#c4b5fd,#67e8f9);-webkit-background-clip:text;background-clip:text;color:transparent;}
.auth-visual-copy p{max-width:640px;margin:0;color:#cbd5e1;font-size:14px;line-height:1.75;font-weight:600;}
.auth-illustration{margin-top:34px;min-height:310px;display:flex;align-items:center;justify-content:center;}
.auth-glass-panel{position:relative;width:min(540px,94%);min-height:275px;border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.22);box-shadow:0 25px 65px rgba(2,6,23,.28), inset 0 1px 0 rgba(255,255,255,.20);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);transform:perspective(1000px) rotateX(2deg) rotateY(-4deg);animation:glassDrift 8s ease-in-out infinite;overflow:hidden;}
@keyframes glassDrift{0%,100%{transform:perspective(1000px) rotateX(2deg) rotateY(-4deg) translateY(0)}50%{transform:perspective(1000px) rotateX(1deg) rotateY(-2deg) translateY(-8px)}}
.glass-window-bar{height:38px;display:flex;align-items:center;gap:6px;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.10);background:rgba(15,23,42,.26);color:#e2e8f0;font-size:9px;font-weight:800;letter-spacing:.05em;}
.glass-window-bar>span{width:7px;height:7px;border-radius:50%;background:#cbd5e1;opacity:.8}.glass-window-bar b{margin-left:8px;font-size:9px;font-weight:800;}
.glass-window-body{display:grid;grid-template-columns:54px 1fr 1.1fr;gap:14px;padding:15px;height:236px;}
.glass-sidebar-line{border-radius:15px;background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.10);}
.glass-content-lines{display:flex;flex-direction:column;gap:8px;}.glass-line{width:72%;height:8px;border-radius:99px;background:rgba(255,255,255,.15)}.glass-line.wide{width:96%;margin-bottom:2px;}
.glass-stat-row{display:grid;grid-template-columns:24px 1fr;gap:2px 7px;align-items:center;padding:8px 9px;border-radius:11px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);color:#fff;}.glass-stat-row i{grid-row:span 2;font-size:11px;color:#93c5fd}.glass-stat-row strong{font-size:12px;line-height:1}.glass-stat-row small{font-size:8px;color:#cbd5e1}.glass-stat-row.green i{color:#86efac}.glass-stat-row.purple i{color:#c4b5fd}
.glass-mini-chart{position:relative;border-radius:16px;background:rgba(15,23,42,.22);border:1px solid rgba(255,255,255,.08);overflow:hidden;display:flex;align-items:flex-end;padding:12px;}.glass-mini-chart svg{width:100%;height:130px;overflow:visible;}
.auth-float-card{position:absolute;display:flex;align-items:center;gap:10px;padding:10px 13px;border-radius:16px;background:rgba(255,255,255,.92);color:#0f172a;border:1px solid rgba(255,255,255,.55);box-shadow:0 18px 38px rgba(2,6,23,.22);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);animation:floatCard 7s ease-in-out infinite;}
.auth-float-card i{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:#2563eb;background:#eff6ff;font-size:12px;}.auth-float-card span{display:flex;flex-direction:column;gap:2px}.auth-float-card b{font-size:10px;line-height:1.1}.auth-float-card small{font-size:8px;color:#64748b;font-weight:700}.auth-float-card em{width:6px;height:6px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12);}
.float-card-one{left:2%;bottom:8%;animation-delay:-1s}.float-card-two{right:1%;top:8%;animation-delay:-3.4s}.float-card-three{right:8%;bottom:4%;animation-delay:-5s}.float-card-two i{color:#7c3aed;background:#f5f3ff}.float-card-three i{color:#06b6d4;background:#ecfeff}
@keyframes floatCard{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
.auth-visual-foot{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px;color:#cbd5e1;font-size:9px;font-weight:800;}.auth-visual-foot span{display:inline-flex;align-items:center;gap:6px}.auth-visual-foot i{color:#86efac;}
.auth-form-card{align-self:center;width:100%;max-width:560px;margin-left:auto;background:rgba(255,255,255,.92);border:1px solid rgba(226,232,240,.9);border-radius:30px;padding:34px;box-shadow:0 24px 75px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.9);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);}
.auth-brand{display:flex;align-items:center;gap:11px;margin-bottom:26px;}.auth-brand>div:last-child{display:flex;flex-direction:column;gap:2px}.auth-brand>div:last-child span{font-size:12px;font-weight:900;letter-spacing:.14em;color:#0f172a}.auth-brand>div:last-child b{font-size:9px;font-weight:800;letter-spacing:.11em;color:#64748b}.auth-brand-logo{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#2563eb,#7c3aed,#06b6d4);box-shadow:0 10px 25px rgba(79,70,229,.20);}.auth-brand-logo img{width:100%;height:100%;object-fit:cover}.auth-brand-logo.no-image::after{content:"M";color:#fff;font-weight:900;font-size:18px;}
.auth-form-intro{margin-bottom:20px}.auth-form-kicker{font-size:9px;letter-spacing:.16em;font-weight:900;color:#4f46e5}.auth-form-intro .portal-title{margin:8px 0 6px;font-size:29px;line-height:1.05;letter-spacing:-1px;background:linear-gradient(135deg,#0f172a,#4338ca,#0284c7);-webkit-background-clip:text;background-clip:text;color:transparent}.auth-form-intro p{margin:0;color:#64748b;font-size:12px;line-height:1.65;font-weight:600}
.auth-form{display:flex;flex-direction:column;gap:14px}.auth-field{display:flex;flex-direction:column;gap:7px;text-align:left}.auth-field>span{font-size:10px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:#475569}.auth-input-shell{position:relative;}.auth-input-shell>i{position:absolute;left:13px;top:50%;transform:translateY(-50%);z-index:2;color:#94a3b8;font-size:12px;pointer-events:none}.auth-input-shell .portal-input{padding-left:38px;padding-right:44px;min-height:48px;height:48px;border-radius:14px;border-color:#dbe3ec;background:#fff;box-shadow:0 4px 16px rgba(15,23,42,.025);}.auth-input-shell .portal-input:focus{border-color:#818cf8;box-shadow:0 0 0 4px rgba(99,102,241,.10),0 10px 24px rgba(37,99,235,.06)}
.auth-password-toggle{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:33px;height:33px;border:none;background:#f8fafc;color:#64748b;border-radius:10px;cursor:pointer;transition:.18s ease}.auth-password-toggle:hover{background:#eff6ff;color:#2563eb}.auth-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-field-hint{font-size:9px;color:#94a3b8;font-weight:700;line-height:1.45;margin-top:-1px}.auth-role-field{grid-column:span 2}.auth-form-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:9px;font-weight:800;color:#94a3b8}.auth-form-meta span{display:inline-flex;align-items:center;gap:6px}.auth-form-meta i{color:#16a34a}.auth-form-meta a{color:#4f46e5;text-decoration:none}.auth-form-meta a:hover{text-decoration:underline}.auth-submit{width:100%;min-height:50px;border-radius:14px;display:flex!important;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#2563eb,#4f46e5 52%,#7c3aed)!important;box-shadow:0 15px 28px rgba(79,70,229,.20)!important;border:none!important;position:relative;overflow:hidden}.auth-submit::before{content:"";position:absolute;inset:-40% -20%;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.18) 50%,transparent 80%);transform:translateX(-120%);animation:authShine 4.2s ease-in-out infinite;}.auth-submit span,.auth-submit i{position:relative;z-index:1}.auth-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 18px 34px rgba(79,70,229,.25)!important}.auth-submit:disabled{opacity:.75}.auth-security-note{display:flex;gap:8px;align-items:flex-start;padding:10px 11px;border-radius:13px;background:linear-gradient(135deg,#f8fbff,#f5f3ff);border:1px solid #e0e7ff;color:#64748b;font-size:9px;font-weight:700;line-height:1.5}.auth-security-note i{color:#4f46e5;margin-top:2px}.auth-switch{margin:18px 0 0;text-align:center;font-size:11px}.auth-switch a{display:inline-flex;align-items:center;gap:5px;color:#4f46e5}.auth-switch i{font-size:8px}.registration-shell .auth-form-card{max-width:640px}
@keyframes authShine{0%,42%,100%{transform:translateX(-120%)}60%{transform:translateX(120%)}}

/* Dashboard: lightweight multicolor ambient gradient without obscuring data. */
.minerva-portal-body.minerva-dashboard-body{background:#f6f8fc;}
.minerva-portal-body.minerva-dashboard-body::before{opacity:.18;}
.dash-app{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(180deg,#f8fbff 0%,#f7f8fc 48%,#f8fbff 100%)!important;}
.dash-app::before{content:"";position:absolute;inset:-24% -10%;z-index:-2;background:radial-gradient(circle at 7% 7%,rgba(37,99,235,.18),transparent 23%),radial-gradient(circle at 42% 0%,rgba(124,58,237,.13),transparent 24%),radial-gradient(circle at 96% 18%,rgba(6,182,212,.15),transparent 24%),radial-gradient(circle at 85% 78%,rgba(22,163,74,.10),transparent 22%),radial-gradient(circle at 18% 92%,rgba(245,158,11,.10),transparent 20%);animation:dashboardAmbient 24s ease-in-out infinite alternate;pointer-events:none;}
.dash-app::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,.03));pointer-events:none;}
@keyframes dashboardAmbient{0%{transform:scale(1) translate3d(0,0,0)}100%{transform:scale(1.08) translate3d(1.5%, -1%,0)}}
.dash-top-header{box-shadow:0 7px 28px rgba(15,23,42,.05)!important;}
.dash-header-title{position:relative;}.dash-header-title::after{content:"";position:absolute;left:0;bottom:-9px;width:100%;max-width:190px;height:3px;border-radius:99px;background:linear-gradient(90deg,#2563eb,#7c3aed,#ec4899,#06b6d4,#16a34a);background-size:220% 100%;animation:headerGradient 9s ease-in-out infinite;}
@keyframes headerGradient{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.dash-app-sidebar{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.93))!important;box-shadow:9px 0 36px rgba(15,23,42,.05)!important;}
.sidebar-app-logo img{border-radius:12px;}
.app-sidebar-profile{border:1px solid rgba(226,232,240,.92)!important;box-shadow:0 8px 22px rgba(15,23,42,.035)!important;background:rgba(255,255,255,.78)!important;}
.dashboard-kpi-grid .metric-card,.workspace-stat-card{position:relative;overflow:hidden;background-size:220% 220%!important;animation:kpiGradient 12s ease infinite;box-shadow:0 14px 30px rgba(15,23,42,.08)!important;}
.dashboard-kpi-grid .bg-grad-1,.workspace-stat-card.bg-grad-1{background-image:linear-gradient(135deg,#2563eb 0%,#4f46e5 28%,#7c3aed 53%,#06b6d4 78%,#16a34a 100%)!important;}
.dashboard-kpi-grid .bg-grad-2,.workspace-stat-card.bg-grad-2{background-image:linear-gradient(135deg,#06b6d4 0%,#2563eb 28%,#7c3aed 56%,#db2777 78%,#f59e0b 100%)!important;}
.dashboard-kpi-grid .bg-grad-3,.workspace-stat-card.bg-grad-3{background-image:linear-gradient(135deg,#ef4444 0%,#ec4899 25%,#7c3aed 52%,#2563eb 78%,#06b6d4 100%)!important;}
.dashboard-kpi-grid .bg-grad-4,.workspace-stat-card.bg-grad-4{background-image:linear-gradient(135deg,#16a34a 0%,#06b6d4 30%,#2563eb 56%,#7c3aed 78%,#ec4899 100%)!important;}
.metric-card-purple{background-image:linear-gradient(135deg,#7c3aed,#ec4899 42%,#2563eb 78%,#06b6d4)!important;background-size:220% 220%!important;animation:kpiGradient 12s ease infinite;}
.metric-card-orange{background-image:linear-gradient(135deg,#f59e0b,#ef4444 37%,#ec4899 67%,#7c3aed)!important;background-size:220% 220%!important;animation:kpiGradient 12s ease infinite;}
@keyframes kpiGradient{0%,100%{background-position:0% 40%}50%{background-position:100% 60%}}
.metric-card{transition:transform .18s ease,box-shadow .18s ease!important;}.metric-card:hover{transform:translateY(-3px)!important;}
.dashboard-chart-card{border:1px solid rgba(226,232,240,.92)!important;background:rgba(255,255,255,.90)!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important;}
.dashboard-chart-card::before{content:"";display:block;height:4px;margin:-16px -16px 14px;border-radius:999px 999px 0 0;background:linear-gradient(90deg,#2563eb,#7c3aed,#ec4899,#06b6d4,#16a34a);background-size:220% 100%;animation:headerGradient 10s ease-in-out infinite;}
.dash-nav-item,.workspace-action,.dashboard-quick-action,.btn-action{transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease!important;}.dash-nav-item:hover,.workspace-action:hover,.dashboard-quick-action:hover,.btn-action:hover{transform:translateY(-1px);}

@media (max-width:1100px){.auth-page-shell{grid-template-columns:1fr;max-width:860px;padding:24px}.auth-visual-panel{min-height:520px}.auth-form-card{max-width:720px;margin:0 auto}.registration-shell .auth-form-card{max-width:720px}}
@media (max-width:767px){
  .auth-page-shell{display:flex;flex-direction:column;gap:18px;padding:14px;min-height:auto}.auth-visual-panel{min-height:430px;width:100%;padding:24px;border-radius:24px}.auth-visual-copy h1{font-size:34px;letter-spacing:-1.2px}.auth-visual-copy p{font-size:12px}.auth-illustration{min-height:220px;margin-top:18px}.auth-glass-panel{min-height:205px;width:100%}.glass-window-body{height:166px;grid-template-columns:36px 1fr 1.1fr;gap:8px;padding:10px}.glass-mini-chart svg{height:90px}.auth-float-card{transform:scale(.88);transform-origin:center}.float-card-one{left:-6%;bottom:5%}.float-card-two{right:-5%;top:5%}.float-card-three{right:2%;bottom:-3%}.auth-visual-foot{font-size:8px;gap:10px}.auth-form-card{padding:24px 18px;border-radius:22px}.auth-form-intro .portal-title{font-size:25px}.auth-field-grid{grid-template-columns:1fr}.auth-role-field{grid-column:auto}.auth-form-meta{align-items:flex-start;flex-direction:column}.dashboard-chart-card::before{margin:-14px -14px 12px}.dashboard-kpi-grid{gap:10px!important}
}
@media (prefers-reduced-motion:reduce){.auth-visual-panel::before,.auth-visual-orb,.auth-glass-panel,.auth-float-card,.auth-submit::before,.dash-app::before,.dash-header-title::after,.dashboard-chart-card::before,.dashboard-kpi-grid .metric-card,.workspace-stat-card{animation:none!important}.metric-card,.dash-nav-item,.workspace-action,.dashboard-quick-action,.btn-action,.auth-submit{transition:none!important}}

/* Auth-only separation and focus/validation polish */
html,body{min-height:100%;margin:0;padding:0;}
.minerva-auth-body{display:flex;align-items:stretch;overflow-x:hidden;}
.minerva-auth-body .portal-container{position:relative;z-index:1;}
.auth-field input:focus,.auth-field select:focus{outline:none;}
.auth-field:has(:invalid) .auth-input-shell:focus-within{border-color:inherit;}
.auth-dependency-note{margin:14px 0 0;background:linear-gradient(135deg,#fff7ed,#fef2f2);border-color:#fed7aa;color:#9a3412;}
@media (max-width:767px){.minerva-auth-body{display:block;}.auth-page-shell{padding-top:18px;padding-bottom:18px;}.portal-left.auth-visual-panel{min-height:400px;}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important;}}


/* 1.0.1 — graphic-only authentication visual surface */
.auth-visual-only{min-height:650px;justify-content:center!important;align-items:center!important;text-align:center!important;padding:clamp(18px,3.5vw,52px)!important;}
.auth-visual-only .auth-illustration{width:100%;max-width:720px;min-height:540px;display:grid;place-items:center;position:relative;margin:0!important;}
.auth-html-dashboard{perspective:1400px;}
.auth-browser-window{position:relative;width:min(100%,650px);height:440px;border-radius:24px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);box-shadow:0 35px 80px rgba(2,6,23,.35),inset 0 1px 0 rgba(255,255,255,.28);overflow:hidden;transform:rotateX(2deg) rotateY(-5deg) rotateZ(-1deg);animation:authBrowserFloat 8s ease-in-out infinite;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}
.auth-browser-topbar{height:42px;display:flex;align-items:center;gap:7px;padding:0 13px;background:rgba(15,23,42,.68);border-bottom:1px solid rgba(255,255,255,.1);}
.browser-dot{width:8px;height:8px;border-radius:50%;display:block}.dot-red{background:#fb7185}.dot-yellow{background:#fbbf24}.dot-green{background:#34d399}
.browser-address{height:23px;flex:1;max-width:310px;margin-left:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);border-radius:8px;display:flex;align-items:center;padding:0 8px;gap:6px}.address-lock{font-size:7px;color:#86efac}.address-line{height:5px;width:68%;border-radius:999px;background:rgba(255,255,255,.18)}.browser-menu{margin-left:auto;color:rgba(255,255,255,.65);font-size:10px}
.auth-dashboard-canvas{display:flex;height:calc(100% - 42px);background:linear-gradient(145deg,rgba(248,250,252,.97),rgba(239,246,255,.92));}
.auth-mini-sidebar{width:58px;padding:12px 9px;display:flex;flex-direction:column;align-items:center;gap:11px;background:rgba(248,250,252,.82);border-right:1px solid rgba(148,163,184,.16)}
.mini-logo,.mini-nav{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;color:#94a3b8;font-size:10px}.mini-logo{background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;box-shadow:0 8px 18px rgba(79,70,229,.22)}.mini-nav.active{background:#eef2ff;color:#4f46e5;box-shadow:inset 0 0 0 1px #dbeafe}.mini-nav.bottom{margin-top:auto}
.auth-dashboard-main{flex:1;padding:17px 18px 15px;min-width:0}.auth-dash-head{height:28px;display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.dash-title-line{width:125px;height:8px;border-radius:999px;background:#cbd5e1}.dash-head-actions{display:flex;gap:6px}.dash-head-actions i{display:block;width:20px;height:20px;border-radius:7px;background:#fff;border:1px solid #e2e8f0}
.auth-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.auth-stat-card{position:relative;min-height:76px;padding:11px;border-radius:14px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 7px 18px rgba(15,23,42,.06);overflow:hidden}.auth-stat-card::after{content:"";position:absolute;right:-12px;top:-18px;width:58px;height:58px;border-radius:50%;background:currentColor;opacity:.06}.auth-stat-card.blue{color:#2563eb}.auth-stat-card.violet{color:#7c3aed}.auth-stat-card.cyan{color:#0891b2}.stat-icon{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;background:currentColor;color:#fff;font-size:9px;opacity:.95}.stat-value{display:block;width:52%;height:10px;margin-top:8px;border-radius:999px;background:#cbd5e1}.stat-value.short{width:43%}.stat-value.small{width:35%}.stat-label{display:block;width:67%;height:5px;margin-top:6px;border-radius:999px;background:#e2e8f0}
.auth-dash-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(130px,.7fr);gap:10px;margin-top:10px}.auth-chart-card,.auth-side-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 8px 22px rgba(15,23,42,.055);overflow:hidden}.auth-chart-card{padding:11px 12px 8px}.chart-card-head{display:flex;justify-content:space-between;align-items:center;height:19px}.chart-card-head span{width:78px;height:6px;border-radius:999px;background:#cbd5e1}.chart-card-head i{width:28px;height:17px;border-radius:999px;background:#eef2ff}.chart-area{height:180px;position:relative;margin-top:4px}.chart-grid-line{position:absolute;left:0;right:0;height:1px;background:#eef2f7}.chart-grid-line.l1{top:28%}.chart-grid-line.l2{top:52%}.chart-grid-line.l3{top:76%}.chart-area svg{position:absolute;inset:10px 0 0;width:100%;height:150px}.auth-side-card{padding:14px;display:flex;flex-direction:column;align-items:center}.side-ring{width:76px;height:76px;border-radius:50%;margin:8px 0 17px;background:conic-gradient(#2563eb 0 42%,#7c3aed 42% 73%,#06b6d4 73% 88%,#e2e8f0 88% 100%);display:grid;place-items:center;position:relative}.side-ring::after{content:"";width:51px;height:51px;border-radius:50%;background:#fff}.side-ring span{position:absolute;width:9px;height:9px;border-radius:50%;background:#fff;z-index:2}.side-bars{width:100%;display:flex;align-items:flex-end;justify-content:center;gap:6px;height:60px}.side-bars i{width:9px;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#7c3aed,#60a5fa)}.side-bars i:nth-child(1){height:24px}.side-bars i:nth-child(2){height:40px}.side-bars i:nth-child(3){height:32px}.side-bars i:nth-child(4){height:49px}.side-bars i:nth-child(5){height:36px}.side-bottom{width:100%;display:flex;gap:5px;margin-top:auto}.side-bottom i{height:6px;flex:1;border-radius:999px;background:#e2e8f0}.auth-row-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}.auth-row-cards span{height:31px;border-radius:10px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 5px 13px rgba(15,23,42,.04)}
.graphic-float{padding:9px!important;min-width:0!important;width:64px;height:54px;justify-content:center;gap:7px!important;background:rgba(255,255,255,.94)!important}.graphic-float i{width:30px!important;height:30px!important}.graphic-float .float-bars{display:flex;flex-direction:column;gap:5px;flex:1}.graphic-float .float-bars b,.graphic-float .float-bars small{display:block;height:5px;border-radius:999px;background:#cbd5e1}.graphic-float .float-bars b{width:100%}.graphic-float .float-bars small{width:70%;background:#e2e8f0}.graphic-float em{position:absolute;right:7px;top:7px;width:5px;height:5px}.auth-cursor{position:absolute;right:9%;bottom:10%;width:24px;height:30px;transform:rotate(-18deg);filter:drop-shadow(0 6px 8px rgba(15,23,42,.25));animation:cursorMove 5.5s ease-in-out infinite}.auth-cursor::before{content:"";position:absolute;left:2px;top:0;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-bottom:24px solid #fff;filter:drop-shadow(0 0 0 #475569)}.auth-cursor span{position:absolute;left:9px;top:19px;width:8px;height:12px;border-radius:3px;background:#2563eb;transform:rotate(-22deg)}
@keyframes authBrowserFloat{0%,100%{transform:rotateX(2deg) rotateY(-5deg) rotateZ(-1deg) translateY(0)}50%{transform:rotateX(1deg) rotateY(-3deg) rotateZ(-.5deg) translateY(-9px)}}
@keyframes cursorMove{0%,100%{transform:translate(0,0) rotate(-18deg)}50%{transform:translate(-10px,-12px) rotate(-12deg)}}
@media (max-width:1100px){.auth-visual-only{min-height:520px}.auth-visual-only .auth-illustration{min-height:430px}.auth-browser-window{height:390px}.auth-dash-grid .auth-side-card{display:none}.auth-dash-grid{grid-template-columns:1fr}.auth-row-cards{grid-template-columns:repeat(3,1fr)}}
@media (max-width:767px){
  .auth-page-shell{display:flex!important;flex-direction:column!important;gap:18px!important;}
  .auth-page-shell>.auth-form-card{order:1!important;width:100%;}
  .auth-page-shell>.auth-visual-only{order:2!important;width:100%;}
  .auth-visual-only{min-height:310px!important;padding:10px!important;border-radius:24px!important;overflow:visible!important;}
  .auth-visual-only .auth-illustration{min-height:285px!important;width:100%;overflow:visible!important;}
  .auth-browser-window{width:calc(100% - 8px);height:265px;border-radius:18px;transform:rotateX(1deg) rotateY(-2deg) rotateZ(-.5deg);}
  .auth-browser-topbar{height:30px;padding:0 9px;gap:5px}.browser-dot{width:6px;height:6px}.browser-address{height:17px;margin-left:5px}.address-lock{font-size:5px}.address-line{height:4px}.browser-menu{font-size:7px}
  .auth-dashboard-canvas{height:calc(100% - 30px)}.auth-mini-sidebar{width:34px;padding:8px 5px;gap:6px}.mini-logo,.mini-nav{width:22px;height:22px;border-radius:7px;font-size:7px}
  .auth-dashboard-main{padding:9px}.auth-dash-head{height:17px;margin-bottom:7px}.dash-title-line{width:72px;height:5px}.dash-head-actions i{width:13px;height:13px;border-radius:5px}.auth-stat-grid{gap:5px}.auth-stat-card{min-height:48px;padding:6px;border-radius:9px}.stat-icon{width:17px;height:17px;border-radius:5px;font-size:6px}.stat-value{height:6px;margin-top:5px}.stat-label{height:3px;margin-top:4px}.auth-dash-grid{margin-top:5px;gap:5px}.auth-chart-card{padding:6px 7px 4px;border-radius:10px}.chart-card-head{height:10px}.chart-card-head span{width:43px;height:4px}.chart-card-head i{width:17px;height:9px}.chart-area{height:105px}.chart-area svg{height:91px;top:6px}.auth-row-cards{gap:4px;margin-top:5px}.auth-row-cards span{height:18px;border-radius:6px}.graphic-float{width:48px;height:38px;padding:5px!important;border-radius:11px!important}.graphic-float i{width:22px!important;height:22px!important;font-size:8px!important}.graphic-float .float-bars{gap:3px}.graphic-float .float-bars b,.graphic-float .float-bars small{height:3px}.float-card-one{left:-3%;bottom:0}.float-card-two{right:-2%;top:1%}.float-card-three{right:5%;bottom:-5%}.auth-cursor{display:none}
}
@media (prefers-reduced-motion:reduce){.auth-browser-window,.auth-cursor{animation:none!important;}}

/* 1.0.2 — premium reference-inspired dark HTML dashboard visual */
.minerva-auth-body{
  background:
    radial-gradient(circle at 18% 18%, rgba(99,102,241,.12), transparent 28%),
    radial-gradient(circle at 74% 8%, rgba(236,72,153,.10), transparent 26%),
    radial-gradient(circle at 54% 78%, rgba(6,182,212,.08), transparent 30%),
    #080b1c !important;
  color:#e2e8f0;
}
.minerva-auth-body::before{display:none!important;}
.minerva-auth-body .auth-page-shell{
  max-width:1440px;
  min-height:100vh;
  padding:38px clamp(18px,4vw,64px);
  gap:clamp(28px,5vw,76px);
}
.minerva-auth-body .portal-left{
  flex:1 1 auto;
  max-width:none;
  min-width:0;
}
.minerva-auth-body .portal-right{
  flex:0 0 430px;
  width:430px;
  max-width:430px;
}
.auth-visual-only{
  position:relative!important;
  min-height:min(760px,calc(100vh - 76px))!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  padding:0!important;
  overflow:visible!important;
  border-radius:0!important;
  background:transparent!important;
}
.auth-visual-backdrop{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:34px;}
.auth-backdrop-orb{position:absolute;border-radius:50%;filter:blur(28px);opacity:.28;will-change:transform;}
.auth-backdrop-orb.orb-blue{width:360px;height:360px;left:4%;top:14%;background:#4338ca;animation:authOrbDriftA 12s ease-in-out infinite alternate;}
.auth-backdrop-orb.orb-purple{width:290px;height:290px;right:2%;top:7%;background:#be185d;animation:authOrbDriftB 14s ease-in-out infinite alternate;}
.auth-backdrop-orb.orb-cyan{width:330px;height:330px;right:14%;bottom:0;background:#0891b2;animation:authOrbDriftC 16s ease-in-out infinite alternate;}
.auth-backdrop-ring{position:absolute;border:1px solid rgba(148,163,184,.11);border-radius:50%;}
.auth-backdrop-ring.ring-one{width:540px;height:540px;right:-110px;top:-80px;transform:rotate(18deg);}
.auth-backdrop-ring.ring-two{width:390px;height:390px;left:-90px;bottom:-120px;}
.auth-backdrop-dots{position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.20) 1px,transparent 1px);background-size:34px 34px;opacity:.22;mask-image:linear-gradient(180deg,#000 0%,transparent 85%);}
.auth-illustration.auth-html-dashboard{width:100%;max-width:940px;min-height:660px;display:flex;align-items:center;justify-content:center;position:relative;margin:0!important;}
.auth-graphic-stage{position:relative;width:min(100%,900px);height:610px;display:flex;align-items:center;justify-content:center;isolation:isolate;}
.auth-graphic-grid{position:absolute;inset:3% 0 6%;border-radius:40px;background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0));mask-image:linear-gradient(180deg,#000 50%,transparent 100%);pointer-events:none;}
.auth-graphic-grid::before,.auth-graphic-grid::after{content:"";position:absolute;inset:0;}
.auth-graphic-grid::before{background-image:linear-gradient(rgba(148,163,184,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.055) 1px,transparent 1px);background-size:54px 54px;opacity:.5;}
.auth-graphic-grid::after{background:radial-gradient(circle at 50% 50%,rgba(79,70,229,.16),transparent 43%);filter:blur(10px);}
.auth-graphic-beam{position:absolute;width:62%;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(129,140,248,.55),rgba(34,211,238,.42),transparent);filter:blur(.2px);opacity:.55;}
.auth-graphic-beam.beam-one{top:15%;left:4%;transform:rotate(-8deg);animation:authBeamA 8s ease-in-out infinite alternate;}
.auth-graphic-beam.beam-two{right:2%;bottom:14%;width:52%;transform:rotate(8deg);animation:authBeamB 10s ease-in-out infinite alternate;}
.auth-browser-window{
  position:relative;
  z-index:3;
  width:min(100%,780px);
  height:500px;
  border-radius:27px;
  background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.065));
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 45px 100px rgba(2,6,23,.48),0 10px 35px rgba(79,70,229,.12),inset 0 1px 0 rgba(255,255,255,.17);
  overflow:hidden;
  transform:perspective(1500px) rotateX(2deg) rotateY(-4deg) rotateZ(-.7deg);
  animation:authBrowserFloat102 8.5s cubic-bezier(.45,.05,.55,.95) infinite;
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  will-change:transform;
}
.auth-browser-topbar{height:44px;background:rgba(10,15,35,.78);border-bottom:1px solid rgba(255,255,255,.08);padding:0 14px;}
.browser-address{max-width:390px;height:25px;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.09);}
.address-line{width:54%;background:linear-gradient(90deg,rgba(255,255,255,.15),rgba(255,255,255,.05));}
.address-pulse{width:7px;height:7px;border-radius:50%;margin-left:auto;background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.09),0 0 13px rgba(52,211,153,.6);animation:authPulseDot 2.4s ease-in-out infinite;}
.auth-dashboard-canvas{height:calc(100% - 44px);background:linear-gradient(150deg,#f8fafc 0%,#eef2ff 47%,#eff6ff 100%);}
.auth-mini-sidebar{width:64px;padding:14px 10px;gap:12px;background:linear-gradient(180deg,rgba(248,250,252,.98),rgba(241,245,249,.90));border-right:1px solid rgba(148,163,184,.17);}
.mini-logo{width:36px;height:36px;border-radius:11px;box-shadow:0 9px 19px rgba(79,70,229,.24);}
.mini-nav{width:34px;height:34px;border-radius:10px;font-size:11px;transition:transform .22s ease,box-shadow .22s ease,background .22s ease;}
.mini-nav.active{box-shadow:inset 0 0 0 1px #c7d2fe,0 7px 17px rgba(79,70,229,.10);}
.auth-dashboard-main{padding:18px 20px 18px;}
.auth-dash-head{height:32px;margin-bottom:14px;}
.auth-dash-title-stack{display:flex;flex-direction:column;gap:6px;align-items:flex-start;}
.dash-title-line{width:150px;height:9px;background:#b7c1cf;}
.dash-subtitle-line{width:88px;height:5px;background:#e2e8f0;border-radius:999px;}
.dash-head-actions{gap:7px;}
.dash-head-actions i{width:22px;height:22px;border-radius:8px;box-shadow:0 3px 8px rgba(15,23,42,.04);}
.auth-stat-grid{grid-template-columns:repeat(3,1fr);gap:11px;}
.auth-stat-card{min-height:86px;padding:12px 13px;border-radius:15px;box-shadow:0 10px 25px rgba(15,23,42,.065);}
.stat-icon{width:28px;height:28px;border-radius:9px;font-size:10px;box-shadow:0 6px 16px rgba(37,99,235,.16);}
.stat-value{height:10px;margin-top:9px;width:58%;}
.stat-label{height:5px;margin-top:7px;width:72%;}
.stat-spark{position:absolute;right:11px;bottom:10px;width:42px;height:18px;border-bottom:2px solid currentColor;opacity:.25;transform:skewX(-28deg);}
.stat-spark::before,.stat-spark::after{content:"";position:absolute;bottom:0;width:5px;border-radius:5px;background:currentColor;}
.stat-spark::before{right:3px;height:13px}.stat-spark::after{right:13px;height:8px;opacity:.75}
.auth-dash-grid{grid-template-columns:minmax(0,1.62fr) minmax(150px,.78fr);gap:12px;margin-top:12px;}
.auth-chart-card,.auth-side-card{border-radius:18px;box-shadow:0 11px 26px rgba(15,23,42,.055);}
.auth-chart-card{padding:13px 14px 10px;}
.chart-card-head{height:21px;}
.chart-card-head span{width:100px;height:7px;}.chart-card-head i{width:34px;height:20px;}
.chart-area{height:208px;}
.chart-area svg{height:174px;top:15px;}
.chart-grid-line.l4{top:22%;}
.chart-tooltip{position:absolute;right:16%;top:23%;display:flex;gap:5px;align-items:center;padding:6px 8px;border-radius:8px;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.10);border:1px solid #e2e8f0;}
.chart-tooltip i{width:5px;height:5px;border-radius:50%;background:#7c3aed;}.chart-tooltip span{width:30px;height:4px;border-radius:999px;background:#cbd5e1}.chart-tooltip b{width:18px;height:5px;border-radius:999px;background:#dcfce7;}
.auth-side-card{padding:13px;align-items:stretch;}
.side-card-head{display:flex;gap:7px;align-items:center;height:16px;}.side-card-head i{width:28px;height:6px;border-radius:999px;background:#cbd5e1}.side-card-head span{width:42px;height:4px;border-radius:999px;background:#e2e8f0;}
.side-ring{width:92px;height:92px;margin:12px auto 16px;background:conic-gradient(#2563eb 0 39%,#7c3aed 39% 73%,#06b6d4 73% 89%,#e2e8f0 89% 100%);box-shadow:0 10px 22px rgba(79,70,229,.10);}
.side-ring::after{width:62px;height:62px;}.side-ring span{width:10px;height:10px;box-shadow:0 0 0 4px rgba(79,70,229,.08);}
.side-bars{height:74px;gap:7px;}.side-bars i{width:10px;box-shadow:0 5px 10px rgba(79,70,229,.08);}.side-bars i:nth-child(1){height:27px}.side-bars i:nth-child(2){height:48px}.side-bars i:nth-child(3){height:37px}.side-bars i:nth-child(4){height:60px}.side-bars i:nth-child(5){height:43px}
.side-bottom{gap:6px;margin-top:9px}.side-bottom i{height:7px;}
.auth-row-cards{grid-template-columns:repeat(4,1fr);gap:9px;margin-top:11px;}.auth-row-cards span{height:38px;border-radius:11px;display:flex;align-items:center;gap:7px;padding:0 8px;box-shadow:0 7px 15px rgba(15,23,42,.035);}.auth-row-cards i{width:18px;height:18px;border-radius:6px;background:#eef2ff;box-shadow:inset 0 0 0 1px #e0e7ff}.auth-row-cards b{display:block;flex:1;height:5px;border-radius:999px;background:#e2e8f0;}
.graphic-float{position:absolute!important;padding:10px!important;border-radius:15px!important;min-width:138px!important;width:138px;height:70px;justify-content:flex-start;gap:9px!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.93))!important;border:1px solid rgba(255,255,255,.7)!important;box-shadow:0 18px 34px rgba(2,6,23,.26),0 4px 10px rgba(79,70,229,.08)!important;color:#475569;z-index:4;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);}
.graphic-float i{width:34px!important;height:34px!important;border-radius:10px!important;display:grid;place-items:center;background:linear-gradient(135deg,#eef2ff,#e0e7ff);color:#4f46e5!important;font-size:11px!important;box-shadow:inset 0 0 0 1px #dbeafe;}
.graphic-float .float-bars{gap:6px!important;}.graphic-float .float-bars b{height:6px!important;width:72px!important;background:linear-gradient(90deg,#cbd5e1,#e2e8f0)!important;}.graphic-float .float-bars small{height:5px!important;width:45px!important;background:#e2e8f0!important;}.graphic-float em{right:10px;top:10px;width:6px;height:6px;background:#22c55e!important;box-shadow:0 0 0 4px rgba(34,197,94,.10),0 0 10px rgba(34,197,94,.35);}.graphic-float .float-pulse{background:#a855f7!important;box-shadow:0 0 0 4px rgba(168,85,247,.10),0 0 10px rgba(168,85,247,.35);animation:authPulseDot 2.6s ease-in-out infinite;}
.float-card-one{left:0;bottom:14%;animation:authFloatA 6.5s ease-in-out infinite;}.float-card-two{right:1%;top:12%;animation:authFloatB 7.5s ease-in-out infinite;}.float-card-three{right:5%;bottom:3%;animation:authFloatC 7s ease-in-out infinite;}
.auth-cursor{right:8%;bottom:12%;width:32px;height:38px;z-index:5;filter:drop-shadow(0 9px 12px rgba(2,6,23,.36));animation:cursorMove102 5.5s ease-in-out infinite;}.auth-cursor::before{border-left-width:13px;border-right-width:13px;border-bottom-width:29px;border-bottom-color:#fff;}.auth-cursor span{left:11px;top:24px;width:10px;height:14px;background:#4f46e5;}
.auth-form-card{
  background:rgba(255,255,255,.98)!important;
  border:1px solid rgba(255,255,255,.76)!important;
  border-top:2px solid #6366f1!important;
  border-radius:22px!important;
  box-shadow:0 38px 90px rgba(0,0,0,.33),0 8px 26px rgba(99,102,241,.13)!important;
  padding:34px!important;
}
.auth-form-card .auth-brand-logo{box-shadow:0 8px 18px rgba(15,23,42,.08);}
.auth-form-intro .portal-title{letter-spacing:-.7px;}
.auth-input-shell .portal-input{min-height:50px;height:50px;font-size:13px;}
.auth-submit{min-height:52px!important;font-size:14px!important;}
.auth-form-card .auth-switch{font-size:11px;}
@keyframes authBrowserFloat102{0%,100%{transform:perspective(1500px) rotateX(2deg) rotateY(-4deg) rotateZ(-.7deg) translate3d(0,0,0)}50%{transform:perspective(1500px) rotateX(1deg) rotateY(-2deg) rotateZ(-.25deg) translate3d(0,-10px,0)}}
@keyframes authFloatA{0%,100%{transform:translate3d(0,0,0) rotate(-1deg)}50%{transform:translate3d(-8px,-10px,0) rotate(-3deg)}}
@keyframes authFloatB{0%,100%{transform:translate3d(0,0,0) rotate(1deg)}50%{transform:translate3d(8px,-8px,0) rotate(3deg)}}
@keyframes authFloatC{0%,100%{transform:translate3d(0,0,0) rotate(-1deg)}50%{transform:translate3d(5px,-7px,0) rotate(1deg)}}
@keyframes cursorMove102{0%,100%{transform:translate3d(0,0,0) rotate(-18deg)}50%{transform:translate3d(-14px,-14px,0) rotate(-11deg)}}
@keyframes authPulseDot{0%,100%{opacity:.8;transform:scale(1)}50%{opacity:1;transform:scale(1.18)}}
@keyframes authBeamA{0%,100%{opacity:.28;transform:translate3d(-2%,0,0) rotate(-8deg)}50%{opacity:.7;transform:translate3d(6%,10px,0) rotate(-8deg)}}
@keyframes authBeamB{0%,100%{opacity:.22;transform:translate3d(2%,0,0) rotate(8deg)}50%{opacity:.62;transform:translate3d(-5%,-8px,0) rotate(8deg)}}
@keyframes authOrbDriftA{from{transform:translate3d(-8px,0,0) scale(1)}to{transform:translate3d(24px,12px,0) scale(1.08)}}
@keyframes authOrbDriftB{from{transform:translate3d(6px,-8px,0) scale(1)}to{transform:translate3d(-20px,14px,0) scale(1.08)}}
@keyframes authOrbDriftC{from{transform:translate3d(0,6px,0) scale(1)}to{transform:translate3d(-14px,-14px,0) scale(1.08)}}
@media (max-width:1180px){
  .minerva-auth-body .auth-page-shell{gap:34px;padding-left:28px;padding-right:28px;}
  .minerva-auth-body .portal-right{flex-basis:410px;width:410px;max-width:410px;}
  .auth-illustration.auth-html-dashboard{max-width:820px;min-height:560px;}.auth-graphic-stage{height:540px;}.auth-browser-window{height:440px;}.graphic-float{transform:scale(.92);}.float-card-one{left:-1%;}.float-card-two{right:-1%;}
}
@media (max-width:980px){
  .minerva-auth-body .auth-page-shell{flex-direction:column;max-width:900px;padding:28px 18px 34px;gap:18px;}
  .minerva-auth-body .portal-right{width:min(100%,520px);max-width:520px;flex-basis:auto;order:1;}
  .minerva-auth-body .portal-left{width:100%;order:2;}
  .auth-visual-only{min-height:560px!important;}.auth-illustration.auth-html-dashboard{min-height:500px;}.auth-graphic-stage{height:490px;}.auth-browser-window{height:405px;max-width:720px;}.auth-backdrop-dots{opacity:.16;}
}
@media (max-width:767px){
  .minerva-auth-body{background:#080b1c!important;}
  .minerva-auth-body .auth-page-shell{padding:16px 12px 22px;gap:14px;}
  .minerva-auth-body .portal-right{width:100%;max-width:none;padding:24px 18px!important;border-radius:20px!important;}
  .minerva-auth-body .portal-left{width:100%;}
  .auth-visual-only{min-height:365px!important;border-radius:22px!important;overflow:hidden!important;background:linear-gradient(160deg,#0c1027,#101532 58%,#15152e)!important;border:1px solid rgba(255,255,255,.06)!important;}
  .auth-visual-backdrop{inset:0;border-radius:22px;}.auth-backdrop-orb{filter:blur(24px);opacity:.22;}.auth-backdrop-orb.orb-blue{width:220px;height:220px;left:-6%;top:10%;}.auth-backdrop-orb.orb-purple{width:180px;height:180px;right:-6%;top:0;}.auth-backdrop-orb.orb-cyan{width:210px;height:210px;right:14%;bottom:-20%;}
  .auth-backdrop-ring.ring-one{width:330px;height:330px;right:-140px;top:-125px;}.auth-backdrop-ring.ring-two{width:280px;height:280px;left:-140px;bottom:-140px;}.auth-backdrop-dots{background-size:24px 24px;}
  .auth-illustration.auth-html-dashboard{min-height:350px;width:100%;}.auth-graphic-stage{height:340px;width:100%;}.auth-browser-window{width:calc(100% - 28px);height:280px;border-radius:19px;transform:perspective(1000px) rotateX(1deg) rotateY(-2deg) rotateZ(-.35deg);}.auth-browser-topbar{height:29px;padding:0 9px;}.browser-dot{width:6px;height:6px;}.browser-address{height:17px;margin-left:5px;}.address-lock{font-size:5px;}.address-line{height:4px;}.address-pulse{width:5px;height:5px;}.browser-menu{font-size:7px;}
  .auth-dashboard-canvas{height:calc(100% - 29px);}.auth-mini-sidebar{width:36px;padding:8px 5px;gap:6px;}.mini-logo,.mini-nav{width:23px;height:23px;border-radius:7px;font-size:7px;}.auth-dashboard-main{padding:8px;}.auth-dash-head{height:18px;margin-bottom:7px;}.dash-title-line{width:86px;height:5px}.dash-subtitle-line{width:52px;height:3px}.dash-head-actions{gap:4px}.dash-head-actions i{width:13px;height:13px;border-radius:5px;}.auth-stat-grid{gap:5px}.auth-stat-card{min-height:48px;padding:6px;border-radius:9px}.stat-icon{width:17px;height:17px;border-radius:5px;font-size:6px}.stat-value{height:6px;margin-top:5px}.stat-label{height:3px;margin-top:4px}.stat-spark{right:5px;bottom:5px;width:23px;height:11px}.stat-spark::before,.stat-spark::after{width:3px}.stat-spark::before{right:1px;height:8px}.stat-spark::after{right:7px;height:5px}
  .auth-dash-grid{grid-template-columns:1fr;margin-top:5px;gap:5px}.auth-side-card{display:none}.auth-chart-card{padding:6px 7px 4px;border-radius:10px}.chart-card-head{height:10px}.chart-card-head span{width:52px;height:4px}.chart-card-head i{width:17px;height:9px}.chart-area{height:116px}.chart-area svg{height:98px;top:8px}.chart-tooltip{right:10%;top:19%;padding:3px 5px;border-radius:6px}.chart-tooltip span{width:18px;height:3px}.chart-tooltip b{width:10px;height:3px}.auth-row-cards{gap:4px;margin-top:5px}.auth-row-cards span{height:19px;border-radius:6px;padding:0 5px;gap:3px}.auth-row-cards i{width:9px;height:9px;border-radius:3px}.auth-row-cards b{height:3px}
  .graphic-float{min-width:0!important;width:78px;height:40px;padding:5px!important;border-radius:10px!important;gap:5px!important}.graphic-float i{width:22px!important;height:22px!important;border-radius:7px!important;font-size:8px!important}.graphic-float .float-bars{gap:3px!important}.graphic-float .float-bars b{width:36px!important;height:3px!important}.graphic-float .float-bars small{width:24px!important;height:3px!important}.graphic-float em{right:5px;top:5px;width:4px;height:4px}.float-card-one{left:-2%;bottom:3%;}.float-card-two{right:-2%;top:2%;}.float-card-three{right:4%;bottom:-2%;}.auth-cursor{display:none}.auth-graphic-grid{display:none}.auth-graphic-beam{display:none;}
  .registration-shell .auth-form-card{max-width:none;}
}
@media (prefers-reduced-motion:reduce){
  .auth-backdrop-orb,.auth-browser-window,.auth-float-card,.auth-cursor,.auth-graphic-beam,.address-pulse,.graphic-float .float-pulse{animation:none!important;}
}


/* =========================================================
   Minerva Auth 1.0.3 — white premium realtime visual pass
   ========================================================= */
.minerva-auth-body,
body.minerva-auth-body{
  background:#ffffff!important;
  color:#0f172a!important;
}
.minerva-auth-body::before{
  display:block!important;
  opacity:.48!important;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(37,99,235,.10), transparent 20%),
    radial-gradient(circle at 78% 12%, rgba(124,58,237,.08), transparent 18%),
    radial-gradient(circle at 72% 82%, rgba(6,182,212,.07), transparent 24%),
    radial-gradient(#dbe4f0 .8px, transparent .8px)!important;
  background-size:auto,auto,auto,26px 26px!important;
}
.minerva-auth-body .auth-page-shell{
  width:min(1480px,100%);
  min-height:100svh;
  grid-template-columns:minmax(0,1.26fr) minmax(410px,.74fr);
  gap:clamp(34px,5vw,82px);
  padding:clamp(26px,4vw,54px) clamp(18px,4vw,64px);
}
.minerva-auth-body .auth-visual-panel{
  min-height:min(760px,calc(100svh - 44px))!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  overflow:visible!important;
}
.minerva-auth-body .auth-visual-panel::before{
  inset:-10%!important;
  background:
    radial-gradient(circle at 28% 34%, rgba(37,99,235,.13), transparent 26%),
    radial-gradient(circle at 70% 20%, rgba(124,58,237,.10), transparent 23%),
    radial-gradient(circle at 66% 76%, rgba(6,182,212,.08), transparent 28%)!important;
  filter:blur(30px)!important;
  opacity:1!important;
  animation:authLightDrift 18s ease-in-out infinite alternate!important;
}
.minerva-auth-body .auth-visual-panel::after{display:none!important;}
.auth-visual-backdrop{inset:-8%!important;border-radius:0!important;}
.auth-backdrop-dots{background-image:radial-gradient(#cbd5e1 1px,transparent 1px)!important;opacity:.24!important;background-size:24px 24px!important;}
.auth-backdrop-ring{border-color:rgba(99,102,241,.10)!important;}
.auth-backdrop-orb{filter:blur(34px)!important;opacity:.18!important;}
.auth-illustration.auth-html-dashboard{min-height:min(690px,calc(100svh - 92px));width:100%;display:flex;align-items:center;justify-content:center;}
.auth-graphic-stage{width:min(100%,930px)!important;height:min(640px,calc(100svh - 90px))!important;}
.auth-graphic-grid{
  inset:4%!important;
  background-image:
    linear-gradient(rgba(148,163,184,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(148,163,184,.06) 1px,transparent 1px)!important;
  background-size:34px 34px!important;
  mask-image:linear-gradient(to bottom,transparent,black 14%,black 86%,transparent)!important;
  opacity:.58!important;
}
.auth-graphic-beam{opacity:.14!important;filter:blur(1px)!important;}
.auth-browser-window{
  width:min(100%,820px)!important;
  height:min(505px,calc(100% - 90px))!important;
  min-height:430px;
  background:#ffffff!important;
  border:1px solid #dbe4f0!important;
  border-radius:26px!important;
  box-shadow:
    0 32px 70px rgba(15,23,42,.12),
    0 10px 26px rgba(79,70,229,.08),
    0 1px 0 rgba(255,255,255,.95) inset!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  animation:authBrowserFloat103 7.5s ease-in-out infinite!important;
}
.auth-browser-topbar{
  background:linear-gradient(180deg,#ffffff,#f8fafc)!important;
  border-bottom:1px solid #e7edf5!important;
}
.browser-address{background:#f8fafc!important;border-color:#e2e8f0!important;}
.address-line{background:#cbd5e1!important;}
.browser-menu{color:#64748b!important;}
.auth-dashboard-canvas{background:linear-gradient(145deg,#fbfdff,#f7f8ff 58%,#f0fbff)!important;}
.auth-mini-sidebar{background:rgba(255,255,255,.92)!important;border-right:1px solid #e7edf5!important;}
.mini-nav{color:#94a3b8!important;}
.mini-nav.active{background:linear-gradient(135deg,#eff6ff,#eef2ff)!important;color:#4f46e5!important;box-shadow:inset 0 0 0 1px #dbeafe,0 6px 14px rgba(79,70,229,.08)!important;}
.auth-dashboard-main{background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(248,250,252,.38));}
.auth-stat-card{border-color:#e3eaf3!important;box-shadow:0 8px 18px rgba(15,23,42,.05)!important;}
.auth-stat-card.blue{background:linear-gradient(145deg,#ffffff,#f5f9ff)!important;}
.auth-stat-card.violet{background:linear-gradient(145deg,#ffffff,#faf7ff)!important;}
.auth-stat-card.cyan{background:linear-gradient(145deg,#ffffff,#f3fcff)!important;}
.stat-value{background:linear-gradient(90deg,#94a3b8,#cbd5e1)!important;animation:authSkeletonPulse103 2.2s ease-in-out infinite;}
.stat-label{background:#e5eaf1!important;}
.auth-chart-card,.auth-side-card{border-color:#e3eaf3!important;box-shadow:0 10px 22px rgba(15,23,42,.055)!important;}
.chart-grid-line{background:#e8eef5!important;}
.chart-area svg path:first-of-type{opacity:.72;animation:authAreaGlow103 4.5s ease-in-out infinite;}
.chart-area svg path:nth-of-type(2){stroke-dasharray:1050;stroke-dashoffset:1050;animation:authChartDraw103 3.8s ease-out forwards,authChartSweep103 6.5s ease-in-out 3.8s infinite;}
.chart-tooltip{box-shadow:0 10px 22px rgba(79,70,229,.12)!important;border:1px solid #e0e7ff!important;}
.side-ring{box-shadow:0 9px 22px rgba(79,70,229,.10)!important;animation:authRingPulse103 4.8s ease-in-out infinite;}
.side-bars i{animation:authBarPulse103 2.8s ease-in-out infinite alternate;transform-origin:bottom center;}
.side-bars i:nth-child(2){animation-delay:.25s}.side-bars i:nth-child(3){animation-delay:.5s}.side-bars i:nth-child(4){animation-delay:.8s}.side-bars i:nth-child(5){animation-delay:1.1s}
.auth-row-cards span{border-color:#e5eaf1!important;box-shadow:0 6px 14px rgba(15,23,42,.035)!important;}
.graphic-float{
  background:rgba(255,255,255,.98)!important;
  border:1px solid #dbe4f0!important;
  box-shadow:0 20px 38px rgba(15,23,42,.12),0 6px 14px rgba(79,70,229,.08)!important;
}
.graphic-float i{background:linear-gradient(135deg,#eff6ff,#eef2ff)!important;color:#4f46e5!important;}
.graphic-float .float-bars b{background:linear-gradient(90deg,#94a3b8,#cbd5e1)!important;}
.graphic-float .float-bars small{background:#e2e8f0!important;}
.auth-cursor::before{border-bottom-color:#fff!important;filter:drop-shadow(0 1px 1px rgba(15,23,42,.18));}
.minerva-auth-body .portal-right{
  max-width:500px!important;
  background:#ffffff!important;
  border:1px solid #e0e7ef!important;
  border-top:3px solid transparent!important;
  border-image:linear-gradient(90deg,#2563eb,#7c3aed,#06b6d4) 1!important;
  border-radius:24px!important;
  box-shadow:0 28px 60px rgba(15,23,42,.10),0 8px 18px rgba(79,70,229,.06)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.auth-form-card .auth-brand-logo{background:#fff!important;border:1px solid #e2e8f0!important;}
.auth-form-card .auth-form-kicker{color:#4f46e5!important;}
.auth-form-card .portal-title{color:#0f172a!important;}
.auth-form-card .auth-form-intro p,.auth-form-card .auth-switch,.auth-form-meta{color:#64748b!important;}
.auth-input-shell{background:#fff!important;}
.auth-input-shell .portal-input{border-color:#d5dee9!important;background:#fff!important;}
.auth-input-shell .portal-input:focus{border-color:#4f46e5!important;box-shadow:0 0 0 4px rgba(79,70,229,.10)!important;}
.auth-submit{box-shadow:0 13px 28px rgba(79,70,229,.18)!important;}
.auth-switch a,.auth-form-meta a{color:#4f46e5!important;}
@keyframes authLightDrift103{0%{transform:translate3d(-1%,0,0) scale(1)}50%{transform:translate3d(1.5%,-1%,0) scale(1.03)}100%{transform:translate3d(-.5%,1%,0) scale(1.05)}}
@keyframes authBrowserFloat103{0%,100%{transform:perspective(1500px) rotateX(1.6deg) rotateY(-3deg) rotateZ(-.45deg) translate3d(0,0,0)}50%{transform:perspective(1500px) rotateX(1deg) rotateY(-1.8deg) rotateZ(-.2deg) translate3d(0,-9px,0)}}
@keyframes authSkeletonPulse103{0%,100%{opacity:.72}50%{opacity:1}}
@keyframes authAreaGlow103{0%,100%{opacity:.58}50%{opacity:.82}}
@keyframes authChartDraw103{to{stroke-dashoffset:0}}
@keyframes authChartSweep103{0%,100%{filter:drop-shadow(0 0 0 rgba(79,70,229,0))}50%{filter:drop-shadow(0 0 5px rgba(79,70,229,.22))}}
@keyframes authRingPulse103{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
@keyframes authBarPulse103{from{transform:scaleY(.94)}to{transform:scaleY(1.04)}}
@media (max-width:1180px){
  .minerva-auth-body .auth-page-shell{grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);gap:34px;padding-left:28px;padding-right:28px;}
  .auth-graphic-stage{height:570px!important;}.auth-browser-window{height:455px!important;min-height:0!important;}.graphic-float{transform:scale(.94);}
}
@media (max-width:980px){
  .minerva-auth-body .auth-page-shell{display:flex!important;flex-direction:column!important;max-width:900px!important;gap:18px!important;padding:24px 18px 34px!important;}
  .minerva-auth-body .portal-right{order:1!important;width:min(100%,540px)!important;max-width:540px!important;}
  .minerva-auth-body .portal-left{order:2!important;width:100%!important;}
  .auth-visual-only{min-height:500px!important;}.auth-illustration.auth-html-dashboard{min-height:470px!important;}.auth-graphic-stage{height:460px!important;}.auth-browser-window{height:390px!important;max-width:760px!important;}
}
@media (max-width:767px){
  .minerva-auth-body{background:#fff!important;}
  .minerva-auth-body .auth-page-shell{padding:14px 12px 24px!important;gap:14px!important;}
  .minerva-auth-body .portal-right{padding:24px 18px!important;border-radius:20px!important;}
  .auth-visual-only{min-height:320px!important;padding:4px!important;border-radius:18px!important;}
  .auth-visual-backdrop{inset:-4%!important;}
  .auth-illustration.auth-html-dashboard{min-height:310px!important;}
  .auth-graphic-stage{height:300px!important;}
  .auth-browser-window{width:calc(100% - 4px)!important;height:255px!important;border-radius:18px!important;transform:perspective(900px) rotateX(1deg) rotateY(-1.5deg) rotateZ(-.25deg)!important;}
  .auth-browser-topbar{height:29px!important;}
  .auth-dashboard-main{padding:8px!important;}
  .auth-stat-card{min-height:47px!important;}
  .chart-area{height:98px!important;}.chart-area svg{height:84px!important;}
  .auth-row-cards span{height:18px!important;}
  .graphic-float{transform:scale(.84)!important;}
  .float-card-one{left:-2%!important;bottom:-1%!important;}.float-card-two{right:-1%!important;top:0!important;}.float-card-three{right:4%!important;bottom:-5%!important;}
}
@media (prefers-reduced-motion:reduce){
  .minerva-auth-body .auth-visual-panel::before,
  .auth-browser-window,.auth-float-card,.auth-cursor,
  .chart-area svg path:first-of-type,.chart-area svg path:nth-of-type(2),
  .side-ring,.side-bars i,.stat-value,.auth-submit::before{animation:none!important;}
  .chart-area svg path:nth-of-type(2){stroke-dashoffset:0!important;}
}


/* =========================================================
   Minerva Auth 1.0.4 — seamless white visual blend
   ========================================================= */
.minerva-auth-body,
body.minerva-auth-body{
  background:#fff!important;
  background-image:none!important;
}
.minerva-auth-body::before{
  display:none!important;
  content:none!important;
}
.minerva-auth-body .auth-page-shell{
  width:min(1540px,100%);
  grid-template-columns:minmax(0,1.3fr) minmax(410px,.7fr);
  gap:clamp(30px,4vw,70px);
  padding:clamp(22px,3.5vw,52px) clamp(18px,4vw,64px);
}
.minerva-auth-body .auth-visual-panel{
  position:relative!important;
  isolation:isolate!important;
  min-height:min(760px,calc(100svh - 42px))!important;
}
.minerva-auth-body .auth-visual-panel::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  filter:blur(72px)!important;
  opacity:.9!important;
  background:
    radial-gradient(ellipse 34% 31% at 31% 36%,rgba(37,99,235,.085),transparent 74%),
    radial-gradient(ellipse 27% 26% at 63% 31%,rgba(124,58,237,.065),transparent 76%),
    radial-gradient(ellipse 31% 25% at 54% 72%,rgba(6,182,212,.055),transparent 78%),
    radial-gradient(ellipse 50% 50% at 48% 50%,rgba(255,255,255,.88),transparent 100%)!important;
  transform:none!important;
  animation:authSeamlessGlow104 16s ease-in-out infinite alternate!important;
}
.minerva-auth-body .auth-visual-panel::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:-3%!important;
  z-index:1!important;
  pointer-events:none!important;
  background:radial-gradient(ellipse 68% 70% at 50% 50%,transparent 0%,transparent 58%,rgba(255,255,255,.72) 79%,#fff 100%)!important;
}
.minerva-auth-body .auth-visual-backdrop{
  inset:0!important;
  z-index:0!important;
  overflow:visible!important;
  border-radius:0!important;
  opacity:.72!important;
  -webkit-mask-image:radial-gradient(ellipse 63% 63% at 50% 50%,#000 0%,#000 50%,rgba(0,0,0,.55) 68%,transparent 93%)!important;
  mask-image:radial-gradient(ellipse 63% 63% at 50% 50%,#000 0%,#000 50%,rgba(0,0,0,.55) 68%,transparent 93%)!important;
}
.minerva-auth-body .auth-backdrop-orb{
  filter:blur(62px)!important;
  opacity:.12!important;
}
.minerva-auth-body .auth-backdrop-orb.orb-blue{background:#4f46e5!important;}
.minerva-auth-body .auth-backdrop-orb.orb-purple{background:#8b5cf6!important;}
.minerva-auth-body .auth-backdrop-orb.orb-cyan{background:#06b6d4!important;}
.minerva-auth-body .auth-backdrop-dots{
  opacity:.075!important;
  background-image:radial-gradient(#94a3b8 .7px,transparent .7px)!important;
  background-size:24px 24px!important;
  -webkit-mask-image:radial-gradient(ellipse 62% 58% at 50% 50%,#000 0%,#000 48%,transparent 90%)!important;
  mask-image:radial-gradient(ellipse 62% 58% at 50% 50%,#000 0%,#000 48%,transparent 90%)!important;
}
.minerva-auth-body .auth-backdrop-ring{opacity:.5!important;border-color:rgba(99,102,241,.08)!important;}
.minerva-auth-body .auth-illustration.auth-html-dashboard{
  position:relative!important;
  z-index:2!important;
  min-height:min(690px,calc(100svh - 82px))!important;
}
.minerva-auth-body .auth-graphic-stage{
  width:min(100%,960px)!important;
  height:min(640px,calc(100svh - 86px))!important;
}
.minerva-auth-body .auth-graphic-grid{
  inset:2% 4% 4%!important;
  opacity:.34!important;
  background-image:
    linear-gradient(rgba(148,163,184,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(148,163,184,.045) 1px,transparent 1px)!important;
  background-size:36px 36px!important;
  -webkit-mask-image:radial-gradient(ellipse at center,rgba(0,0,0,.9),transparent 77%)!important;
  mask-image:radial-gradient(ellipse at center,rgba(0,0,0,.9),transparent 77%)!important;
}
.minerva-auth-body .auth-graphic-beam{opacity:.07!important;}
.minerva-auth-body .auth-browser-window{
  width:min(100%,830px)!important;
  height:min(510px,calc(100% - 72px))!important;
  min-height:420px!important;
  border-radius:28px!important;
  border:1px solid rgba(203,213,225,.9)!important;
  box-shadow:
    0 34px 74px rgba(15,23,42,.10),
    0 12px 28px rgba(79,70,229,.055),
    0 1px 0 rgba(255,255,255,.98) inset!important;
  transform:perspective(1600px) rotateX(1.2deg) rotateY(-2.2deg) rotateZ(-.25deg)!important;
  animation:authBrowserFloat104 8.2s ease-in-out infinite!important;
}
.minerva-auth-body .graphic-float{
  z-index:4!important;
  border-color:rgba(203,213,225,.95)!important;
  box-shadow:0 18px 36px rgba(15,23,42,.10),0 5px 12px rgba(79,70,229,.055)!important;
}
.minerva-auth-body .auth-cursor{z-index:5!important;}
@keyframes authSeamlessGlow104{
  0%,100%{opacity:.80;transform:scale(1)}
  50%{opacity:.95;transform:scale(1.025)}
}
@keyframes authBrowserFloat104{
  0%,100%{transform:perspective(1600px) rotateX(1.2deg) rotateY(-2.2deg) rotateZ(-.25deg) translate3d(0,0,0)}
  50%{transform:perspective(1600px) rotateX(.8deg) rotateY(-1.2deg) rotateZ(-.1deg) translate3d(0,-7px,0)}
}
@media (max-width:1180px){
  .minerva-auth-body .auth-page-shell{grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);gap:30px;}
  .minerva-auth-body .auth-browser-window{height:455px!important;min-height:0!important;}
}
@media (max-width:980px){
  .minerva-auth-body .auth-page-shell{display:flex!important;flex-direction:column!important;max-width:900px!important;gap:18px!important;padding:24px 18px 34px!important;}
  .minerva-auth-body .portal-right{order:1!important;width:min(100%,540px)!important;max-width:540px!important;}
  .minerva-auth-body .portal-left{order:2!important;width:100%!important;}
  .minerva-auth-body .auth-visual-panel{min-height:500px!important;}
  .minerva-auth-body .auth-illustration.auth-html-dashboard{min-height:470px!important;}
  .minerva-auth-body .auth-graphic-stage{height:460px!important;}
  .minerva-auth-body .auth-browser-window{height:390px!important;max-width:760px!important;}
}
@media (max-width:767px){
  .minerva-auth-body .auth-page-shell{padding:14px 12px 24px!important;gap:14px!important;}
  .minerva-auth-body .auth-visual-panel{min-height:320px!important;}
  .minerva-auth-body .auth-illustration.auth-html-dashboard{min-height:310px!important;}
  .minerva-auth-body .auth-graphic-stage{height:300px!important;}
  .minerva-auth-body .auth-browser-window{width:calc(100% - 4px)!important;height:255px!important;min-height:0!important;border-radius:19px!important;}
  .minerva-auth-body .auth-visual-panel::before{filter:blur(48px)!important;opacity:.75!important;}
  .minerva-auth-body .auth-visual-panel::after{inset:-2%!important;background:radial-gradient(ellipse 78% 74% at 50% 50%,transparent 0%,transparent 60%,rgba(255,255,255,.88) 84%,#fff 100%)!important;}
}
@media (prefers-reduced-motion:reduce){
  .minerva-auth-body .auth-visual-panel::before,
  .minerva-auth-body .auth-browser-window{animation:none!important;}
}
