/* ===== Auth Overlay ===== */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
}

.auth-overlay.hidden { display: none; }

.auth-card {
  width: min(90vw, 380px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-600);
  margin-bottom: 0.25rem;
}

.auth-subtitle {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.auth-toggle {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-900);
}

.auth-toggle label { cursor: pointer; display: flex; align-items: center; gap: 0.3rem; }
.auth-toggle input[type="radio"] { accent-color: var(--teal-500); }

.auth-form input[type="email"],
.auth-form input[type="password"] {
  display: block;
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  font-family: var(--font-stack);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s;
}

.auth-form input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 2px var(--teal-100);
}

.auth-btn {
  display: block;
  width: 100%;
  padding: 0.65rem;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-stack);
  color: var(--white);
  background: var(--teal-500);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.auth-btn:hover { background: var(--teal-600); }

.auth-message {
  margin-top: 1rem;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.auth-error { color: var(--gray-900); background: var(--gray-200); padding: 0.5rem; border-radius: 4px; }
.auth-success { color: var(--teal-600); }
