/* Pantalla de acceso */
.auth-body-bg { padding: 0; background: var(--nav); }
.auth-page { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-card { width: 100%; max-width: 400px; padding: 36px 32px 28px; background: var(--panel); border-radius: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-badge { width: 52px; height: 52px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 15px; background: var(--primary); color: #fff; font: 700 19px var(--font-title); }
.auth-title { margin: 0; font-size: 23px; }
.auth-sub { margin-top: 6px; color: var(--muted); }
.auth-card .input { min-height: 48px; font-size: 16px; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap #password { padding-right: 84px; }
.pw-toggle { position: absolute; right: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--soft); color: var(--primary2); font: 600 12.5px var(--font); cursor: pointer; }
.auth-actions { margin-top: 22px; }
.auth-actions .btn { width: 100%; min-height: 48px; font-size: 15px; }
.auth-foot { margin-top: 24px; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.btn-primary.btn-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn-primary.btn-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
