:root {
  --bg: #08111f;
  --panel: #111827;
  --border: rgba(120, 145, 190, 0.18);
  --text: #eef2ff;
  --muted: #aab6d3;
  --accent: #4da3ff;
  --danger: #ff6b6b;
}
* {
  box-sizing: border-box;
}
body.auth-body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(77, 163, 255, 0.12),
      transparent 26%
    ),
    linear-gradient(180deg, #050812, #0b1220);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
.auth-card {
  width: min(420px, 92vw);
  background: linear-gradient(
    180deg,
    rgba(18, 24, 38, 0.96),
    rgba(10, 14, 26, 0.98)
  );
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.auth-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #8fb7ff;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}
.auth-title {
  margin: 0;
  font-size: 36px;
}
.auth-subtitle {
  color: var(--muted);
  margin: 10px 0 22px;
}
.auth-form {
  display: grid;
  gap: 14px;
}
.auth-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.auth-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f172a;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
}

.auth-button {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(125, 162, 220, 0.28);
  border-radius: 13px;

  background: rgba(77, 163, 255, 0.16);
  /* background: rgba(245, 185, 66, 0.14); */
  /* color: rgba(255, 244, 214, 0.96); */
  color: rgba(238, 242, 255, 0.94);

  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;

  cursor: pointer;
  margin-top: 8px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 18px rgba(0, 0, 0, 0.18);

  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.auth-button:hover {
  background: rgba(77, 163, 255, 0.24);
  border-color: rgba(125, 162, 220, 0.42);
  color: #ffffff;

  /* background: rgba(245, 185, 66, 0.22);
  border-color: rgba(245, 185, 66, 0.42);
  color: #fff7df; */

  transform: translateY(-1px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.auth-button:active {
  transform: translateY(0);
  background: rgba(77, 163, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 5px 14px rgba(0, 0, 0, 0.18);

  /* background: rgba(245, 185, 66, 0.17);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 5px 14px rgba(0, 0, 0, 0.18); */
}

.auth-button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(77, 163, 255, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.18);
  /* box-shadow:
    0 0 0 3px rgba(245, 185, 66, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.18); */
}

.auth-error {
  margin-bottom: 14px;
  background: rgba(255, 107, 107, 0.1);
  color: #ffb4b4;
  border: 1px solid rgba(255, 107, 107, 0.24);
  border-radius: 12px;
  padding: 12px 14px;
}

/* auth user */

.auth-footer {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

.auth-footer a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-alert {
  margin: 16px 0;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.auth-alert-error {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.42);
  border: 1px solid rgba(248, 113, 113, 0.32);
}

.auth-alert-success {
  color: #bbf7d0;
  background: rgba(20, 83, 45, 0.42);
  border: 1px solid rgba(74, 222, 128, 0.32);
}

.auth-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.auth-footer-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-footer-stack div {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.auth-success {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: #bbf7d0;
  background: rgba(20, 83, 45, 0.42);
  border: 1px solid rgba(74, 222, 128, 0.32);
}
