/* Belépés, regisztráció, jelszó-helyreállítás (redesign 12. csomag, terv: #belepes). */

.auth-page { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(28px, 4vw, 64px); align-items: center; max-width: 1160px; padding-top: clamp(24px, 4vw, 48px); }
.auth-single { grid-template-columns: minmax(0, 520px); justify-content: center; }

.auth-intro { display: flex; flex-direction: column; gap: 22px; }
.auth-title { margin: 0; font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.auth-intro .lead { margin: 0; max-width: 440px; }
.auth-benefits { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 15.5px; color: var(--text); }
.auth-benefits li { display: flex; align-items: center; gap: 12px; line-height: 1.45; }
.auth-tick { width: 26px; height: 26px; flex: none; border-radius: 999px; background: var(--surface-soft); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; }

.auth-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: 0 24px 60px rgba(var(--navy-rgb), .08); min-width: 0; }
.auth-card .front-form { gap: 16px; }
.auth-card-title { margin: 0; font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.auth-card > p { margin: 0; }
.auth-tabs { display: flex; padding: 5px; border-radius: 999px; background: var(--surface-soft); }
.auth-tab { flex: 1; padding: 11px 0; border-radius: 999px; text-align: center; font-size: 15px; font-weight: 600; color: var(--text); transition: background var(--ease), color var(--ease); }
.auth-tab:hover { color: var(--primary-dark); }
.auth-tab.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 4px 12px rgba(var(--navy-rgb), .10); }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; font-size: 14px; }
.auth-row a { font-weight: 600; }
.auth-foot { margin: 0; font-size: 13.5px; text-align: center; }
.auth-foot a { font-weight: 600; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.auth-back:hover { color: var(--primary-dark); }
/* Mobilon (egy oszlop) az űrlap kerül előre, a bemutató utána — ne kelljen görgetni a belépéshez. */
@media (max-width: 860px) { .auth-card { order: -1; } }
@media (max-width: 560px) { .auth-card { border-radius: var(--radius-lg); box-shadow: none; } }

/* üzenetoldal */
.auth-message { align-items: center; text-align: center; }
.auth-message-icon { width: 72px; height: 72px; border-radius: 999px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.auth-message-icon.is-error { background: var(--danger); }
.auth-message p { font-size: 16px; color: var(--text); }
.auth-message-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
