body.premium-login { --auth-bg:#faf8ff; --auth-card:#fff; --auth-input:#f8f9ff; --auth-border:#dce3ef; --auth-text:#142133; --auth-muted:#586a7b; --auth-accent:#007a55; min-height:100vh; background:radial-gradient(ellipse at 0 20%,#10b98110,transparent 45%),linear-gradient(#74859e08 1px,transparent 1px),linear-gradient(90deg,#74859e08 1px,transparent 1px),var(--auth-bg); background-size:auto,40px 40px,40px 40px,auto; color:var(--auth-text); }
html[data-theme="dark"] body.premium-login { --auth-bg:#060c12; --auth-card:#0b1321; --auth-input:#060c14; --auth-border:#2c4053; --auth-text:#f1f6fc; --auth-muted:#a0b3c8; --auth-accent:#31dca5; background:radial-gradient(ellipse at 0 20%,#10b98112,transparent 45%),linear-gradient(#74859e08 1px,transparent 1px),linear-gradient(90deg,#74859e08 1px,transparent 1px),var(--auth-bg); background-size:auto,40px 40px,40px 40px,auto; color:var(--auth-text); }
.auth-header { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; padding:20px 3vw; border-bottom:1px solid var(--auth-border); background:var(--auth-bg); }
.auth-brand { display:flex; gap:16px; align-items:center; text-decoration:none; color:var(--auth-text)!important; }
.auth-brand > span { display:grid; place-items:center; width:50px; height:50px; border:2px solid #10b981; border-radius:16px; color:var(--auth-accent); font-size:28px; font-weight:bold; }
.auth-brand strong { font-size:23px; }
.auth-brand small { display:block; font-size:12px; color:var(--auth-muted); margin-top:3px; }
.auth-header-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.auth-online { color:var(--auth-accent); font-size:12px; border:1px solid var(--auth-border); padding:9px 12px; border-radius:11px; }
.premium-login .auth-support { color:var(--auth-muted); font-size:12px; background:var(--auth-card); border:1px solid var(--auth-border); border-radius:11px; padding:8px 12px; }
.auth-layout { max-width:1450px; width:calc(100% - 8vw); margin:0 auto; display:grid; grid-template-columns:minmax(0,1.45fr) minmax(350px,1fr); align-items:center; gap:5vw; padding:70px 0; min-height:calc(100vh - 160px); }
.auth-badge { display:inline-block; color:var(--auth-accent); border:1px solid #10b98150; background:#10b9810d; border-radius:24px; padding:8px 13px; font-size:12px; }
.auth-introduction h1 { font-size:clamp(32px,3.8vw,57px); letter-spacing:-1.6px; line-height:1.12; margin:30px 0 18px; }
.auth-introduction h1 > span { color:var(--auth-accent); }
.auth-introduction > p { color:var(--auth-muted); font-size:18px; line-height:1.7; }
.auth-philosophy { display:flex; gap:18px; padding:25px; border:1px solid var(--auth-border); border-left:4px solid #10b981; border-radius:20px; margin:30px 0; background:var(--auth-card); }
.auth-philosophy > span { font-size:32px; color:var(--auth-accent); }
.auth-philosophy h2 { font-size:14px; letter-spacing:1px; color:var(--auth-accent); }
.auth-philosophy p { font-size:16px; color:var(--auth-muted); line-height:1.65; margin-bottom:0; }
.auth-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.auth-features > div { border:1px solid var(--auth-border); background:var(--auth-card); border-radius:17px; padding:18px; }
.auth-features svg { color:var(--auth-accent); }
.auth-features strong,.auth-features small { display:block; margin-top:10px; }
.auth-features strong { font-size:20px; }
.auth-features small { color:var(--auth-muted); font-size:12px; line-height:1.5; }
.auth-introduction p.auth-access-note { font-size:13px; margin-top:26px; }
.auth-card { border:1px solid var(--auth-border); border-top:3px solid #10b981; background:var(--auth-card); border-radius:23px; padding:34px; box-shadow:0 0 45px #10b9810c; }
.auth-card-brand { text-align:center; margin-bottom:28px; }
.auth-book { display:inline-grid; place-items:center; width:68px; height:68px; border-radius:20px; background:linear-gradient(130deg,#10b981,#007b62); color:white; margin-bottom:15px; }
.auth-book svg { width:36px; height:36px; }
.auth-card-brand h2 { font-size:31px; margin:0 0 5px; }
.auth-card-brand p { margin:0 0 7px; color:var(--auth-accent); font-size:14px; }
.auth-card-brand small { color:var(--auth-muted); font-size:12px; }
.auth-role { padding:10px; text-align:center; background:#10b98115; color:var(--auth-accent); border:1px solid #10b98130; border-radius:11px; font-size:13px; margin-bottom:24px; }
.premium-login .auth-card label,.premium-login #recovery-dialog label { color:var(--auth-text); font-size:14px; font-weight:normal; gap:8px; }
.premium-login .auth-card input,.premium-login #recovery-dialog input { background:var(--auth-input); border:1px solid var(--auth-border); border-radius:13px; color:var(--auth-text); min-height:48px; padding:12px 14px; font-size:15px; }
.premium-login input::placeholder { color:var(--auth-muted); }
.premium-login .login-label { margin-bottom:8px; }
.premium-login .password-field input { padding-right:48px; }
.premium-login .password-toggle { background:transparent; color:var(--auth-muted); position:absolute; right:4px; top:4px; width:40px; min-height:40px; padding:10px; }
.premium-login .password-toggle svg { width:20px; height:20px; }
.login-password-heading { display:flex; justify-content:flex-end; }
.premium-login .forgot-password { background:transparent; color:var(--auth-accent); padding:0; min-height:24px; font-size:12px; border:0; margin-bottom:3px; }
.premium-login .login-hint { color:var(--auth-muted); font-size:12px; margin:18px 0; }
.premium-login .login-submit { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; border-radius:14px; background:linear-gradient(100deg,#00956d,#09958c); color:white; min-height:52px; font-size:18px; box-shadow:0 6px 20px #10b98120; }
.auth-divider { display:flex; gap:15px; align-items:center; color:var(--auth-muted); font-size:11px; letter-spacing:1px; margin:27px 0; text-align:center; }
.auth-divider::before,.auth-divider::after { content:''; height:1px; background:var(--auth-border); flex:1; }
.auth-help { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.premium-login .auth-help button,.auth-help summary { min-height:40px; display:grid; place-items:center; background:var(--auth-input); border:1px solid var(--auth-border); color:var(--auth-text); padding:9px; border-radius:11px; font-size:13px; cursor:pointer; list-style:none; }
.auth-help summary::-webkit-details-marker { display:none; }
.auth-help details p { color:var(--auth-muted); font-size:13px; line-height:1.7; }
.auth-card-footer { border-top:1px solid var(--auth-border); padding-top:18px; margin:24px 0 0; color:var(--auth-muted); font-size:11px; }
.auth-footer { display:flex; flex-wrap:wrap; gap:15px; padding:22px 3vw; border-top:1px solid var(--auth-border); font-size:12px; color:var(--auth-muted); }
.auth-footer span:last-child { margin-left:auto; }
#recovery-dialog { --dialog-shadow:0 25px 100px #0006; width:min(620px,calc(100% - 32px)); padding:32px; border:1px solid #10b98150; border-top:4px solid #10b981; border-radius:22px; color:var(--auth-text); background:var(--auth-card); box-shadow:var(--dialog-shadow); max-height:calc(100vh - 40px); overflow:auto; }
#recovery-dialog::backdrop { background:#000a; backdrop-filter:blur(7px); }
.recovery-heading { display:flex; align-items:center; gap:16px; margin-right:20px; }
.recovery-heading .auth-book { width:48px; height:48px; flex-shrink:0; border-radius:14px; margin:0; }
.recovery-heading .auth-book svg { width:25px; height:25px; }
.recovery-heading .auth-badge { padding:4px 8px; font-size:10px; border-radius:5px; }
.recovery-heading h2 { margin:9px 0 0; font-size:23px; line-height:1.4; }
.premium-login .recovery-close { position:absolute; right:14px; top:10px; background:transparent; color:var(--auth-muted); font-size:27px; padding:0 8px; }
#recovery-dialog > p { font-size:15px; line-height:1.7; color:var(--auth-muted); margin:24px 0; }
.recovery-method { padding:12px; text-align:center; color:var(--auth-accent); background:#10b98118; border:1px solid #10b98140; border-radius:13px; margin-bottom:22px; }
#recovery-dialog label { margin-bottom:18px; }
#recovery-dialog label small { color:var(--auth-muted); }
.recovery-information { border:1px solid #10b98150; padding:16px; border-radius:14px; background:#10b9810c; color:var(--auth-accent); font-size:13px; line-height:1.7; margin:20px 0; }
.premium-login .recovery-submit { background:linear-gradient(110deg,#00976c,#07958d); color:white; border-radius:13px; width:100%; min-height:48px; }
.premium-login .recovery-cancel { width:100%; border:1px solid var(--auth-border); color:var(--auth-muted); background:transparent; border-radius:13px; margin-top:12px; font-size:13px; }
#recovery-result { font-size:13px; line-height:1.6; color:var(--auth-accent); }
.premium-login :focus-visible { outline:3px solid var(--auth-accent); outline-offset:3px; }
@media(max-width:1000px) { .auth-layout { gap:30px; width:calc(100% - 40px); grid-template-columns:1.1fr 1fr; } .auth-card { padding:25px; } .auth-introduction h1 { font-size:37px; } .auth-features { grid-template-columns:1fr; } .auth-features > div { display:flex; gap:12px; align-items:center; padding:13px; } .auth-features small,.auth-features strong { margin:0; } }
@media(max-width:760px) { .auth-layout { grid-template-columns:1fr; padding:35px 0; } .auth-introduction { text-align:center; } .auth-introduction h1 { font-size:34px; } .auth-introduction > p { font-size:15px; } .auth-philosophy,.auth-features,.auth-access-note { display:none; } .auth-card { width:min(500px,100%); margin:auto; } .auth-brand small { max-width:200px; } .auth-online { display:none; } .auth-header { padding:16px 20px; } .auth-header-actions { width:100%; justify-content:flex-end; } #recovery-dialog { padding:25px; } .recovery-heading { align-items:flex-start; gap:10px; } .recovery-heading h2 { font-size:21px; } .auth-footer span:last-child { margin-left:0; } }

.auth-role-picker{display:flex;gap:8px;margin:18px 0 8px}.auth-role-picker a{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #aebdd5;border-radius:10px;padding:10px 8px;text-decoration:none;color:inherit;font-size:14px}.auth-role-picker a[aria-current]{background:#1e40af;color:#fff;border-color:#1e40af}.auth-role-picker svg{width:20px;height:20px}.auth-role-picker a:focus-visible{outline:3px solid #638cf0;outline-offset:3px}
