/* ===================================================================
   auth.css — login / register split-screen layout
   =================================================================== */

.auth-body { min-height: 100vh; }
.auth-shell { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }

/* ---- Left aside (brand / value prop) ---- */
.auth-aside {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 44px;
    background:
        radial-gradient(90% 60% at 10% 0%, rgba(74,108,255,.28), transparent 60%),
        radial-gradient(70% 60% at 100% 100%, rgba(128,160,255,.18), transparent 60%),
        linear-gradient(180deg, var(--bg-elevated), var(--surface));
    border-right: 1px solid var(--border);
}
.auth-aside .brand__word { color: var(--text); }
.auth-aside__copy { max-width: 420px; }
.auth-aside__copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.2; }
.auth-points { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.auth-points li { position: relative; padding-left: 30px; color: var(--text-muted); }
.auth-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--success-soft); color: #7ee6a8; font-size: .72rem; font-weight: 800; }
.auth-aside__foot { font-size: .84rem; }

/* ---- Right main (form) ---- */
.auth-main { display: flex; align-items: center; justify-content: center; padding: 44px 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-head { margin-bottom: 26px; }
.auth-head h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.auth-head p { margin-top: 8px; }
.auth-form { margin-top: 6px; }
.auth-form .btn { margin-top: 8px; }
.auth-form .check { margin: 4px 0 18px; }
.auth-alt { text-align: center; margin-top: 22px; color: var(--text-muted); font-size: .93rem; }

/* ---- Password toggle ---- */
.pw-toggle {
    position: absolute; right: .8rem; top: 50%; transform: translateY(-50%);
    background: none; border: 0; cursor: pointer; font-size: 1.05rem; opacity: .7;
    padding: 4px;
}
.pw-toggle:hover { opacity: 1; }
.input-group .input[type="password"], .input-group .input[type="tel"], .input-group .input[type="text"] { padding-right: 2.8rem; }

@media (max-width: 860px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
    .auth-main { min-height: 100vh; }
}
