/* auth.css — /account/login, /account/register, /account/forgot (account/_auth_layout.php). */
.acx { padding: 56px 16px 80px; background: radial-gradient(900px 400px at 100% 0, rgba(59,130,246,.10), transparent 60%), var(--bg, #f8fafc); }
.acx-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); border-radius: 22px; overflow: hidden; background: var(--surface, #fff); border: 1px solid var(--border, #e5e7eb); box-shadow: 0 20px 60px rgba(15,23,42,.08); }
.acx-card { padding: 44px 48px; }
.acx-card h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; color: var(--text, #0f172a); }
.acx-lead { color: var(--muted, #64748b); margin-bottom: 24px; }
.acx-form { display: grid; gap: 16px; }
.acx-field label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--text, #0f172a); }
.acx-field label a, .acx-field label small { font-weight: 500; font-size: .82rem; }
.acx-field label small { color: var(--muted, #64748b); }
.acx .form-control { height: 48px; border-radius: 11px; font-size: 1rem; }
.acx-pass { position: relative; }
.acx-pass .form-control { padding-right: 48px; }
.acx-pass button { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted, #64748b); }
.acx-pass button:hover { background: rgba(100,116,139,.12); }
.acx-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted, #475569); cursor: pointer; }
.acx-check input { margin-top: 4px; width: 17px; height: 17px; accent-color: #2563eb; }
.acx .btn-lg { height: 50px; border-radius: 11px; font-weight: 700; }
.acx-foot { text-align: center; margin: 4px 0 0; color: var(--muted, #64748b); font-size: .95rem; }
.acx-foot a { font-weight: 700; }
.acx-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 11px; margin-bottom: 16px; font-size: .93rem; }
.acx-alert.is-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.acx-alert.is-ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.acx-alert i { margin-top: 3px; }
.acx-side { padding: 44px 40px; color: #fff; background: radial-gradient(600px 300px at 100% 0, rgba(56,189,248,.35), transparent 60%), linear-gradient(150deg, #1d4ed8, #312e81 70%, #1e1b4b); display: flex; flex-direction: column; }
.acx-side h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 0 0 22px; }
.acx-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.acx-side li { display: flex; gap: 14px; line-height: 1.5; color: rgba(255,255,255,.88); }
.acx-side li i { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; }
.acx-side li b { color: #fff; }
.acx-side-foot { margin-top: auto; padding-top: 26px; color: rgba(255,255,255,.8); }
.acx-side-foot a { color: #fff; font-weight: 700; }
html.dark .acx-alert.is-error { background: rgba(239,68,68,.1); color: #fca5a5; border-color: rgba(239,68,68,.3); }
html.dark .acx-alert.is-ok { background: rgba(34,197,94,.1); color: #86efac; border-color: rgba(34,197,94,.3); }
@media (max-width: 860px) { .acx-grid { grid-template-columns: 1fr; } .acx-side { display: none; } .acx-card { padding: 32px 22px; } .acx { padding: 28px 12px 56px; } }
main.acx .acx-side h2 { color: #fff !important; }
main.acx .acx-check { display: block; padding-left: 27px; position: relative; }
main.acx .acx-check input { position: absolute; left: 0; top: 0; margin-top: 3px; }
