/* Log in, sign up, forgot and set password: one centered column on the lyrics color. */

body.auth {
  display: grid;
  place-items: center;
  padding: 48px 16px;
}
body.auth::before,
body.auth::after { display: none; }

.auth-card {
  width: min(24rem, 100%);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 1rem;
}
.auth-brand .lyr-cover { width: 44px; height: 44px; cursor: default; }
.auth-brand .lyr-cover:hover { transform: none; }
.auth-brand .eq { height: 18px; }

.auth h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.auth-lead {
  margin: 0 0 28px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}
.auth-lead strong { color: var(--ink); overflow-wrap: anywhere; }

.auth form { display: grid; gap: 16px; }

.field { display: grid; gap: 6px; }
.field span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.field input {
  width: 100%;
  padding: 14px 16px;
  font: 500 1rem var(--font);
  color: var(--ink);
  background: var(--bg-raise);
  border: 1px solid transparent;
  border-radius: 8px;
  transition: border-color 0.2s, background-color 0.2s;
}
.field input::placeholder { color: var(--muted); opacity: 0.7; }
.field input:hover { border-color: var(--rule); }
.field input:focus { outline: none; border-color: var(--ink); }
.field small { font-size: 0.78rem; font-weight: 500; color: var(--muted); }

.auth-submit {
  margin-top: 8px;
  padding: 15px 20px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--pop-ink);
  background: var(--pop);
  border-radius: 999px;
  transition: transform 0.15s var(--ease), opacity 0.2s;
}
.auth-submit:hover { transform: scale(1.02); }
.auth-submit:disabled { opacity: 0.6; cursor: progress; transform: none; }

.auth-error {
  margin: 20px 0 0;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pop-error);
  background: var(--pop);
  border-radius: 8px;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 28px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}
.auth a { color: var(--ink); text-underline-offset: 3px; }
.auth a:hover { text-decoration-thickness: 2px; }
.auth-links .muted { color: var(--muted); font-weight: 500; }
