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

:root{--ink:#17132b;--muted:#6d687d;--violet:#6d3df5;--violet-dark:#5125cf;--coral:#ff6b5f;--cream:#fbfaf8;--line:#e8e3ef;--white:#fff;--shadow:0 24px 70px rgba(47,31,91,.16)}
*{box-sizing:border-box}html{min-height:100%;background:var(--cream)}body{margin:0;min-height:100vh;color:var(--ink);font-family:'DM Sans',sans-serif;background:radial-gradient(circle at 5% 95%,rgba(255,107,95,.14),transparent 33%),radial-gradient(circle at 93% 7%,rgba(109,61,245,.18),transparent 34%),var(--cream);overflow-x:hidden}
a{color:inherit}.auth-aurora{position:fixed;border-radius:999px;filter:blur(1px);pointer-events:none;z-index:0}.auth-aurora.one{width:390px;height:390px;left:-210px;bottom:-170px;border:55px solid rgba(255,107,95,.08)}.auth-aurora.two{width:320px;height:320px;right:-160px;top:90px;border:48px solid rgba(109,61,245,.08)}
.auth-nav{position:relative;z-index:2;max-width:1240px;margin:auto;padding:26px 34px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-family:Manrope,sans-serif}.brand span,.mini-logo{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;color:white;font-weight:800;background:linear-gradient(135deg,var(--violet),#8d65ff);box-shadow:0 9px 22px rgba(109,61,245,.28)}.brand b{font-size:18px}.back{font-size:14px;font-weight:700;text-decoration:none;padding:11px 15px;border-radius:12px;transition:.2s}.back:hover{background:#fff;box-shadow:0 7px 20px rgba(31,20,65,.08);transform:translateY(-2px)}
.auth-shell{position:relative;z-index:1;max-width:1160px;margin:14px auto 56px;padding:0 28px;display:grid;grid-template-columns:1.03fr .97fr;min-height:660px;border:1px solid rgba(224,217,233,.88);border-radius:32px;background:rgba(255,255,255,.72);box-shadow:var(--shadow);overflow:hidden;backdrop-filter:blur(16px)}
.auth-story{position:relative;padding:64px 58px;background:linear-gradient(145deg,#211948,#412789 58%,#6d3df5);color:#fff;overflow:hidden}.auth-story:before{content:"";position:absolute;width:330px;height:330px;border:1px solid rgba(255,255,255,.13);border-radius:50%;right:-100px;bottom:-70px}.auth-story:after{content:"";position:absolute;width:110px;height:110px;background:var(--coral);border-radius:28px;right:-57px;top:92px;transform:rotate(22deg);opacity:.88}.story-copy{position:relative;z-index:2}.eyebrow{display:inline-flex;padding:8px 11px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.09);border-radius:999px;font-size:11px;letter-spacing:.14em;font-weight:800}.story-copy h1{max-width:450px;margin:22px 0 14px;font-family:Manrope,sans-serif;font-size:clamp(35px,4vw,53px);line-height:1.02;letter-spacing:-.045em}.story-copy p{max-width:440px;margin:0;color:#dcd4fa;font-size:16px;line-height:1.7}.auth-mascot{position:absolute;right:12px;bottom:26px;width:330px;height:330px;display:grid;place-items:center}.auth-mascot .ring{position:absolute;inset:30px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18)}.auth-mascot img{position:relative;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 24px rgba(17,10,50,.25))}.trust-card{position:absolute;z-index:3;left:48px;bottom:42px;display:flex;align-items:center;gap:12px;padding:13px 16px;border:1px solid rgba(255,255,255,.22);border-radius:16px;background:rgba(26,18,61,.7);box-shadow:0 15px 40px rgba(8,5,28,.22);backdrop-filter:blur(10px)}.trust-card>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#62ddb2;color:#17382f;font-weight:800}.trust-card div{display:flex;flex-direction:column}.trust-card strong{font-size:13px}.trust-card small{margin-top:2px;color:#cfc7e9;font-size:11px}
.auth-panel{display:flex;flex-direction:column;justify-content:center;padding:54px 60px;background:rgba(255,255,255,.88)}.panel-top{display:flex;align-items:center;gap:14px}.mini-logo{width:44px;height:44px;border-radius:14px}.panel-top div{display:flex;flex-direction:column;gap:2px}.panel-top small{font-size:10px;letter-spacing:.15em;color:var(--violet);font-weight:800}.panel-top strong{font-family:Manrope,sans-serif;font-size:24px;letter-spacing:-.025em}.subtitle{margin:16px 0 24px;color:var(--muted);line-height:1.55;font-size:14px}.form-error{display:flex;align-items:center;gap:10px;margin:-8px 0 17px;padding:12px 13px;border:1px solid #ffc8c3;border-radius:12px;background:#fff2f0;color:#9c2d25;font-size:13px;font-weight:600}.form-error span{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:var(--coral);color:#fff;font-weight:800}form{display:grid;gap:14px}label{font-size:12px;font-weight:800;color:#413a50}label em{float:right;font-style:normal;font-weight:500;color:#938c9d}.field{height:48px;margin-top:7px;display:flex;align-items:center;border:1px solid var(--line);border-radius:13px;background:#fff;transition:border .2s,box-shadow .2s,transform .2s}.field:focus-within{border-color:#a88df8;box-shadow:0 0 0 4px rgba(109,61,245,.09);transform:translateY(-1px)}.field>span{width:42px;text-align:center;color:var(--violet);font-size:16px;font-weight:700}.field input,.field select{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;color:var(--ink);font:500 14px 'DM Sans',sans-serif}.field input::placeholder{color:#aaa4b2}.field select{appearance:none;cursor:pointer}.field.select:after{content:'⌄';margin-right:16px;color:var(--muted)}.password-toggle{width:42px;height:100%;border:0;background:none;color:var(--muted);cursor:pointer;font-weight:800}.submit{height:51px;margin-top:4px;padding:0 9px 0 20px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:14px;background:linear-gradient(100deg,var(--violet),#7f50fb);color:#fff;box-shadow:0 12px 25px rgba(109,61,245,.24);font:800 14px 'DM Sans',sans-serif;cursor:pointer;transition:.2s}.submit b{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:rgba(255,255,255,.16);font-size:18px}.submit:hover{transform:translateY(-2px);box-shadow:0 16px 29px rgba(109,61,245,.32)}.switch-auth{text-align:center;margin-top:20px;color:var(--muted);font-size:13px}.switch-auth a{color:var(--violet);font-weight:800;text-decoration:none}.secure-note{margin-top:22px;padding-top:17px;border-top:1px solid #eeeaf3;text-align:center;color:#96909e;font-size:11px}.secure-note span{color:#5fc7a0;margin-right:5px}
@media(max-width:900px){.auth-shell{grid-template-columns:1fr;max-width:570px}.auth-story{min-height:360px;padding:42px}.auth-mascot{width:260px;height:260px}.story-copy h1{font-size:38px;max-width:400px}.story-copy p{max-width:340px}.trust-card{left:34px;bottom:28px}.auth-panel{padding:48px}}
@media(max-width:560px){.auth-nav{padding:18px}.brand b{font-size:15px}.back{font-size:12px}.auth-shell{margin:5px 12px 30px;padding:0;border-radius:24px}.auth-story{min-height:305px;padding:32px 27px}.story-copy h1{font-size:31px}.story-copy p{font-size:14px}.auth-mascot{width:195px;height:195px;right:-10px;bottom:10px}.trust-card{left:22px;bottom:22px;padding:10px 12px}.trust-card small{display:none}.auth-panel{padding:35px 24px}.panel-top strong{font-size:21px}}
/* Language selector */
.language-switcher{display:flex;gap:3px;margin-left:auto;margin-right:14px;padding:4px;border:1px solid rgba(109,61,245,.14);border-radius:12px;background:rgba(255,255,255,.8)}.language-switcher button{width:29px;height:27px;padding:0;border:0;border-radius:8px;background:transparent;cursor:pointer;filter:grayscale(.6);opacity:.7}.language-switcher button:hover,.language-switcher button.active{background:#eee8ff;filter:none;opacity:1}
.language-switcher button{display:grid;place-items:center}.language-switcher button img{display:block;width:21px;height:15px;border-radius:3px;object-fit:cover;box-shadow:0 0 0 1px rgba(23,19,43,.12)}
