.nav-hint { color: var(--muted); font-size: .85rem; }

.auth-wrap {
  min-height: calc(100vh - 66px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; background: var(--bg-2);
}
.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 36px;
  width: 100%; max-width: 400px;
  box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-card .auth-sub { font-size: .9rem; color: var(--muted); margin-bottom: 28px; }

.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: .78rem; font-weight: 600; color: var(--text-2); }
.form-field input {
  background: var(--bg-2); border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm); padding: 10px 14px;
  font-size: .9rem; color: var(--text); font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }

.auth-submit {
  width: 100%; padding: 12px; margin-top: 8px;
  background: var(--accent); color: #fff; border: none;
  border-radius: 100px; font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s;
  box-shadow: 0 2px 12px rgba(91,91,214,.25);
}
.auth-submit:hover { background: var(--accent-2); box-shadow: 0 4px 18px rgba(91,91,214,.35); transform: translateY(-1px); }
.auth-submit:active { transform: translateY(0); }

.auth-footer { margin-top: 20px; text-align: center; font-size: .85rem; color: var(--muted); }
.auth-footer a { color: var(--accent); font-weight: 600; }

.flash-msg {
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .85rem; margin-bottom: 16px;
  background: var(--accent-bg); color: var(--accent); border: 1px solid rgba(91,91,214,.2);
}
.flash-msg.error { background: #fff1f1; color: var(--danger); border-color: rgba(224,68,68,.2); }
