/* Login / Auth Landing Page - Resell Reserve (Professional Theme) */

body.auth-page {
  background: var(--bg-primary) !important;
  overflow-x: hidden;
}

.auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.auth-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(239, 68, 68, 0.18), transparent 55%),
    radial-gradient(circle at 82% 70%, rgba(239, 68, 68, 0.10), transparent 55%),
    radial-gradient(circle at 55% 15%, rgba(255, 255, 255, 0.06), transparent 45%);
  filter: blur(0px);
  opacity: 1;
}

.auth-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 0%, rgba(0, 0, 0, 0.25) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
  opacity: 0.55;
}

.auth-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
}

.auth-card {
  background: rgba(11, 13, 20, 0.86);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.35), rgba(255, 255, 255, 0.06), rgba(239, 68, 68, 0.18));
  opacity: 0.35;
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  box-sizing: border-box;
}

.auth-left {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.10) 0%, rgba(11, 13, 20, 0.0) 55%);
}

.auth-kicker {
  letter-spacing: 0.22em;
}

.auth-logo-wrap {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: var(--shadow-primary-glow);
  display: grid;
  place-items: center;
}

.auth-logo-wrap img {
  width: 54px;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.6));
}

.auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: rgba(255, 255, 255, 0.86);
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.auth-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.22);
}

.auth-btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-hover) 100%);
  color: #fff;
  box-shadow: var(--shadow-primary);
  border-color: rgba(239, 68, 68, 0.45);
}

.auth-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary-glow);
}

.auth-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.92);
}

.auth-btn-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
}

.auth-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.auth-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.auth-fineprint {
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .auth-card {
    border-radius: 18px;
  }
}


