:root{--bg:#05050e;--surface:#0d0d1a;--card:#112;--border:rgba(99,102,241,.18);--accent:#6366f1;--accent-dark:#4f46e5;--text:#e8e8f0;--muted:rgba(232,232,240,.72);--danger:#f87171;--danger-bg:hsla(0,91%,71%,.08);--danger-border:hsla(0,91%,71%,.25);--radius:12px}*,:after,:before{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--text)}.auth-page,body{background:var(--bg);min-height:100vh}.auth-page{display:flex;align-items:center;justify-content:center;padding:2rem 1rem;position:relative;overflow:hidden}.auth-page:before{content:"";position:fixed;inset:0;background:radial-gradient(ellipse 60% 40% at 50% -10%,rgba(99,102,241,.12) 0,transparent 60%);pointer-events:none}.auth-container{width:100%;max-width:440px;position:relative;z-index:1}.auth-container-wide{max-width:820px}.auth-logo{flex-direction:column;gap:.6rem;margin-bottom:2rem;text-align:center}.auth-logo,.auth-logo-badge{display:flex;align-items:center}.auth-logo-badge{width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,var(--accent),#8b5cf6);justify-content:center;font-weight:800;font-size:1.1rem;color:#fff;box-shadow:0 0 24px rgba(99,102,241,.4)}.auth-logo h1{font-size:1.5rem;font-weight:700;letter-spacing:-.02em}.auth-logo p{font-size:.9rem;color:var(--muted)}.auth-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:2.25rem;backdrop-filter:blur(12px)}.auth-error{background:var(--danger-bg);border:1px solid var(--danger-border);border-radius:8px;padding:.75rem 1rem;color:var(--danger);font-size:.875rem;margin-bottom:1.25rem}.auth-welcome-banner{display:flex;align-items:flex-start;gap:.85rem;background:linear-gradient(135deg,rgba(99,102,241,.08),rgba(139,92,246,.06));border:1px solid rgba(99,102,241,.25);border-radius:12px;padding:1rem 1.25rem;margin-bottom:1.5rem;max-width:700px}.auth-welcome-icon{font-size:1.5rem;flex-shrink:0;line-height:1}.auth-welcome-content{font-size:.9rem;color:#e2e8f0;line-height:1.5}.auth-welcome-content strong{color:#fff;font-weight:600}.auth-welcome-content em{color:#a5b4fc;font-style:normal;font-weight:600}.auth-field{margin-bottom:1.1rem}.auth-field label{display:block;font-size:.83rem;font-weight:500;color:var(--text);margin-bottom:.45rem}.auth-field input{width:100%;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.65rem .9rem;font-size:.9rem;color:var(--text);font-family:inherit;outline:none;transition:border-color .2s}.auth-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(99,102,241,.15)}.auth-field input::-moz-placeholder{color:rgba(232,232,240,.3)}.auth-field input::placeholder{color:rgba(232,232,240,.3)}.auth-field input:disabled{opacity:.55;cursor:not-allowed}.auth-field-hint{font-size:.77rem;color:var(--muted);margin-top:.3rem}.auth-forgot-link{margin-top:.35rem;text-align:right}.auth-forgot-link a{font-size:.82rem;color:var(--accent);text-decoration:none}.auth-forgot-link a:hover{text-decoration:underline}.auth-submit{width:100%;padding:.75rem 1rem;background:var(--accent);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .2s,transform .15s,box-shadow .2s;margin-top:.5rem}.auth-submit:hover:not(:disabled){background:var(--accent-dark);box-shadow:0 4px 20px rgba(99,102,241,.35);transform:translateY(-1px)}.auth-submit:disabled{opacity:.55;cursor:not-allowed;transform:none}.auth-footer{margin-top:1.25rem;text-align:center;font-size:.86rem;color:var(--muted)}.auth-footer a{color:var(--accent);text-decoration:none;font-weight:500}.auth-footer a:hover{text-decoration:underline}.auth-switch-link{text-align:center;font-size:.9rem;color:var(--muted);margin:0 0 1.5rem}.auth-switch-link a{color:var(--accent);text-decoration:none;font-weight:500}.auth-switch-link a:hover{text-decoration:underline}.oauth-buttons{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.oauth-btn{display:flex;align-items:center;justify-content:center;gap:.75rem;width:100%;padding:.7rem 1rem;border-radius:8px;font-size:.9rem;font-weight:500;font-family:inherit;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.oauth-btn:disabled{opacity:.55;cursor:not-allowed}.oauth-btn svg{flex-shrink:0}.oauth-btn-google{background:#fff;color:#3c4043;border-color:rgba(0,0,0,.1)}.oauth-btn-google:hover:not(:disabled){background:#f8f9fa;box-shadow:0 1px 3px rgba(0,0,0,.12)}.oauth-btn-github{background:#24292f;color:#fff;border-color:#24292f}.oauth-btn-github:hover:not(:disabled){background:#32383f;box-shadow:0 2px 8px rgba(0,0,0,.25)}.auth-divider{display:flex;align-items:center;gap:1rem;margin:1.5rem 0;color:var(--muted);font-size:.82rem;text-transform:lowercase}.auth-divider:after,.auth-divider:before{content:"";flex:1;height:1px;background:var(--border)}.oauth-callback-card{text-align:center;padding:3rem 2rem}.oauth-callback-status{display:flex;flex-direction:column;align-items:center;gap:1rem}.oauth-callback-status p{font-size:1rem;color:var(--text)}.oauth-callback-hint{font-size:.85rem!important;color:var(--muted)!important}.oauth-callback-spinner{width:40px;height:40px;border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.oauth-callback-success svg{color:#22c55e}.oauth-callback-error svg{color:var(--danger)}.oauth-callback-error .auth-submit{margin-top:1rem;max-width:200px}.auth-card-split{display:flex;padding:0;overflow:hidden}.auth-side{flex:1;padding:2rem;display:flex;flex-direction:column}.auth-side-oauth{background:linear-gradient(135deg,rgba(99,102,241,.08),rgba(139,92,246,.05));justify-content:center}.auth-side-form{background:var(--card)}.auth-side-title{font-size:1.1rem;font-weight:600;color:var(--text);margin-bottom:.35rem}.auth-side-desc{font-size:.82rem;color:var(--muted);margin-bottom:1.5rem}.auth-oauth-note{margin-top:1.25rem;font-size:.78rem;color:var(--muted);line-height:1.5;text-align:center}.auth-vertical-divider{width:1px;background:linear-gradient(to bottom,transparent,var(--border) 20%,var(--border) 80%,transparent);position:relative;display:flex;align-items:center;justify-content:center}.auth-vertical-divider span{position:absolute;background:var(--card);padding:.75rem .5rem;color:var(--muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;font-weight:500}.auth-side-oauth .oauth-buttons{margin-bottom:0}.auth-container-wide .auth-footer{margin-top:1.5rem;text-align:center}.auth-card-centered{padding:2.5rem;max-width:600px;margin:0 auto}.auth-main-content{display:flex;flex-direction:column;align-items:center;text-align:center}.auth-centered-title{font-size:1.25rem;font-weight:600;color:var(--text);margin-bottom:.5rem}.auth-centered-desc{font-size:.9rem;color:var(--muted);margin-bottom:2rem}.auth-main-content .oauth-buttons{width:100%;max-width:380px;margin-bottom:2.5rem}.auth-trust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1.25rem;width:100%;margin-bottom:2.5rem;text-align:left}.auth-trust-item{display:flex;gap:.85rem;align-items:flex-start}.auth-trust-icon{font-size:1.75rem;flex-shrink:0;line-height:1}.auth-trust-content strong{display:block;font-size:.875rem;font-weight:600;color:var(--text);margin-bottom:.25rem}.auth-trust-content p{font-size:.8rem;color:var(--muted);line-height:1.4}.auth-benefits{width:100%;background:linear-gradient(135deg,rgba(99,102,241,.06),rgba(139,92,246,.04));border:1px solid rgba(99,102,241,.15);border-radius:10px;padding:1.75rem;text-align:left}.auth-benefits-title{font-size:1rem;font-weight:600;color:var(--text);margin-bottom:1.25rem;text-align:center}.auth-benefits-list{list-style:none;display:flex;flex-direction:column;gap:.9rem}.auth-benefits-list li{display:flex;align-items:flex-start;gap:.75rem}.auth-benefits-list li svg{flex-shrink:0;color:#34d399;margin-top:.15rem}.auth-benefits-list li span{font-size:.875rem;color:var(--muted);line-height:1.5}.auth-benefits-list li strong{color:var(--text);font-weight:500}.auth-services-keywords{margin-top:16px;font-size:.75rem;text-align:center;line-height:2;color:#888}.auth-services-keywords span{font-weight:500}.kw-1{color:#7c3aed}.kw-2{color:#059669}.kw-3{color:#dc2626}.kw-4{color:#2563eb}.kw-5{color:#d97706}.kw-6{color:#0891b2}.kw-7{color:#c026d3}.kw-8{color:#16a34a}.kw-9{color:#ea580c}.kw-10{color:#4f46e5}.kw-11{color:#0d9488}.kw-12{color:#db2777}.kw-13{color:#65a30d}.kw-14{color:#9333ea}.kw-15{color:#e11d48}.kw-16{color:#0284c7}.kw-17{color:#ca8a04}.kw-18{color:#7c3aed}.kw-19{color:#059669}.kw-20{color:#dc2626}@media (max-width:700px){.auth-container-wide{max-width:440px}.auth-card-split{flex-direction:column}.auth-side{padding:1.75rem}.auth-side-oauth{padding-bottom:1.25rem}.auth-side-form{padding-top:1.25rem}.auth-vertical-divider{width:100%;height:1px;background:linear-gradient(to right,transparent,var(--border) 20%,var(--border) 80%,transparent)}.auth-vertical-divider span{padding:.5rem .75rem}.auth-oauth-note{display:none}.auth-card-centered{padding:1.75rem}.auth-centered-title{font-size:1.1rem}.auth-centered-desc{font-size:.85rem;margin-bottom:1.5rem}.auth-trust-grid{grid-template-columns:1fr;gap:1rem;margin-bottom:2rem}.auth-benefits{padding:1.5rem}.auth-benefits-list{gap:.75rem}.auth-benefits-list li span{font-size:.82rem}}.auth-verify-header{text-align:center;margin-bottom:1.5rem}.auth-verify-icon{font-size:3rem;margin-bottom:.75rem}.auth-verify-title{font-size:1.35rem;font-weight:700;color:var(--text);margin:0 0 .5rem}.auth-verify-desc{font-size:.9rem;color:var(--muted);line-height:1.5}.auth-verify-desc strong{color:var(--accent);font-weight:600}.auth-code-inputs{display:flex;gap:.65rem;justify-content:center;margin-bottom:1rem}.auth-code-digit{width:48px;height:56px;background:var(--surface);border:2px solid var(--border);border-radius:10px;text-align:center;font-size:1.5rem;font-weight:600;color:var(--text);font-family:Courier New,monospace;outline:none;transition:border-color .2s,box-shadow .2s}.auth-code-digit:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(99,102,241,.2)}.auth-code-digit:disabled{opacity:.55;cursor:not-allowed}.auth-code-hint{text-align:center;font-size:.82rem;color:var(--muted);margin-bottom:1.25rem}.auth-resend{margin-top:1.5rem;text-align:center;padding-top:1.25rem;border-top:1px solid var(--border)}.auth-resend p{font-size:.85rem;color:var(--muted);margin-bottom:.5rem}.auth-resend-btn{background:transparent;border:none;color:var(--accent);font-size:.9rem;font-weight:500;cursor:pointer;padding:.25rem .5rem;transition:color .2s}.auth-resend-btn:hover:not(:disabled){color:#818cf8;text-decoration:underline}.auth-resend-btn:disabled{color:var(--muted);cursor:not-allowed}.auth-success{background:rgba(34,197,94,.08);border:1px solid rgba(34,197,94,.25);border-radius:8px;padding:.75rem 1rem;color:#22c55e;font-size:.875rem;margin-bottom:1.25rem}.auth-forgot-header{text-align:center;margin-bottom:1.5rem}.auth-forgot-icon{font-size:3rem;margin-bottom:.75rem}.auth-forgot-title{font-size:1.35rem;font-weight:700;color:var(--text);margin:0 0 .5rem}.auth-forgot-desc{font-size:.9rem;color:var(--muted);line-height:1.5}.auth-password-strength{margin-top:.35rem;display:flex;gap:.25rem}.auth-strength-bar{flex:1;height:3px;border-radius:2px;background:var(--border);transition:background .2s}.auth-strength-bar.active{background:var(--danger)}.auth-strength-bar.active.medium{background:#f59e0b}.auth-strength-bar.active.strong{background:#22c55e}@media (max-width:400px){.auth-code-inputs{gap:.4rem}.auth-code-digit{width:42px;height:50px;font-size:1.25rem}}[dir=rtl] .auth-forgot-link{text-align:left}[dir=rtl] .auth-welcome-banner{flex-direction:row-reverse}