/* PET-EDU — kirish va o'rnatish sahifalari */
body.auth { background: #fff; }
.auth-wrap { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; min-height: 100dvh; }
.auth-art { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 90% 0%, #2a1f6e 0%, transparent 60%), var(--ink); color: #fff; padding: 2.5rem 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.auth-art .hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.auth-art .a1 { width: 380px; height: 380px; background: #6366f1; opacity: .45; top: -100px; right: -60px; }
.auth-art .a2 { width: 300px; height: 300px; background: #ec4899; opacity: .25; bottom: -100px; left: 10%; }
.auth-art-body { position: relative; max-width: 520px; }
.auth-traj { width: 100%; max-width: 420px; margin-bottom: 2rem; overflow: visible; }
.auth-path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: adraw 2s cubic-bezier(.6, .1, .2, 1) .2s forwards; }
@keyframes adraw { to { stroke-dashoffset: 0; } }
.auth-dot { opacity: 0; animation: apop .5s ease forwards; transform-box: fill-box; transform-origin: center; }
@keyframes apop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
.auth-title { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 1rem; }
.auth-lead { color: rgba(255, 255, 255, .7); font-size: 1.1rem; margin-bottom: 1.8rem; }
.auth-steps { display: flex; flex-wrap: wrap; gap: .5rem; }
.auth-steps span { display: inline-flex; gap: .4rem; align-items: center; padding: .45rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; font-weight: 700; color: rgba(255, 255, 255, .85); }
.auth-steps i { color: #c4b5fd; }
.auth-foot { position: relative; font-size: .8rem; color: rgba(255, 255, 255, .45); }

.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.25rem; background: #fff; }
.auth-card { width: 100%; max-width: 420px; }
.seg { display: inline-flex; padding: 5px; background: var(--line-2); border-radius: 14px; gap: 4px; }
.seg button { border: 0; background: transparent; padding: .6rem .9rem; border-radius: 10px; font-weight: 700; color: var(--muted); display: inline-flex; gap: .45rem; align-items: center; justify-content: center; transition: all .2s; }
.seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.auth-tab { display: none; animation: afade .35s ease; }
.auth-tab.active { display: block; }
@keyframes afade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pass-eye { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #98a2b3; font-size: 1.1rem; padding: .3rem .5rem; }
.pass-eye:hover { color: var(--brand); }
.qr-help { background: var(--bg); border-radius: 18px; padding: 1.4rem; }
.qr-help-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1rem; box-shadow: var(--glow); }
.qr-help ol { padding-left: 1.2rem; margin-bottom: 1rem; }
.qr-help li { margin-bottom: .5rem; }
.auth-or { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .8rem; font-weight: 700; margin: 1.8rem 0 1rem; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.demo-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem; border-radius: 14px; border: 1.5px dashed #cfcbfb; color: var(--brand); font-weight: 800; background: var(--brand-50); transition: all .2s; }
.demo-btn:hover { background: #e7e4ff; color: var(--brand-600); border-style: solid; }

/* O'rnatuvchi */
.setup { min-height: 100vh; background: radial-gradient(900px 500px at 90% 0%, #e9e5ff 0%, transparent 60%), var(--bg); padding: 3rem 1rem; }
.setup-card { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 2.2rem; box-shadow: var(--shadow); }
.req { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-weight: 600; font-size: .92rem; }
.req:last-child { border-bottom: 0; }
.req i.ok { color: #16a34a; } .req i.bad { color: #dc2626; }
.req .v { margin-left: auto; color: var(--muted); font-size: .85rem; }

@media (max-width: 991.98px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-form-side { align-items: flex-start; padding-top: 3rem; }
}
