/* Lumorra – belépés / regisztráció (styles.css tokenekre építve) */

.auth-body { background: var(--bg-soft); min-height: 100vh; }

.auth-main { display: grid; place-items: center; padding: 2.5rem 1rem 3.5rem; }

.auth-card {
  width: 100%; max-width: 440px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.6rem 1.6rem 1.3rem;
}

.auth-tabs { display: flex; gap: .4rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: .3rem; margin-bottom: 1.3rem; }
.auth-tab { flex: 1; border: 0; background: none; cursor: pointer; font-family: inherit; font-size: .95rem; font-weight: 700; color: var(--ink-soft); padding: .55rem; border-radius: 999px; }
.auth-tab.active { background: #fff; color: var(--brand-darker); box-shadow: var(--shadow-soft); }

.auth-form { display: none; flex-direction: column; gap: .9rem; }
.auth-form.active { display: flex; }
.auth-lead { margin: 0 0 .2rem; color: var(--ink-soft); font-size: .92rem; }

.auth-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.auth-form label small { font-weight: 500; color: var(--ink-soft); }
.auth-form input[type="email"],
.auth-form input[type="text"],
.auth-form input[type="password"] {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .65rem .8rem;
  font-size: .98rem; font-family: inherit; color: var(--ink); background: #fff;
}
.auth-form select {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .65rem .7rem;
  font-size: .98rem; font-family: inherit; color: var(--ink); background: #fff;
}
.auth-form input:focus, .auth-form select:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 400px) { .auth-row { grid-template-columns: 1fr; } }

.check { flex-direction: row !important; align-items: flex-start; gap: .5rem; font-weight: 500; color: var(--ink-soft); font-size: .85rem; }
.check input { margin-top: .15rem; accent-color: var(--brand); }
.check a { font-weight: 600; }

.field-error { margin: 0; color: #b23a3a; background: #fdecec; border: 1px solid #f3b8b8; border-radius: var(--radius-sm); padding: .5rem .7rem; font-size: .85rem; font-weight: 600; }

.auth-submit { width: 100%; margin-top: .2rem; }
.auth-alt { margin: 0; text-align: center; font-size: .88rem; }
.auth-note { margin: 0; font-size: .82rem; color: var(--ink-soft); }
.auth-legal { margin: 1.2rem 0 0; text-align: center; font-size: .78rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: .9rem; }
