.auth-page {
  --auth-bg-1: #0b1120;
  --auth-bg-2: #161f38;
  --auth-card: rgba(24, 33, 58, 0.72);
  --auth-border: rgba(255, 255, 255, 0.09);
  --auth-text: #eef1f8;
  --auth-muted: #8a93ad;
  --auth-primary: #6f4bf0;
  --auth-primary-dark: #512bd4;
  --auth-gold: #f0b429;
  --auth-danger: #ff8080;

  min-height: 100vh;
  background:
    radial-gradient(60% 55% at 18% 12%, rgba(111, 75, 240, 0.30), transparent 60%),
    radial-gradient(55% 50% at 88% 85%, rgba(240, 180, 41, 0.14), transparent 60%),
    linear-gradient(160deg, var(--auth-bg-1), var(--auth-bg-2));
  color: var(--auth-text);
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--auth-card);
  border: 1px solid var(--auth-border);
  border-radius: 20px;
  padding: 40px 32px 32px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.auth-logo-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 32px;
}

.auth-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 75, 240, 0.45), transparent 70%);
  filter: blur(6px);
}

.auth-logo-wrap img {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.auth-field {
  margin-bottom: 18px;
}

.auth-field label {
  display: block;
  font-size: 0.8rem;
  color: var(--auth-muted);
  margin-bottom: 6px;
}

.auth-page .form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--auth-border);
  color: var(--auth-text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-page .form-control::placeholder {
  color: var(--auth-muted);
}

.auth-page .form-control:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 3px rgba(111, 75, 240, 0.28);
  color: var(--auth-text);
}

.auth-page .text-danger {
  color: var(--auth-danger) !important;
  font-size: 0.82rem;
}

.auth-submit {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 13px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-dark));
  box-shadow: 0 10px 24px rgba(111, 75, 240, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  margin-top: 4px;
}

.auth-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(111, 75, 240, 0.45);
  color: #fff;
}

.auth-submit:active {
  transform: translateY(0);
}
