/* ── Auth / Login page ────────────────────────────────────────── */
.auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 2rem 1.25rem;
  text-align: center;
}

.auth-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    #ff3d3d,
    #ff8c00,
    #ffe600,
    #00e676,
    #00b0ff,
    #d500f9,
    #ff3d3d
  );
  background-size: 300% 100%;
  animation: hue-shift 10s linear infinite;
}

.auth-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  background: linear-gradient(
    90deg,
    #ff3d3d,
    #ff8c00,
    #ffe600,
    #00e676,
    #00b0ff,
    #d500f9,
    #ff3d3d
  );
  background-size: 300% 100%;
  animation: hue-shift 10s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-tagline {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.auth-tabs {
  display: flex;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 320px;
}

.auth-tab {
  flex: 1;
  padding: 0.5rem 0;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.auth-tab.active {
  background: var(--accent);
  color: #000;
}

.auth-panel {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.auth-panel form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}
.auth-input:focus {
  border-color: var(--accent);
}
.auth-input::placeholder {
  color: var(--muted);
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-google:hover {
  background: var(--border);
  opacity: 1;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
