/* TrendLis — Auth sayfaları (giriş / kayıt). */

.auth-wrap { display: flex; justify-content: center; padding: 32px 18px 48px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.auth-title { font-size: 24px; font-weight: 800; line-height: 1.15; color: var(--ink); margin: 4px 0 20px; }

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field > span { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.auth-field > span small { font-weight: 400; color: var(--muted); }
.auth-field input {
  border: 1px solid var(--border-3); border-radius: var(--r-md); padding: 12px 14px;
  font-size: 14px; color: var(--ink); background: var(--canvas); outline: none; transition: border-color .15s, box-shadow .15s;
}
.auth-field input:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.auth-form .btn { margin-top: 6px; padding: 13px; }

.auth-error { margin-bottom: 16px; padding: 12px 14px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: var(--r-md); font-size: 13px; }
.auth-alt { margin-top: 18px; text-align: center; font-size: 13px; color: var(--text-soft); }
.auth-alt a { color: var(--indigo-600); font-weight: 600; }

/* Mesaj satırı */
.msg-row { display: flex; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--border); }
.msg-row:hover { background: var(--surface); }

/* Ortak form alanları (textarea / select) */
.auth-field textarea, .auth-field select {
  border: 1px solid var(--border-3); border-radius: var(--r-md); padding: 12px 14px; font-size: 14px;
  color: var(--ink); background: var(--canvas); outline: none; font-family: var(--font-ui); transition: border-color .15s, box-shadow .15s;
}
.auth-field textarea { resize: vertical; min-height: 90px; }
.auth-field textarea:focus, .auth-field select:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.auth-field .field-error { font-size: 12px; color: #b91c1c; }
.auth-ok { margin-bottom: 16px; padding: 12px 14px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; border-radius: var(--r-md); font-size: 13px; }
