/* ── Auth Screen ─────────────────────────────────────────────────── */
#auth-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--auth-g1) 0%, var(--auth-g2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.auth-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px;
  width: 380px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 4px;
}

.auth-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.auth-card label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  margin-top: 16px;
}

.auth-card input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}

.auth-card input:focus {
  border-color: var(--primary);
}

.auth-err {
  color: var(--danger);
  font-size: 0.85rem;
  min-height: 20px;
  margin-top: 10px;
  text-align: center;
}

.btn-primary {
  width: 100%;
  padding: 11px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.87rem;
  cursor: pointer;
  margin-top: 12px;
  display: block;
  text-align: center;
  text-decoration: underline;
  width: 100%;
}

.btn-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.verify-text {
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.5;
  word-break: break-all;
}

.theme-fab {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #fff;
  font-size: 1.05rem;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.theme-fab:hover {
  background: rgba(255, 255, 255, 0.3);
}
