/* IMPULORA — вход, регистрация, ссылки из бота */
.auth-page{min-height:100vh;display:flex;flex-direction:column}
.auth-field{position:fixed;inset:0;width:100%;height:100%;z-index:0;opacity:.8}
.auth-top{position:relative;z-index:2;height:80px;display:flex;align-items:center;justify-content:space-between}
.auth-wrap{position:relative;z-index:2;flex:1;display:grid;place-items:center;padding:20px 16px 60px}
.auth-card{width:min(460px,100%);padding:34px;background:#110f19f2;backdrop-filter:blur(10px);box-shadow:0 40px 120px -40px #6e3bdd66}
.auth-head{text-align:center;margin-bottom:26px}
.auth-head h1{font-size:28px;margin-bottom:10px}
.auth-note{font-size:12.5px;color:var(--dim);text-align:center;margin-top:12px;line-height:1.55}
.divider{display:flex;align-items:center;gap:14px;margin:26px 0 20px;color:var(--dim);font-size:12px;font-weight:700}
.divider:before,.divider:after{content:"";flex:1;height:1px;background:var(--stroke)}
.tabs{display:grid;grid-template-columns:1fr 1fr;background:#0d0b15;border:1px solid var(--stroke2);border-radius:14px;padding:4px;margin-bottom:20px}
.tab{border:0;background:transparent;border-radius:10px;padding:11px;font-weight:800;font-size:14px;color:var(--muted);transition:.2s}
.tab.active{background:var(--surface3);color:#fff;box-shadow:inset 0 0 0 1px var(--stroke2)}
.check{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#c8c1d8;margin:0 0 14px;cursor:pointer;line-height:1.5}
.check input{margin-top:3px;accent-color:var(--lime);width:16px;height:16px;flex:none}
.error-text{margin:0 0 12px}
.tg-wait{padding:26px;text-align:center;background:#0e0c17}
.tg-wait h3{font-size:19px;margin:16px 0 8px}
.tg-wait p.muted{font-size:14px;margin-bottom:18px}
.tg-wait .btn-ghost{margin-top:12px}
.tg-wait-ico{position:relative;width:64px;height:64px;margin:0 auto;border-radius:50%;background:#2aabee;display:grid;place-items:center;color:#fff}
.tg-wait-ico svg{width:30px;height:30px}
.tg-wait-ico i{position:absolute;inset:0;border-radius:50%;border:2px solid #2aabee;animation:ping 1.6s ease-out infinite}
@keyframes ping{to{transform:scale(1.8);opacity:0}}
.state-box{text-align:center;padding:10px 0}
.state-box .big-ico{width:70px;height:70px;border-radius:50%;margin:0 auto 18px;display:grid;place-items:center;font-size:30px;background:#c9ff7214;color:var(--lime)}
.state-box .big-ico.err{background:#ff5d7314;color:var(--danger)}
.auth-top-r{display:flex;align-items:center;gap:10px}
/* QR-код входа (компьютер): сканируешь телефоном — открывается бот */
.tg-qr{width:min(220px,70%);margin:0 auto;padding:10px;border-radius:20px;background:#fff;box-shadow:0 0 0 1px #ffffff1a,0 18px 50px -18px #2aabee88;animation:qr-in .4s var(--ease)}
.tg-qr svg{display:block;width:100%;height:auto}
@keyframes qr-in{from{opacity:0;transform:scale(.94)}}
/* Вход в одно нажатие: Telegram + Google. Кнопку Google рисует сам Google (iframe, высота 40px, «пилюля»),
   поэтому кнопку Telegram в этом блоке подгоняем под неё: та же высота и форма. */
.auth-methods{display:flex;flex-direction:column;gap:10px}
.auth-methods-label{margin:0 0 2px;text-align:center;font-size:12px;font-weight:700;color:var(--dim);letter-spacing:.02em}
.auth-methods .btn-tg{height:40px;padding:0 44px;border-radius:999px;font-size:14px}
/* Логотип слева на всю высоту кнопки (как «G» у Google), текст по центру. Виден только белый самолётик:
   иконка — круг с вырезанным самолётом; красим её в цвет кнопки, а под вырезом — белое пятно (60 % диаметра) */
.auth-methods .btn-tg .btn-logo{position:absolute;left:3px;top:2px;width:36px;height:36px;display:grid;place-items:center;
  color:#2aabee;background:radial-gradient(circle,#fff 0 58%,transparent 60%);transition:color .2s}
.auth-methods .btn-tg:hover .btn-logo{color:#3db6f2}
.auth-methods .btn-tg .btn-logo svg{width:36px;height:36px}
.auth-methods .auth-note{margin-top:2px}
.auth-methods .auth-note+.auth-note{margin-top:-6px}
/* color-scheme: light — у сайта dark, и iframe Google при несовпадении схем рисует белую подложку вокруг кнопки */
.google-btn{display:flex;justify-content:center;min-height:40px;color-scheme:light}
.google-btn>div{width:100%;display:flex;justify-content:center}
