.auth-shell {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.auth-eyebrow {
  margin-bottom: 0.5rem;
}

.auth-title {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.auth-subtitle {
  margin: 0.85rem 0 1.4rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.1rem;
}

.auth-tab {
  border: none;
  background: var(--bg-card);
  color: var(--text-muted);
  padding: 0.65rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.auth-tab.active {
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}

.auth-form {
  display: grid;
  gap: 0.45rem;
}

.auth-label {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.auth-input {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text);
  padding: 0.72rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.auth-input:focus {
  outline: 1px solid rgba(26, 58, 82, 0.35);
  border-color: rgba(26, 58, 82, 0.35);
}

.auth-submit {
  margin-top: 1.1rem;
}

.auth-message {
  min-height: 1.5rem;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-message.error {
  color: var(--danger);
}

.auth-message.success {
  color: var(--success);
}

.hidden {
  display: none;
}
