/* ECOA AI Platform - Premium 3D & Glassmorphic Authentication Stylesheet */

:root {
  --color-surface: rgba(13, 20, 38, 0.55);
  --color-surface-alt: rgba(8, 12, 24, 0.65);
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-focus: rgba(163, 113, 247, 0.45);
  --color-border-light: rgba(255, 255, 255, 0.08);
  --color-heading: #ffffff;
  --color-junior: #a371f7;
  --color-junior-light: rgba(163, 113, 247, 0.18);
  --color-primary-light: #58a6ff;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Prevent header overflow when nav + auth compete for space */
@media (min-width: 769px) {
  .header-inner {
    gap: 1rem;
  }

  .main-nav {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
  }

  .main-nav a {
    white-space: nowrap;
  }
}

/* ---- Header: auth & actions ---- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  margin-left: auto;
}

.header-actions__cta {
  white-space: nowrap;
}

.nav-auth {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-auth--guest {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  gap: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-auth--guest:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.nav-auth__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.nav-auth__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-auth .btn--register {
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(163, 113, 247, 0.8) 0%, rgba(47, 129, 247, 0.8) 100%);
  border: none;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(163, 113, 247, 0.2);
}

.nav-auth .btn--register:hover {
  background: linear-gradient(135deg, #a371f7 0%, #2f81f7 100%);
  box-shadow: 0 4px 15px rgba(163, 113, 247, 0.4);
  transform: translateY(-1px);
}

.nav-auth .btn--register:active {
  transform: translateY(0);
}

/* User menu (logged in) */
.user-menu {
  position: relative;
}

.user-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: min(200px, 28vw);
  padding: 0.375rem 0.5rem 0.375rem 0.375rem;
  background: rgba(22, 27, 34, 0.9);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.user-menu__trigger:hover,
.user-menu.is-open .user-menu__trigger {
  border-color: rgba(88, 166, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(47, 129, 247, 0.2);
}

.user-menu__avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
}

.user-menu__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.user-menu__chevron {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 0.2s;
}

.user-menu.is-open .user-menu__chevron {
  transform: rotate(180deg);
}

.user-menu__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 200;
  min-width: 260px;
  padding: 0.75rem;
  background: rgba(13, 20, 38, 0.95);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.user-menu__panel[hidden] {
  display: none;
}

.user-menu__meta {
  padding: 0.625rem 0.75rem 0.75rem;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 0.5rem;
}

.user-menu__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.user-menu__phone {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
}

.user-menu__badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-junior);
  background: var(--color-junior-light);
  border-radius: 999px;
}

.user-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.user-menu__action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: left;
  font-family: inherit;
}

.user-menu__action--primary {
  color: #fff;
  background: var(--color-primary);
}

.user-menu__action--primary:hover {
  background: #388bfd;
}

.user-menu__action--logout {
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
}

.user-menu__action--logout:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.user-menu__action--danger {
  color: #ff7b72;
  background: transparent;
}

.user-menu__action--danger:hover {
  color: #fff;
  background: rgba(248, 81, 73, 0.15);
}

.btn--danger {
  background: #da3633;
  color: #fff;
  border: none;
}

.btn--danger:hover {
  background: #f85149;
}

.btn--danger:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Mobile: auth block inside slide-out nav */
.main-nav__account {
  display: none;
  width: 100%;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .header-actions .nav-auth {
    display: none;
  }

  .header-actions__cta {
    display: none;
  }

  .main-nav__account {
    display: block;
  }

  .main-nav__account .user-menu {
    width: 100%;
  }

  .main-nav__account .user-menu__trigger {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .main-nav__account .user-menu__panel {
    position: static;
    margin-top: 0.5rem;
    box-shadow: none;
    border: 1px solid var(--color-border-light);
  }

  .main-nav__account .nav-auth--guest {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    background: transparent;
    border: none;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .main-nav__account .nav-auth__link {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .main-nav__account .btn--register {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    background: linear-gradient(135deg, #a371f7 0%, #2f81f7 100%);
    box-shadow: 0 4px 12px rgba(163, 113, 247, 0.35);
    border: none;
  }

  .main-nav__account .btn--register:hover {
    transform: none;
  }
}

@media (min-width: 769px) {
  .main-nav__account {
    display: none !important;
  }
}

/* ========================================================
   ---- 3D Cyber Background (CLEAN INTERACTIVE NEURAL GALAXY) ----
   ======================================================== */

.auth-page {
  position: relative;
  min-height: 100vh;
  padding: 20px 0;
  background: #02040a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 3D grid perspective rotation values identical to home page platform section */
  --bg-rotate-x: 58deg;
  --bg-rotate-y: 0deg;
  --bg-shift-x: 0px;
  --bg-shift-y: 0px;
}

/* Outer wrapper for smooth 2D organic parallax */
.auth-3d-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  /* Premium dual glows (cyber-blue on left, purple on right, dark metallic mid band) identical to home page section */
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 129, 247, 0.22), transparent 42%),
    radial-gradient(circle at 86% 34%, rgba(163, 113, 247, 0.24), transparent 46%),
    linear-gradient(180deg, rgba(1, 4, 9, 0) 0%, rgba(13, 17, 23, 0.52) 48%, rgba(1, 4, 9, 0) 100%),
    #02040a;
}

/* Scale and position the enqueued 3D grid planes to fill the full background */
.auth-3d-bg .ecoa-3d-bg {
  z-index: 1;
  inset: -15% -10%;
  position: absolute;
}

/* Override maximum width limits from the home page section so 3D grids stretch 100% full width from left to right */
.auth-3d-bg .ecoa-3d-plane {
  width: 100vw;
  max-width: none;
  left: 50%;
  transform: translateX(-50%) translate3d(var(--bg-shift-x), var(--bg-shift-y), 0) rotateX(var(--bg-rotate-x)) rotateY(var(--bg-rotate-y));
}

.auth-3d-bg .ecoa-3d-beam {
  width: 100vw;
  max-width: none;
  left: 50%;
  transform: translateX(-50%) rotateX(66deg) translateZ(-80px);
}


/* Symmetrical full-screen centered halo style for the video background loop (expanded horizontally) */
.auth-3d-bg .ecoa-right-video-bg {
  width: 100%;
  max-width: none;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0.28; /* Perfectly balanced for form contrast */
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black 30%, transparent 90%);

  z-index: 0;
  position: absolute;
}

