/* Kirish (login) — sahifa stillari. */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:'Inter',-apple-system,'Segoe UI',sans-serif;
  -webkit-font-smoothing:antialiased;color:#1f2933;
  background:#f4f6f9;
  min-height:100vh;
}

/* Nature photo background — single 32 KB JPEG (800×540 @ q=40), tinted with
   a soft warm overlay so the form card stays legible. No external requests:
   image is served from our own /assets path. */
.al-page{
  min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:80px 20px 96px;position:relative;overflow:hidden;
  background:
    linear-gradient(135deg,rgba(255,248,225,.55) 0%,rgba(244,246,249,.78) 100%),
    url('/assets/img/login-bg.jpg') center/cover no-repeat fixed;
}
.al-page::before{
  content:'';position:absolute;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,200,6,.20) 0, transparent 38%),
    radial-gradient(circle at 88% 92%, rgba(252,63,29,.12) 0, transparent 42%);
}

/* Logo top left — premium (only desktop, hidden on small) */
.al-logo{
  position:absolute;top:22px;left:32px;z-index:2;
  display:inline-flex;align-items:center;gap:12px;
  text-decoration:none;color:#1f2933;
}
@media (max-width:980px){.al-logo{display:none}}
.al-ymark{
  width:38px;height:38px;border-radius:10px;
  background:linear-gradient(135deg,#FC3F1D 0%,#E22A0E 60%,#C41A00 100%);
  display:grid;place-items:center;color:#fff;
  font-weight:800;font-size:22px;letter-spacing:-.02em;
  box-shadow:
    0 1px 0 rgba(255,255,255,.18) inset,
    0 -2px 0 rgba(0,0,0,.12) inset,
    0 6px 18px -4px rgba(252,63,29,.40),
    0 1px 2px rgba(0,0,0,.08);
  position:relative;
}
.al-ymark::after{
  content:'';position:absolute;top:1px;left:1px;right:1px;height:50%;border-radius:9px 9px 0 0;
  background:linear-gradient(180deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,0) 100%);
  pointer-events:none;
}
.al-logo .name{
  display:flex;flex-direction:column;line-height:1.15;white-space:nowrap;
}
.al-logo .name .brand{
  font-family:'Inter',sans-serif;font-weight:700;font-size:17px;
  letter-spacing:-.014em;color:#0a0e14;
}
.al-logo .name .sub{
  font-size:10.5px;font-weight:600;color:#7b8794;
  letter-spacing:.04em;text-transform:uppercase;margin-top:3px;
  white-space:nowrap;
}
.al-logo .name .sub b{font-weight:700;color:#0a0e14}

/* Card — Liquid Glass kartochka, foto fonidan oqib ko'rinadi */
.al-card{
  position:relative;z-index:1;
  width:100%;max-width:600px;
  background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:blur(32px) saturate(190%);
  backdrop-filter:blur(32px) saturate(190%);
  border-radius:26px;
  padding:48px 46px 40px;
  border:1px solid rgba(255,255,255,.60);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    0 1px 2px rgba(31,41,51,.06),
    0 10px 30px -8px rgba(31,41,51,.16),
    0 32px 64px -20px rgba(31,41,51,.20);
  animation:al-rise .4s cubic-bezier(.16,1,.3,1) both;
}
@keyframes al-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (max-width:540px){.al-card{padding:34px 26px;border-radius:18px}}

/* Subtle yellow accent stripe at top of card */
.al-card::before{
  content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:48px;height:3px;background:#FFC806;border-radius:0 0 4px 4px;
}

/* Tabs olib tashlandi — kartochka pastida kichik switch */
.al-tabs{display:none}

/* Pastdagi kichik switch link */
.al-switch{
  margin-top:22px;padding-top:18px;
  border-top:1px solid #eef0f3;
  text-align:center;font-size:13px;color:#7b8794;
}
.al-switch a{
  color:#1f2933;font-weight:600;text-decoration:none;
  transition:color .15s;cursor:pointer;
}
.al-switch a:hover{color:#FFC806}

/* Pane */
.al-pane{display:none;animation:al-fade .25s ease-out both}
.al-pane.active{display:block}
@keyframes al-fade{from{opacity:0}to{opacity:1}}

.al-hd{margin-bottom:28px;text-align:center}
.al-hd h2{
  font-size:27px;font-weight:700;line-height:1.18;letter-spacing:-.025em;color:#0a0e14;
}
.al-hd p{font-size:14px;line-height:1.55;color:#7b8794;margin-top:9px}

/* Alert — inline (inside card, e.g. login/verify errors) */
.al-alert{
  margin-bottom:16px;padding:11px 13px;border-radius:10px;
  background:#fef2f2;border:1px solid #fecaca;color:#9b2222;
  font-size:13px;line-height:1.45;display:flex;align-items:flex-start;gap:9px;
}
.al-alert.ok{background:#f0fdf4;border-color:#bbf7d0;color:#166534}
.al-alert svg{width:16px;height:16px;flex:none;margin-top:1px}

/* Toast — fixed bottom-right */
.al-toast-wrap{
  position:fixed;bottom:28px;right:28px;z-index:9999;
  display:flex;flex-direction:column;gap:10px;align-items:flex-end;
  pointer-events:none;
}
.al-toast{
  pointer-events:auto;
  min-width:280px;max-width:380px;
  padding:14px 16px 14px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid #fecaca;
  box-shadow:0 8px 30px rgba(0,0,0,.13),0 2px 8px rgba(0,0,0,.07);
  display:flex;align-items:flex-start;gap:11px;
  font-size:13.5px;line-height:1.5;color:#1f2933;
  animation:al-toast-in .28s cubic-bezier(.22,1,.36,1) both;
}
.al-toast.ok{border-color:#bbf7d0}
.al-toast-icon{flex:none;margin-top:1px;width:20px;height:20px}
.al-toast-icon.err{color:#dc2626}
.al-toast-icon.ok{color:#16a34a}
.al-toast-body{flex:1}
.al-toast-title{font-weight:600;font-size:13px;margin-bottom:2px}
.al-toast-title.err{color:#9b2222}
.al-toast-title.ok{color:#166534}
.al-toast-msg{color:#52606d;font-size:13px}
.al-toast-close{
  flex:none;margin-top:-1px;margin-left:4px;
  background:none;border:none;cursor:pointer;
  color:#9aa3ad;padding:2px;border-radius:6px;line-height:1;
  transition:color .15s;
}
.al-toast-close:hover{color:#1f2933}
.al-toast.hiding{animation:al-toast-out .25s ease forwards}
@keyframes al-toast-in{
  from{opacity:0;transform:translateX(40px) scale(.95)}
  to{opacity:1;transform:translateX(0) scale(1)}
}
@keyframes al-toast-out{
  from{opacity:1;transform:translateX(0) scale(1)}
  to{opacity:0;transform:translateX(40px) scale(.9)}
}
@media(max-width:480px){
  .al-toast-wrap{bottom:16px;right:12px;left:12px;align-items:stretch}
  .al-toast{min-width:0;max-width:100%}
}

/* Password mask — type="text" visually shown as dots (blocks browser saved-passwords) */
.al-pmask{-webkit-text-security:disc;text-security:disc}

/* Form */
.al-frm{display:flex;flex-direction:column;gap:16px}
.al-r2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:540px){.al-r2{grid-template-columns:1fr}}

.al-fld{position:relative}
.al-fld > label.al-lbl{
  display:block;font-size:13px;font-weight:600;color:#52606d;
  margin-bottom:8px;letter-spacing:.005em;
}
.al-fld .ic{
  position:absolute;left:15px;top:37px;color:#9aa5b1;
  pointer-events:none;transition:color .15s;
}
.al-fld .ic svg{width:18px;height:18px;display:block}
.al-fld input:focus ~ .ic{color:#1f2933}
.al-fld input{
  width:100%;height:52px;padding:0 15px 0 46px;
  border:1px solid #d8dee5;border-radius:12px;
  font-size:15px;font-family:inherit;color:#0a0e14;background:#fff;outline:none;
  transition:border-color .15s,box-shadow .15s,background .15s;
}
.al-fld input::placeholder{color:#aab1ba}
.al-fld input:hover{border-color:#9aa5b1;background:#fbfbfc}
.al-fld input:focus{border-color:#1f2933;background:#fff;box-shadow:0 0 0 4px rgba(31,41,51,.06)}
.al-fld.err input,.al-fld.err input:hover,.al-fld.err input:focus{
  border-color:#e53e3e;background:#fff5f5;
  box-shadow:0 0 0 4px rgba(229,62,62,.1);
}
.al-fld.err .ic{color:#e53e3e}
.al-fld.ok input,.al-fld.ok input:hover,.al-fld.ok input:focus{
  border-color:#22c55e;background:#f0fdf4;
  box-shadow:0 0 0 4px rgba(34,197,94,.1);
}
.al-fld.ok .ic{color:#22c55e}
/* When input has a password toggle, leave room on the right */
.al-fld.has-tog input{padding-right:78px}

.al-fld input:-webkit-autofill,
.al-fld input:-webkit-autofill:hover,
.al-fld input:-webkit-autofill:focus{
  -webkit-text-fill-color:#1f2933;
  -webkit-box-shadow:0 0 0 1000px #fff inset;
  transition:background-color 9999s ease-in-out 0s;
}

.al-fld .pwdtog{
  position:absolute;right:6px;top:33px;
  background:none;border:0;padding:8px 11px;
  font-size:10.5px;font-weight:700;letter-spacing:.06em;color:#7b8794;
  cursor:pointer;border-radius:7px;transition:all .15s;font-family:inherit;
}
.al-fld .pwdtog:hover{color:#1f2933;background:#f4f6f9}

.al-forgot{text-align:right;margin:-4px 0 2px}
.al-forgot a{
  font-size:12.5px;color:#52606d;font-weight:500;text-decoration:none;
  transition:color .15s;
}
.al-forgot a:hover{color:#1f2933}

/* Sign checkboxes (replaces single agree) */
.al-signs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:4px}
@media (max-width:540px){.al-signs{grid-template-columns:1fr}}
.al-signrow{
  display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;
  padding:14px 16px;background:#fafbfc;border:1px solid #eef0f3;border-radius:12px;
  font-size:13px;color:#1f2933;cursor:pointer;text-align:left;font-family:inherit;
  transition:background .12s,border-color .12s,box-shadow .12s;
}
.al-signrow:hover{background:#fff;border-color:#cbd2d9;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.al-signrow.signed{background:#f0fdf4;border-color:#86efac}
.al-signrow .chk{
  flex:none;width:22px;height:22px;border-radius:6px;border:2px solid #cbd2d9;background:#fff;
  display:grid;place-items:center;transition:all .15s;
}
.al-signrow.signed .chk{background:#22c55e;border-color:#22c55e}
.al-signrow .chk svg{width:13px;height:13px;color:#fff;opacity:0;transform:scale(.6);transition:all .2s}
.al-signrow.signed .chk svg{opacity:1;transform:scale(1)}
.al-signrow .nm{flex:1;font-weight:600;color:#1f2933;letter-spacing:-.005em;font-size:13px;line-height:1.3}
.al-signrow .st{display:none}
.al-signrow .arr{display:none}

/* Modal — contract signing */
/* ===== CONTRACT MODAL ===== */
.al-mdl{
  position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;
  background:rgba(5,8,15,.72);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  padding:20px;animation:al-mfade .2s ease-out both;
}
.al-mdl.open{display:flex}
@keyframes al-mfade{from{opacity:0}to{opacity:1}}

/* Outer paper wrapper — gives document depth */
.al-mdc{
  width:100%;max-width:860px;max-height:calc(100vh - 40px);
  display:flex;flex-direction:column;
  border-radius:6px;overflow:hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 4px 6px rgba(0,0,0,.12),
    0 20px 60px -10px rgba(0,0,0,.55),
    0 60px 120px -30px rgba(0,0,0,.35);
  animation:al-mrise .3s cubic-bezier(.16,1,.3,1) both;
}
@keyframes al-mrise{from{opacity:0;transform:translateY(24px) scale(.98)}to{opacity:1;transform:none}}

/* ── Document header — official letterhead ── */
.al-mhead{
  flex:none;
  background:linear-gradient(135deg,#0f1623 0%,#1a2236 60%,#1e2840 100%);
  border-bottom:3px solid #FFC806;
  padding:0;
  display:flex;flex-direction:column;
  position:relative;overflow:hidden;
}
/* Subtle diagonal pattern */
.al-mhead::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:repeating-linear-gradient(
    -45deg,transparent,transparent 24px,
    rgba(255,255,255,.012) 24px,rgba(255,255,255,.012) 25px
  );
}
/* Top strip with close + meta */
.al-mhead-top{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 24px 0;position:relative;z-index:1;
}
.al-mhead .ttx{padding:16px 24px 20px;position:relative;z-index:1}
.al-mhead .lbl{
  font-size:9.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:#FFC806;margin-bottom:6px;display:flex;align-items:center;gap:8px;
}
.al-mhead .lbl::before{
  content:'';display:inline-block;width:18px;height:1.5px;background:#FFC806;border-radius:1px;
}
.al-mhead h3{
  font-size:22px;font-weight:700;letter-spacing:-.02em;color:#fff;line-height:1.2;
}
.al-mhead .ver{
  font-size:11px;color:rgba(255,255,255,.38);margin-top:6px;font-weight:500;
  display:flex;align-items:center;gap:12px;
}
.al-mhead .ver span{display:flex;align-items:center;gap:4px}
.al-mclose{
  flex:none;width:32px;height:32px;border:1px solid rgba(255,255,255,.12);
  border-radius:8px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.5);
  cursor:pointer;display:grid;place-items:center;transition:all .15s;
}
.al-mclose:hover{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.25)}
.al-mclose svg{width:15px;height:15px}

/* Read progress bar (sits right on bottom edge of header) */
.al-mreadprog{
  height:3px;background:rgba(255,255,255,.08);flex:none;
}
.al-mreadprog .fil{
  height:100%;background:linear-gradient(90deg,#FFC806,#FFD740);
  width:0;transition:width .12s;
  box-shadow:0 0 8px rgba(255,200,6,.6);
}

/* ── Document body — paper feel ── */
.al-mbody{
  flex:1;overflow-y:auto;
  background:#fefdf8;
  padding:32px 40px;
  font-size:13.5px;line-height:1.75;color:#2d3748;
  background-image:
    linear-gradient(rgba(255,200,6,.025) 1px, transparent 1px);
  background-size:100% 28px;
}
.al-mbody::-webkit-scrollbar{width:6px}
.al-mbody::-webkit-scrollbar-track{background:#f1ede0}
.al-mbody::-webkit-scrollbar-thumb{background:#d4c89a;border-radius:3px}

.al-mbody section{
  margin-bottom:24px;padding-bottom:24px;
  border-bottom:1px solid rgba(180,160,100,.18);
}
.al-mbody section:last-child{border-bottom:none;margin-bottom:0}

.al-mbody h4{
  display:flex;align-items:center;gap:12px;
  font-size:14px;font-weight:700;color:#0f1623;
  margin-bottom:10px;letter-spacing:-.01em;
}
.al-mbody h4 .n{
  flex:none;min-width:26px;height:26px;border-radius:6px;
  background:#0f1623;color:#FFC806;
  display:grid;place-items:center;
  font-size:11px;font-weight:800;letter-spacing:.02em;padding:0 7px;
}
.al-mbody p{font-size:13px;line-height:1.78;margin-bottom:10px;color:#3d4a5c;text-align:justify}
.al-mbody ul{margin:8px 0 12px 0;list-style:none;padding:0}
.al-mbody li{
  font-size:13px;line-height:1.7;margin-bottom:5px;padding-left:20px;color:#3d4a5c;
  position:relative;
}
.al-mbody li::before{
  content:'—';position:absolute;left:0;color:#FFC806;font-weight:700;font-size:12px;
}

/* ── Party info block ── */
.al-mparty{
  margin-bottom:28px;
  border:1px solid rgba(180,160,80,.35);
  border-left:4px solid #FFC806;
  border-radius:0 8px 8px 0;
  background:linear-gradient(135deg,#fffdf0 0%,#fff8d6 100%);
  padding:0;overflow:hidden;
}
.al-mparty .ttl{
  font-size:9.5px;font-weight:800;color:#7a5f00;
  letter-spacing:.14em;text-transform:uppercase;
  padding:10px 18px;
  background:rgba(255,200,6,.12);
  border-bottom:1px solid rgba(180,160,80,.2);
  display:flex;align-items:center;gap:8px;
}
.al-mparty .ttl svg{width:13px;height:13px;color:#c48a00}
.al-mparty .grid{
  display:grid;grid-template-columns:auto 1fr;
  gap:0;font-size:12.5px;
}
@media (max-width:520px){.al-mparty .grid{grid-template-columns:1fr}}
.al-mparty .grid .k{
  color:#8a6f20;font-weight:600;
  padding:8px 18px;
  border-bottom:1px solid rgba(180,160,80,.12);
  white-space:nowrap;
}
.al-mparty .grid .v{
  color:#1a2030;font-weight:700;
  padding:8px 18px 8px 12px;
  border-bottom:1px solid rgba(180,160,80,.12);
  border-left:1px solid rgba(180,160,80,.15);
  word-break:break-all;
}
.al-mparty .grid .k:last-of-type,
.al-mparty .grid .v:last-child{border-bottom:none}
.al-mparty .grid .v .empty{color:#b8a878;font-style:italic;font-weight:500}

/* ── Acceptance statement ── */
.al-macc{
  margin-top:32px;padding:20px 24px;
  background:#0f1623;color:#e2e8f0;border-radius:8px;
  font-size:12.5px;line-height:1.7;
  border-left:4px solid #FFC806;
  position:relative;
}
.al-macc::before{
  content:'"';position:absolute;top:8px;right:16px;
  font-size:64px;line-height:1;color:rgba(255,200,6,.12);font-family:Georgia,serif;
}
.al-macc b{color:#FFC806;font-weight:700}

/* ── Footer — signing area ── */
.al-mfoot{
  flex:none;padding:0;
  border-top:2px solid #e8e2cc;
  background:#f5f0e0;
}

/* Read gate notice */
.al-mfoot .gate{
  display:flex;align-items:center;gap:10px;
  padding:12px 24px;
  background:#f5f0e0;
  border-bottom:1px solid #e0d9c4;
  font-size:12px;color:#7a6a40;line-height:1.5;
}
.al-mfoot .gate svg{flex:none;width:14px;height:14px;color:#b8a458}
.al-mfoot .gate.ready{
  background:linear-gradient(90deg,#f0fdf4,#f5f0e0);
  color:#166534;border-bottom-color:#bbf7d0;
}
.al-mfoot .gate.ready svg{color:#22c55e}

/* Signature area */
.al-msigwrap{padding:20px 24px 0;border-bottom:1px solid #e0d9c4}
.al-msigwrap .lab{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;
}
.al-msigwrap .lab label{
  font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8a7840;
}
.al-msigwrap .clr{
  font-size:11px;font-weight:600;color:#9b2519;background:none;border:0;cursor:pointer;
  padding:4px 9px;border-radius:6px;transition:background .12s;display:flex;align-items:center;gap:4px;
}
.al-msigwrap .clr:hover{background:#fef2f2}
.al-msigwrap .clr svg{width:11px;height:11px}

.al-mcanvbox{
  border:2px dashed #c8bb8a;border-radius:6px;background:#fffef5;
  position:relative;overflow:hidden;transition:border-color .15s,box-shadow .15s;
}
.al-mcanvbox.has-ink{
  border-color:#22c55e;border-style:solid;
  box-shadow:0 0 0 3px rgba(34,197,94,.1);
}
.al-mcanvbox canvas{display:block;width:100%;height:130px;cursor:crosshair;touch-action:none}
.al-mcanvph{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:6px;
  pointer-events:none;color:#b8a860;font-size:12.5px;font-weight:500;
}
.al-mcanvph::before{
  content:'';position:absolute;bottom:28px;left:10%;right:10%;
  height:1px;background:rgba(180,160,80,.35);
}
.al-mcanvph svg{width:18px;height:18px;opacity:.5}
.al-mcanvbox.has-ink .al-mcanvph{display:none}

/* Submit row */
.al-mform{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 24px 20px;gap:12px;
}
.al-mform-hint{font-size:11px;color:#9a8c60;line-height:1.4;max-width:300px}
.al-mbtn{
  flex:none;height:46px;padding:0 28px;border:0;border-radius:8px;cursor:pointer;
  background:linear-gradient(135deg,#1a2236,#0f1623);
  color:#fff;font-family:inherit;font-size:13.5px;font-weight:700;letter-spacing:-.005em;
  display:inline-flex;align-items:center;gap:8px;
  transition:all .15s;
  box-shadow:0 2px 8px rgba(10,14,30,.25),0 1px 0 rgba(255,255,255,.06) inset;
}
.al-mbtn:hover{background:linear-gradient(135deg,#253250,#1a2236);box-shadow:0 4px 16px rgba(10,14,30,.35)}
.al-mbtn[disabled]{opacity:.35;cursor:not-allowed}
.al-mbtn svg{width:15px;height:15px}

@media (max-width:560px){
  .al-mdl{padding:10px}
  .al-mdc{max-height:calc(100vh - 20px);border-radius:4px}
  .al-mhead .ttx{padding:12px 18px 16px}
  .al-mhead h3{font-size:18px}
  .al-mbody{padding:20px 18px;background-image:none}
  .al-mfoot .gate{padding:10px 18px}
  .al-msigwrap{padding:16px 18px 0}
  .al-mform{flex-direction:column;align-items:stretch;padding:14px 18px 18px}
  .al-mform-hint{display:none}
  .al-mbtn{justify-content:center}
}


/* CTA — Yandex sariq, refined */
.al-cta{
  width:100%;height:54px;border:0;border-radius:13px;cursor:pointer;
  background:linear-gradient(180deg,#FFC806 0%,#FFB800 100%);color:#1f2933;
  font-family:inherit;
  font-size:14.5px;font-weight:700;letter-spacing:-.005em;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  margin-top:14px;position:relative;overflow:hidden;
  transition:transform .12s,box-shadow .15s,filter .15s;
  box-shadow:
    0 1px 0 rgba(0,0,0,.05) inset,
    0 1px 0 rgba(255,255,255,.4) inset,
    0 1px 2px rgba(31,41,51,.06),
    0 6px 16px -6px rgba(255,200,6,.55);
}
.al-cta:hover{filter:brightness(1.03);box-shadow:0 1px 0 rgba(0,0,0,.05) inset,0 1px 0 rgba(255,255,255,.4) inset,0 1px 2px rgba(31,41,51,.06),0 10px 22px -6px rgba(255,200,6,.65)}
.al-cta:active{transform:translateY(1px)}
.al-cta[disabled]{opacity:.6;cursor:not-allowed}
.al-cta .arr{transition:transform .2s}
.al-cta:hover .arr{transform:translateX(3px)}
.al-cta .spin{display:none;width:16px;height:16px;border:2.5px solid rgba(31,41,51,.2);border-top-color:#1f2933;border-radius:50%;animation:al-rot .7s linear infinite}
.al-cta.loading .lbl,.al-cta.loading .arr{display:none}
.al-cta.loading .spin{display:inline-block}
@keyframes al-rot{to{transform:rotate(360deg)}}

/* Footer — fixed at bottom of viewport */
.al-foot{
  position:fixed;left:0;right:0;bottom:0;z-index:3;
  padding:14px 16px 18px;
  font-size:12.5px;color:#7b8794;text-align:center;
  background:linear-gradient(180deg,rgba(244,246,249,0) 0%,rgba(244,246,249,.85) 50%,#f4f6f9 100%);
  pointer-events:none;
}
.al-foot > *{pointer-events:auto}
.al-foot a{color:#52606d;text-decoration:none;margin:0 4px;transition:color .15s}
.al-foot a:hover{color:#1f2933}
.al-foot .row{margin-top:4px}

.al-hp{position:absolute;left:-9999px;top:-9999px;height:0;width:0;opacity:0;tabindex:-1;pointer-events:none}

/* Divider with text */
.al-div{position:relative;text-align:center;margin:18px 0 14px;font-size:11.5px;font-weight:600;color:#9aa5b1;letter-spacing:.06em;text-transform:uppercase}
.al-div::before,.al-div::after{content:'';position:absolute;top:50%;width:calc(50% - 22px);height:1px;background:#e7ecf0}
.al-div::before{left:0}.al-div::after{right:0}

/* Yandex OAuth button (legacy single) */
.al-yox{
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;height:46px;border:1px solid #e7ecf0;border-radius:11px;
  background:#fff;color:#0a0e14;font:inherit;font-size:13.5px;font-weight:600;
  cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s;
  text-decoration:none;
}
.al-yox:hover{border-color:#0a0e14;background:#fbfbfc;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.al-yox .ymk{
  width:22px;height:22px;border-radius:6px;background:#FC3F1D;color:#fff;
  display:grid;place-items:center;font-weight:800;font-size:13px;
}

/* SSO row — Google + Yandex yonma-yon (50/50) */
.al-ssoRow{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.al-sso{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;height:50px;border:1px solid #e7ecf0;border-radius:12px;
  background:#fff;color:#0a0e14;font:inherit;font-size:13.5px;font-weight:600;
  cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s;
  text-decoration:none;padding:0 10px;
}
.al-sso:hover{border-color:#0a0e14;background:#fbfbfc;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.al-sso .al-ssoIc{flex:none}
.al-sso.al-yan .ymk{
  width:22px;height:22px;border-radius:6px;background:#FC3F1D;color:#fff;
  display:grid;place-items:center;font-weight:800;font-size:13px;
}

/* ----- 2FA tasdiqlash kodi maydoni ----- */
.al-codef input{
  font-family:'SF Mono',ui-monospace,'Courier New',monospace !important;
  font-size:26px !important;font-weight:700 !important;
  letter-spacing:.42em !important;text-align:center !important;
  padding-left:14px !important;padding-right:14px !important;
  height:58px !important;
}
.al-codef input::placeholder{color:#cbd5e1;letter-spacing:.42em}

.al-resend{
  text-align:center;font-size:13px;color:#64748b;
  margin-top:14px;display:flex;align-items:center;justify-content:center;gap:6px;
}
.al-resend form{display:inline}
.al-resend button{
  background:transparent;border:0;padding:0;cursor:pointer;
  color:#0f172a;font-weight:600;font-size:13px;font-family:inherit;
  text-decoration:none;
}
.al-resend button:hover{text-decoration:underline}
