html,
body {
  min-height: 100vh;
  margin: 0;
}
#login-background {
  position: relative;
  min-height: 100vh;
  /* ...other styles... */
}

#login-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 123, 255, 0.15) 0%, rgba(0, 123, 255, 0) 42%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.01) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  pointer-events: none;
  z-index: 0;
}


/* ── Centered layout ── */
.login-center {
  position: relative;
  z-index: 4;
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  gap: 56px;
}

/* ── Header block ── */
.login-header {
  text-align: center;
  max-width: 720px;
}

.login-logo {
  width: 52px;
  height: auto;
  display: block;
  margin: 0 auto 32px;
  opacity: 0.7;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(0, 123, 255);
}

.hero-kicker::before {
  content: '';
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: rgb(0, 123, 255);
}

.hero-kicker::after {
  content: '';
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: rgb(0, 123, 255);
}

.login-header h1 {
  margin: 0 0 18px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: rgb(255, 255, 255);
  white-space: nowrap;
}

.login-header p {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.40);
}

/* ── Card row ── */
.login-option-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.login-option-card {
  appearance: none;
  position: relative;
  width: 100%;
  padding: 32px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    box-shadow 200ms ease,
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
  animation: login-card-in 420ms ease both;
}

.login-option-card:nth-child(2) {
  animation-delay: 70ms;
}

.login-option-card:nth-child(3) {
  animation-delay: 140ms;
}

/* Top gradient strip — same as panel-box */
.login-option-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.provider-card::before {
  background: linear-gradient(90deg, rgb(0, 123, 255), rgb(140, 200, 140));
}

.admin-card::before {
  background: linear-gradient(90deg, rgb(140, 200, 140), rgb(255, 200, 0));
}

.user-card::before {
  background: linear-gradient(90deg, rgb(255, 200, 0), rgb(0, 123, 255));
}

/* Hover & focus */
.login-option-card:hover {
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.login-option-card:hover .login-option-arrow {
  opacity: 1;
  transform: translateX(0);
}

.login-option-card:focus-visible {
  outline: none;
  border-color: rgba(140, 200, 140, 0.65);
  box-shadow:
    0 0 0 3px rgba(140, 200, 140, 0.14),
    0 24px 54px rgba(0, 0, 0, 0.34);
}

/* ── Card content ── */
.login-option-eyebrow {
  display: block;
  margin: 0 0 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.30);
}

.login-option-title {
  display: block;
  margin: 0 0 12px;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.22;
  color: rgb(255, 255, 255);
}

.login-option-copy {
  display: block;
  margin: 0 0 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.38);
  flex: 1;
}

.login-option-arrow {
  display: block;
  margin-top: 18px;
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.50);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

/* ── Animation ── */
@keyframes login-card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .login-center {
    gap: 44px;
    padding: 60px 0;
  }

  .login-option-row {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .login-center {
    width: calc(100% - 32px);
    gap: 36px;
    padding: 48px 0;
  }

  .login-logo {
    width: 44px;
    margin-bottom: 24px;
  }

  .login-header h1 {
    font-size: clamp(28px, 8vw, 38px);
    white-space: normal;
  }

  .login-header p {
    font-size: 15px;
  }

  .login-option-card {
    padding: 28px 24px 24px;
    border-radius: 20px;
  }

  .login-option-title {
    font-size: 19px;
  }

  .login-option-copy {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-option-card {
    animation: none;
    transition: none;
  }

  .login-option-arrow {
    transition: none;
  }
}