.auth-3d-bg .ecoa-right-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.2) contrast(1.1) brightness(0.7);
  transform: scale(1.05);
}


/* ========================================================
   ---- Integrated Heading & Section elements ----
   ======================================================== */

.auth-page .section-heading {
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.auth-page .section-heading .eyebrow {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-junior);
  margin-bottom: 0.75rem;
  background: rgba(163, 113, 247, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  border: 1px solid rgba(163, 113, 247, 0.2);
}

.auth-page .section-heading h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 40%, #d8b4fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-page .section-heading p {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 70ch;
  margin: 1rem auto 0;
  line-height: 1.6;
}

/* ========================================================
   ---- Glassmorphism Interactive Flat Card ----
   ======================================================== */

.auth-shell {
  max-width: 450px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.auth-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem;
  background: rgba(13, 20, 38, 0.55);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  z-index: 2;
}

.auth-card:hover {
  border-color: rgba(163, 113, 247, 0.35);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 45px rgba(163, 113, 247, 0.18);
}

.card-glow {
  display: none !important;
}

.auth-card h1 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, #e0d0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-card__lead {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  margin: 0 0 1.75rem;
  line-height: 1.5;
}

/* Glassmorphic Tabs Navigation */
.auth-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  padding: 0.3rem;
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  gap: 0.3rem;
  position: relative;
  z-index: 2;
}

