/* شاشة الدخول والتسجيل والقفل */
.auth { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.auth-box { width: min(420px, 100%); display: grid; gap: 22px; }
.auth-brand { text-align: center; }
.auth-brand .logo { font-size: clamp(76px, 18vw, 120px); line-height: 1.1; margin: 0; }
.auth-brand p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.auth-card { display: grid; gap: 16px; padding: 26px; border-radius: var(--r-xl); }
.auth-card h2 { margin: 0; font-size: 22px; }
.auth-card .btn { min-height: 48px; }
.err { color: var(--red-hi); margin: 0; min-height: 1.2em; font-size: 14px; }
.switch { margin: 0; text-align: center; color: var(--muted); }
.switch a { color: var(--red-hi); font-weight: 700; }

/* قفل التطبيق */
.lock { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(5,5,7,.86); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.lock-box { display: grid; justify-items: center; gap: 18px; padding: 24px; }
.lock-box .logo { font-size: 56px; }
.pin-dots { display: flex; gap: 14px; direction: ltr; }
.pin-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--edge-hi); }
.pin-dots i.on { background: var(--red); border-color: var(--red-hi); box-shadow: 0 0 10px var(--red-glow); }
.pin-dots.shake { animation: shake-x .35s; }
.pad-keys { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px; direction: ltr; }
.pad-keys button { height: 72px; border-radius: 50%; font-size: 26px; font-weight: 600; background: linear-gradient(180deg, var(--glass-3), var(--glass)); border: 1px solid var(--edge); box-shadow: var(--depth-sm); }
.pad-keys button:active { transform: scale(.94); }
.pad-keys .blank { visibility: hidden; }
@keyframes shake-x { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }

/* نسيت كلمة المرور */
.hint-sm { margin: -4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.hint-sm b { color: var(--ink); }
.forgot { margin: -6px 0 0; font-size: 14px; }
.forgot a { color: var(--red-hi); font-weight: 600; }
.code-input { text-align: center; font-size: 26px; letter-spacing: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
