.auth-page{margin:0;min-height:100svh;display:grid;place-items:center;padding:24px;box-sizing:border-box;font-family:Inter,"Segoe UI",sans-serif;color:#182440;background:radial-gradient(ellipse at 15% 10%,#e9e6ff,transparent 55%),radial-gradient(ellipse at 90% 85%,#ffede7,transparent 50%),#f7f8fc}
.auth-page *,.logout-dialog *{box-sizing:border-box}
.auth-card{position:relative;isolation:isolate;overflow:hidden;width:100%;max-width:480px;background:#fff;border:1px solid #e8e6f2;border-radius:28px;padding:36px;box-shadow:0 30px 100px #25235116;font-family:Inter,"Segoe UI",sans-serif;color:#182440;animation:auth-enter .36s cubic-bezier(.16,1,.3,1) both}
.auth-card:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(100deg,#4884ff,#8754ef 45%,#ef537a 75%,#ffac62)}
.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:32px;font-size:13px;font-weight:650;letter-spacing:.02em}.auth-brand img{border-radius:12px;box-shadow:0 6px 18px #4b3e791a}.auth-brand small{display:block;font-size:10px;color:#8a91a7;font-weight:500;margin-top:4px;letter-spacing:.12em}
.auth-close{position:absolute;right:18px;top:20px;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;background:#f5f4fa;color:#788198;cursor:pointer}
.auth-emblem{width:60px;height:60px;border-radius:19px;display:grid;place-items:center;background:linear-gradient(135deg,#f0ecff,#fcebf3);color:#8158d7;margin-bottom:22px}
.auth-kicker{font-size:10px;color:#8a60d3;letter-spacing:.18em;font-weight:750;margin:0 0 10px}.auth-card h1,.auth-card h2{font-size:29px;letter-spacing:-1px;line-height:1.15;margin:0 0 14px;font-weight:750}.auth-description{color:#778197;line-height:1.7;font-size:14px;margin:0 0 22px}
.auth-note{display:flex;align-items:flex-start;gap:10px;background:#f7f7fc;border:1px solid #ececf5;border-radius:13px;padding:14px;color:#7e879d;font-size:12px;line-height:1.6;margin-bottom:26px}.auth-note svg{flex-shrink:0;margin-top:2px;color:#8f7ab8}.auth-note strong{display:block;color:#4a5570;font-weight:600;margin-bottom:2px}
.auth-actions{display:flex;gap:10px;margin:0}.auth-actions button,.auth-actions a{flex:1;min-height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;border:1px solid #e6e6ef;font:600 13px Inter,"Segoe UI",sans-serif;cursor:pointer;padding:12px;background:white;color:#5c6680;transition:transform .18s,box-shadow .18s,background .18s}.auth-actions .auth-primary{color:white;border:0;background:linear-gradient(110deg,#5e71e9,#8d51d8);box-shadow:0 6px 18px #7956d52b}.auth-actions button:hover,.auth-actions a:hover{transform:translateY(-2px);box-shadow:0 7px 20px #5543801a}.auth-actions button:disabled{opacity:.5;cursor:wait;transform:none}.auth-card :focus-visible{outline:3px solid #a59af3;outline-offset:3px}.auth-foot{font-size:10px;text-align:center;color:#969db0;margin:22px 0 0;letter-spacing:.03em}.auth-error{font-size:12px;color:#b03958;line-height:1.6;margin-bottom:16px}
.logout-dialog{padding:0;border:0;background:transparent;border-radius:28px;max-width:480px;width:calc(100% - 32px);max-height:calc(100svh - 32px);overflow-y:auto;color:#182440;box-shadow:0 40px 130px #10142e40}.logout-dialog::backdrop{background:#10142e66;backdrop-filter:blur(7px);animation:auth-backdrop .24s ease both}.logout-dialog.is-closing{animation:auth-exit .2s ease both}.logout-dialog.is-closing::backdrop{animation:auth-backdrop .2s ease reverse both}.logout-dialog .auth-card{box-shadow:none}
@keyframes auth-enter{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}@keyframes auth-exit{to{opacity:0;transform:translateY(10px) scale(.97)}}@keyframes auth-backdrop{from{opacity:0}to{opacity:1}}
@media(max-width:480px){.auth-page{padding:16px}.auth-card{padding:28px 22px;border-radius:22px}.auth-card h1,.auth-card h2{font-size:25px}.auth-brand{margin-bottom:26px}.auth-actions{flex-direction:column-reverse}.auth-actions button,.auth-actions a{flex:auto}.logout-dialog{border-radius:22px}}
@media(prefers-reduced-motion:reduce){.auth-card,.logout-dialog,.logout-dialog::backdrop{animation:none!important}.auth-actions button,.auth-actions a{transition:none}}