.auth-tabs a {
  flex: 1;
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.auth-tabs a svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.auth-tabs a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.auth-tabs a:hover svg {
  transform: translateY(-1px);
}

.auth-tabs a.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(163, 113, 247, 0.28), rgba(47, 129, 247, 0.2));
  border: 1px solid rgba(163, 113, 247, 0.35);
  box-shadow: 
    0 4px 15px rgba(163, 113, 247, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ========================================================
   ---- Form Fields, Volumetric Inputs & Buttons ----
   ======================================================== */

.auth-form .form-field {
  margin-bottom: 1.35rem;
  position: relative;
}

.auth-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.auth-form .form-field:focus-within label {
  color: var(--color-junior);
}

.input-wrapper {
  position: relative;
  border-radius: 10px;
  background: rgba(8, 12, 24, 0.4);
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.auth-form input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(8, 12, 24, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.auth-form input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(163, 113, 247, 0.55);
  background: rgba(8, 12, 24, 0.65);
  box-shadow: 
    0 0 20px rgba(163, 113, 247, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.auth-form .form-field:focus-within .input-icon {
  color: var(--color-junior);
  transform: translateY(-50%) scale(1.05);
}

.auth-form__hint {
  font-size: 0.725rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.4rem;
  line-height: 1.45;
}

/* Premium 2D Glow Action Button */
.btn--accent.auth-form__submit {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 10px;
  background: linear-gradient(135deg, #a371f7 0%, #2f81f7 100%);
  color: #fff;
  border: none;
  box-shadow: 
    0 4px 15px rgba(163, 113, 247, 0.35),
    0 2px 4px rgba(47, 129, 247, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn--accent.auth-form__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 22px rgba(163, 113, 247, 0.45),
    0 4px 8px rgba(47, 129, 247, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #b085f9 0%, #4692ff 100%);
}

.btn--accent.auth-form__submit:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 
    0 2px 6px rgba(163, 113, 247, 0.35),
    0 1px 2px rgba(47, 129, 247, 0.15);
}

.btn--accent.auth-form__submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn--accent.auth-form__submit:hover::after {
  left: 125%;
  opacity: 1;
}

.auth-card__footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.auth-card__footer a {
  color: var(--color-primary-light);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.auth-card__footer a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(88, 166, 255, 0.6);
  text-decoration: none;
}

/* Glassmorphic Alerts with micro-animations */
.auth-alert {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: alert-slide 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-alert[hidden] {
  display: none !important;
}


@keyframes alert-slide {
  0% { opacity: 0; transform: translateY(-10px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-alert--error {
  background: rgba(248, 81, 73, 0.12);
  border: 1px solid rgba(248, 81, 73, 0.35);
  color: #ff7b72;
  box-shadow: 0 4px 15px rgba(248, 81, 73, 0.1);
}

.auth-alert--success {
  background: rgba(63, 185, 80, 0.12);
  border: 1px solid rgba(63, 185, 80, 0.35);
  color: #3fb950;
  box-shadow: 0 4px 15px rgba(63, 185, 80, 0.1);
}

/* ========================================================
   ---- Delete Account Layout (Symmetric Double Columns) ----
   ======================================================== */

.delete-account-page {
  margin: 0 auto;
  padding: clamp(6.5rem, 9vw, 9.5rem) 1.5rem clamp(4rem, 6vw, 6rem);
}

.delete-account-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Left side: Information panel styled as high-end glass board */
.delete-account-info {
  padding: 2.5rem;
  background: rgba(13, 20, 38, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
  position: relative;
}

.delete-account-info:hover {
  border-color: rgba(47, 129, 247, 0.3);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 35px rgba(47, 129, 247, 0.15);
}

.delete-account-info h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1.25rem;
  background: linear-gradient(135deg, #ffffff 40%, #c4e0e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.delete-account-info__intro {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.delete-account-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin: 1.75rem 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.delete-account-info ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.delete-account-info li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.delete-account-info li::before {
  content: "✦";
  color: #ff7b72;
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.delete-account-info p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0.5rem 0;
}

.delete-account-info a {
  color: var(--color-primary-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.delete-account-info a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Right side: Warning Glass Card styling */
.delete-account-card {
  border-color: rgba(248, 81, 73, 0.25);
}

.delete-account-card:hover {
  border-color: rgba(248, 81, 73, 0.45);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(248, 81, 73, 0.12);
}

.delete-account-card h1 {
  background: linear-gradient(135deg, #ffffff 40%, #ffc0bd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom interactive checkboxes */
.delete-account-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.delete-account-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  cursor: pointer;
  position: relative;
  user-select: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.delete-account-check:hover {
  background: rgba(255, 255, 255, 0.03);
}

.delete-account-check input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.delete-account-checkmark {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  height: 18px;
  width: 18px;
  background: rgba(8, 12, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.delete-account-check:hover input ~ .delete-account-checkmark {
  border-color: rgba(248, 81, 73, 0.5);
}

.delete-account-check input:checked ~ .delete-account-checkmark {
  background: linear-gradient(135deg, #da3633 0%, #f85149 100%);
  border-color: #f85149;
  box-shadow: 0 0 10px rgba(248, 81, 73, 0.35);
}

.delete-account-checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.delete-account-check input:checked ~ .delete-account-checkmark::after {
  display: block;
}

/* Volumetric Danger 2D Submit Button */
.btn--danger.auth-form__submit {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 10px;
  background: linear-gradient(135deg, #da3633 0%, #f85149 100%);
  color: #fff;
  border: none;
  box-shadow: 
    0 4px 15px rgba(248, 81, 73, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn--danger.auth-form__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 22px rgba(248, 81, 73, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, #e54c49 0%, #ff6b66 100%);
}

.btn--danger.auth-form__submit:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(248, 81, 73, 0.3);
}

.delete-account-gate {
  padding: 2.5rem;
  text-align: center;
  background: rgba(13, 20, 38, 0.45);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.delete-account-gate p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.delete-account-form-wrap code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #ff7b72;
  background: rgba(248, 81, 73, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(248, 81, 73, 0.2);
}

/* ========================================================
   ---- Media Queries & Motion Reductions ----
   ======================================================== */

@media (max-width: 992px) {
  .delete-account-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .delete-account-form-wrap {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .auth-page, .delete-account-page {
    padding: clamp(5rem, 8vw, 6rem) 1rem var(--section-padding);
  }

  .auth-card, .delete-account-info {
    padding: 1.75rem;
    border-radius: 16px;
  }

  .auth-card h1 {
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-3d-sphere {
    animation: none !important;
  }

  .auth-3d-glow-1, .auth-3d-glow-2 {
    animation: none;
  }

  .user-menu__chevron,
  .user-menu__trigger,
  .auth-form input,
  .auth-tabs a,
  .nav-auth__link,
  .btn--accent.auth-form__submit,
  .btn--danger.auth-form__submit {
    transition: none !important;
  }
}
