:root{--auth-ink:#111827;--auth-muted:#6b7280;--auth-line:#d7dce8;--auth-blue:#d00000;--auth-blue-dark:#b00000;--auth-soft:#fff2f2;--auth-shadow:0 28px 80px rgba(58,65,119,.2)}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0}
body{font-family:'DM Sans',Arial,sans-serif;color:var(--auth-ink);background:#eef2fb}
button,input{font:inherit}
button{border:0;cursor:pointer}
.auth-page{min-height:100dvh;overflow:auto;background:radial-gradient(circle at 8% 4%,rgba(255,255,255,.9),transparent 30%),radial-gradient(circle at 96% 92%,rgba(236,72,153,.16),transparent 26%),linear-gradient(135deg,#e9effc 0%,#f7f4ff 54%,#e9e4fb 100%)}
.auth-page:before,.auth-page:after{content:'';position:fixed;z-index:0;width:360px;height:360px;border-radius:50%;filter:blur(64px);pointer-events:none}
.auth-page:before{top:-180px;left:-120px;background:rgba(96,165,250,.2)}
.auth-page:after{right:-160px;bottom:-190px;background:rgba(217,70,239,.17)}
.auth-layout{position:relative;z-index:1;min-height:100dvh;display:grid;place-items:center;padding:28px 16px}
.auth-card{width:min(100%,430px);padding:32px;background:linear-gradient(145deg,rgba(255,255,255,.93),rgba(243,244,255,.86));border:1px solid rgba(255,255,255,.9);border-radius:18px;box-shadow:var(--auth-shadow);backdrop-filter:blur(24px) saturate(140%)}
.auth-brand{display:flex;align-items:center;justify-content:center;gap:11px;margin-bottom:27px}.auth-brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#ef1616,#bd0000);color:#fff;font-size:23px;font-weight:700;box-shadow:0 7px 17px rgba(190,0,0,.28)}.auth-brand strong{display:block;font-family:Manrope,'DM Sans',Arial,sans-serif;font-size:18px;letter-spacing:-.5px}.auth-brand small{display:block;margin-top:2px;color:var(--auth-muted);font-size:11px}
.auth-heading{margin-bottom:19px}.auth-kicker{display:block;margin-bottom:8px;color:#9aa3b6;font-size:9px;font-weight:800;letter-spacing:1.3px}.auth-heading h1{margin:0;font-family:Manrope,'DM Sans',Arial,sans-serif;font-size:24px;letter-spacing:-.6px}.auth-heading p{margin:6px 0 0;color:var(--auth-muted);font-size:13px;line-height:1.45}
.auth-tabs{display:flex;gap:5px;padding:4px;margin-bottom:20px;border-radius:9px;background:rgba(243,244,246,.8)}.auth-tab{flex:1;padding:9px;border-radius:7px;background:transparent;color:var(--auth-muted);font-size:12px;font-weight:600}.auth-tab.active{background:#fff;color:var(--auth-blue);box-shadow:0 1px 4px rgba(17,24,39,.08)}
.auth-alert{margin-bottom:15px;padding:10px 12px;border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:#b91c1c;font-size:12px;line-height:1.4}.auth-alert.success{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}
.auth-form{display:grid;gap:7px}.auth-form label{color:#374151;font-size:12px;font-weight:600}.auth-form input[type=email],.auth-form input[type=text],.auth-form input[type=password]{width:100%;height:42px;padding:0 12px;border:1px solid var(--auth-line);border-radius:8px;background:rgba(255,255,255,.85);color:#111827;font-size:13px;outline:none;transition:border-color .15s,box-shadow .15s}.auth-form input:focus{border-color:#e56a6a;box-shadow:0 0 0 3px rgba(208,0,0,.12)}.auth-form input::placeholder{color:#9ca3af}
.password-field{position:relative}.password-field input{padding-right:42px!important}.password-toggle{position:absolute;right:9px;top:50%;transform:translateY(-50%);padding:5px;background:transparent;color:#9ca3af;font-size:13px}.password-toggle:hover{color:var(--auth-blue)}.remember-line{display:flex!important;align-items:center;gap:7px;margin:5px 0 9px;color:#4b5563!important;font-weight:400!important}.remember-line input{width:15px;height:15px;accent-color:var(--auth-blue)}
.auth-submit{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:43px;margin-top:6px;border-radius:8px;background:linear-gradient(135deg,#e00000,#bc0000);color:#fff;font-size:13px;font-weight:700;box-shadow:0 7px 16px rgba(190,0,0,.2);transition:.15s}.auth-submit:hover{background:linear-gradient(135deg,#c90000,#a80000);box-shadow:0 9px 19px rgba(190,0,0,.27)}.auth-submit:disabled{opacity:.7;cursor:wait}.auth-submit.is-loading span{display:none}
.auth-switch{margin:10px 0 0;text-align:center;color:var(--auth-muted);font-size:12px}.auth-switch button{padding:0;background:transparent;color:var(--auth-blue);font-weight:600}.auth-switch button:hover{text-decoration:underline}.auth-info{display:flex;align-items:flex-start;gap:9px;margin-bottom:7px;padding:10px 11px;border:1px solid #fecaca;border-radius:8px;background:#fff7f7;color:#a51b1b;font-size:11px;line-height:1.45}.auth-info span{width:16px;height:16px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #ef8d8d;border-radius:50%;font-size:10px}.auth-footer-note{display:flex;justify-content:center;gap:6px;margin-top:24px;padding-top:15px;border-top:1px solid rgba(255,255,255,.8);text-align:center;color:#9ca3af;font-size:10px;line-height:1.45}.auth-footer-note span{color:var(--auth-blue)}
[hidden]{display:none!important}
@media(max-width:520px){.auth-layout{padding:14px}.auth-card{padding:25px 20px}.auth-heading h1{font-size:22px}}
