html[data-epso-auth-state="pending"] body > :not(.epso-auth-overlay):not(.epso-auth-logout),
html[data-epso-auth-state="locked"] body > :not(.epso-auth-overlay):not(.epso-auth-logout) {
  filter: blur(1.2rem) saturate(0.92) !important;
  opacity: 0.74 !important;
  pointer-events: none !important;
  user-select: none !important;
  transition: filter 180ms ease, opacity 180ms ease !important;
}

html[data-epso-auth-state="pending"] body,
html[data-epso-auth-state="locked"] body {
  overflow: hidden;
}

.epso-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(1.2rem, 2.4vw, 2.8rem);
  overflow: auto;
  background: rgba(5, 10, 18, 0.38);
  backdrop-filter: blur(2.2rem) saturate(1.02);
  -webkit-backdrop-filter: blur(2.2rem) saturate(1.02);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.epso-auth-overlay::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120rem 80rem at 12% 8%, rgba(245, 214, 139, 0.16), transparent 52%),
    radial-gradient(110rem 74rem at 88% 20%, rgba(105, 154, 223, 0.16), transparent 54%),
    linear-gradient(180deg, rgba(8, 13, 22, 0.08), rgba(8, 13, 22, 0.3));
}

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

.epso-auth-card {
  position: relative;
  width: min(102rem, 100%);
  border: 0.1rem solid rgba(248, 245, 239, 0.12);
  border-radius: 3.2rem;
  overflow: hidden;
  color: #f7f2e8;
  box-shadow:
    0 3.6rem 9rem rgba(0, 0, 0, 0.34),
    0 0.1rem 0 rgba(255, 255, 255, 0.12) inset;
  background: rgba(10, 19, 33, 0.44);
  backdrop-filter: blur(2rem) saturate(1.08);
  -webkit-backdrop-filter: blur(2rem) saturate(1.08);
  animation: epso-auth-enter 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.epso-auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(40rem, 0.92fr);
  min-height: min(74rem, calc(100svh - 3.2rem));
}

.epso-auth-showcase {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 2.2rem;
  padding: clamp(2.4rem, 3.6vw, 4rem);
  color: #f7f2e8;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 227, 156, 0.14) 0%, rgba(255, 227, 156, 0) 20%),
    radial-gradient(circle at 88% 18%, rgba(100, 145, 199, 0.22) 0%, rgba(100, 145, 199, 0) 28%),
    linear-gradient(180deg, #11203a 0%, #183051 48%, #244166 100%);
}

.epso-auth-showcase::before {
  content: "";
  position: absolute;
  width: min(30rem, 46%);
  aspect-ratio: 1;
  right: 5%;
  bottom: 10%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 215, 150, 0.22), rgba(244, 215, 150, 0));
  filter: blur(1.1rem);
  pointer-events: none;
}

.epso-auth-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(248, 245, 239, 0.045) 0.1rem, transparent 0.1rem),
    linear-gradient(90deg, rgba(248, 245, 239, 0.045) 0.1rem, transparent 0.1rem);
  background-size: 6rem 6rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 82%);
}

.epso-auth-kicker {
  position: relative;
  z-index: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 3.1rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 0.1rem solid rgba(248, 245, 239, 0.14);
  background: rgba(248, 245, 239, 0.08);
  color: rgba(247, 242, 232, 0.95);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.epso-auth-kicker::before {
  content: "";
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6dda4, #d1a241);
  box-shadow: 0 0 1.2rem rgba(246, 221, 164, 0.6);
}

.epso-auth-emblem {
  position: relative;
  z-index: 1;
  width: 10.8rem;
  height: 10.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0.1rem solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.2), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 0.1rem 0 rgba(255, 255, 255, 0.24),
    0 1.6rem 4rem rgba(8, 13, 22, 0.3);
}

.epso-auth-emblem-ring,
.epso-auth-emblem-core {
  position: absolute;
  border-radius: 50%;
}

.epso-auth-emblem-ring {
  inset: 1.3rem;
  border: 0.1rem solid rgba(244, 215, 150, 0.46);
}

.epso-auth-emblem-core {
  inset: 2.9rem;
  background: radial-gradient(circle at 34% 30%, #fff5d6, #d1a241 60%, #8c6721 100%);
  box-shadow: 0 0 2rem rgba(209, 162, 65, 0.34);
}

.epso-auth-overline,
.epso-auth-title,
.epso-auth-copy,
.epso-auth-metrics {
  position: relative;
  z-index: 1;
}

.epso-auth-overline {
  margin: 0;
  color: rgba(247, 242, 232, 0.66);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.epso-auth-title {
  margin: 0.4rem 0 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(4.2rem, 5.1vw, 6.2rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: #fffaf2;
}

.epso-auth-copy {
  margin: 0.9rem 0 0;
  max-width: 42rem;
  color: rgba(247, 242, 232, 0.74);
  font-size: 1.58rem;
  line-height: 1.5;
}

.epso-auth-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.epso-auth-metric {
  min-height: 8.6rem;
  padding: 1.4rem 1.3rem;
  border-radius: 1.9rem;
  border: 0.1rem solid rgba(248, 245, 239, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0.1rem 0 rgba(255, 255, 255, 0.08);
}

.epso-auth-metric strong,
.epso-auth-metric span {
  display: block;
}

.epso-auth-metric strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff9ef;
}

.epso-auth-metric span {
  margin-top: 0.56rem;
  font-size: 1.16rem;
  line-height: 1.35;
  color: rgba(247, 242, 232, 0.73);
}

.epso-auth-panel {
  position: relative;
  display: grid;
  align-content: center;
  gap: 1.5rem;
  padding: clamp(2.4rem, 3.8vw, 4rem);
  background:
    linear-gradient(180deg, rgba(10, 19, 33, 0.96), rgba(15, 27, 45, 0.94)),
    radial-gradient(circle at top, rgba(87, 147, 255, 0.1), transparent 44%);
  backdrop-filter: blur(1.4rem);
  -webkit-backdrop-filter: blur(1.4rem);
}

.epso-auth-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 16%),
    radial-gradient(circle at top right, rgba(209, 162, 65, 0.1), transparent 28%);
}

.epso-auth-panel-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
}

.epso-auth-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 3.2rem;
  height: 3.2rem;
  border: 0.1rem solid rgba(248, 245, 239, 0.12);
  border-radius: 50%;
  background: rgba(248, 245, 239, 0.08);
  color: rgba(248, 245, 239, 0.82);
  font: inherit;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.epso-auth-close:hover,
.epso-auth-close:focus-visible {
  border-color: rgba(248, 245, 239, 0.22);
  background: rgba(248, 245, 239, 0.14);
  color: #fffaf2;
}

.epso-auth-close:focus-visible {
  outline: 0.2rem solid rgba(28, 97, 160, 0.22);
  outline-offset: 0.08rem;
}

.epso-auth-panel-eyebrow {
  margin: 0;
  color: rgba(209, 162, 65, 0.92);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.epso-auth-panel-title {
  margin: 0;
  color: #f8fbff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.8rem, 2.8vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.epso-auth-panel-copy {
  margin: 0;
  max-width: 40rem;
  color: rgba(214, 228, 250, 0.72);
  font-size: 1.42rem;
  line-height: 1.58;
}

.epso-auth-social {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.86rem;
}

.epso-auth-social-btn {
  position: relative;
  min-height: 4.7rem;
  padding: 0 1.4rem 0 4.6rem;
  border-radius: 1.5rem;
  border: 0.1rem solid rgba(248, 245, 239, 0.12);
  background: rgba(248, 245, 239, 0.06);
  color: #f8fbff;
  text-align: left;
  font: inherit;
  font-size: 1.42rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.epso-auth-social-btn::before {
  content: "";
  position: absolute;
  left: 1.3rem;
  top: 50%;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1;
}

.epso-auth-social-btn-google::before {
  content: "G";
  background: rgba(66, 133, 244, 0.16);
  color: #8fbcff;
}

.epso-auth-social-btn-facebook::before {
  content: "f";
  background: rgba(24, 119, 242, 0.16);
  color: #9ac2ff;
  text-transform: lowercase;
}

.epso-auth-social-btn-email::before {
  content: "@";
  background: rgba(248, 245, 239, 0.1);
  color: #f0d27b;
}

.epso-auth-social-btn-google {
  border-color: rgba(66, 133, 244, 0.2);
}

.epso-auth-social-btn-facebook {
  border-color: rgba(24, 119, 242, 0.2);
}

.epso-auth-social-btn-email {
  border-color: rgba(248, 245, 239, 0.14);
}

.epso-auth-social-btn:hover,
.epso-auth-social-btn:focus-visible {
  transform: translateY(-0.1rem);
  border-color: rgba(248, 245, 239, 0.22);
  background: rgba(248, 245, 239, 0.12);
  box-shadow: 0 1rem 2.2rem rgba(5, 12, 24, 0.26);
}

.epso-auth-social-btn:focus-visible {
  outline: 0.2rem solid rgba(28, 97, 160, 0.22);
  outline-offset: 0.08rem;
}

.epso-auth-form-divider {
  position: relative;
  margin: 0.2rem 0 0.1rem;
  color: rgba(214, 228, 250, 0.54);
  text-align: center;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.epso-auth-form-divider::before,
.epso-auth-form-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 31%;
  height: 0.1rem;
  background: rgba(248, 245, 239, 0.1);
  transform: translateY(-50%);
}

.epso-auth-form-divider::before {
  left: 0;
}

.epso-auth-form-divider::after {
  right: 0;
}

.epso-auth-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.1rem;
}

.epso-auth-field {
  display: grid;
  gap: 0.5rem;
}

.epso-auth-label {
  color: rgba(214, 228, 250, 0.58);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.epso-auth-input {
  width: 100%;
  min-height: 5.2rem;
  padding: 0 1.5rem;
  border-radius: 1.7rem;
  border: 0.1rem solid rgba(248, 245, 239, 0.12);
  background: rgba(248, 245, 239, 0.06);
  color: #f8fbff;
  font: inherit;
  box-shadow:
    inset 0 0.1rem 0 rgba(255, 255, 255, 0.08),
    0 0.8rem 2rem rgba(5, 12, 24, 0.14);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.epso-auth-input::placeholder {
  color: rgba(214, 228, 250, 0.34);
}

.epso-auth-input:hover {
  border-color: rgba(248, 245, 239, 0.22);
}

.epso-auth-input:focus-visible {
  outline: none;
  border-color: rgba(209, 162, 65, 0.4);
  box-shadow:
    0 0 0 0.4rem rgba(209, 162, 65, 0.12),
    0 1.2rem 2.8rem rgba(5, 12, 24, 0.24);
  transform: translateY(-0.1rem);
}

.epso-auth-error {
  min-height: 1.4rem;
  margin: 0;
  color: #ff9d8c;
  font-size: 0.94rem;
  line-height: 1.38;
}

.epso-auth-submit {
  min-height: 5.4rem;
  border: 0.1rem solid rgba(255, 224, 150, 0.5);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe89e 0%, #f0c14e 55%, #d59424 100%);
  color: #18263a;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow:
    0 0.4rem 1.4rem rgba(209, 162, 65, 0.38),
    0 0.1rem 0.4rem rgba(209, 162, 65, 0.18),
    inset 0 0.1rem 0 rgba(255, 255, 255, 0.72);
  transition: transform 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}

.epso-auth-submit:hover,
.epso-auth-submit:focus-visible {
  transform: translateY(-0.1rem);
  filter: brightness(1.02);
  box-shadow:
    0 0.8rem 2.2rem rgba(209, 162, 65, 0.48),
    0 0.3rem 0.8rem rgba(209, 162, 65, 0.24),
    inset 0 0.1rem 0 rgba(255, 255, 255, 0.72);
}

.epso-auth-submit:focus-visible {
  outline: 0.2rem solid rgba(28, 97, 160, 0.18);
  outline-offset: 0.2rem;
}

.epso-auth-submit:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.epso-auth-note {
  margin: 0;
  position: relative;
  z-index: 1;
  color: rgba(214, 228, 250, 0.56);
  font-size: 1.02rem;
  line-height: 1.5;
}

.epso-auth-logout {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 9998;
  min-height: 4rem;
  padding: 0 1.3rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(14, 25, 39, 0.7);
  color: #f7f2e8;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 1.2rem 2.8rem rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(1.4rem);
  -webkit-backdrop-filter: blur(1.4rem);
}

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

@keyframes epso-auth-enter {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .epso-auth-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .epso-auth-showcase {
    gap: 1.8rem;
    padding-bottom: 2.2rem;
  }

  .epso-auth-panel {
    padding-top: 2.2rem;
  }
}

@media (max-width: 640px) {
  .epso-auth-overlay {
    padding: 1rem;
  }

  .epso-auth-card {
    border-radius: 2.4rem;
  }

  .epso-auth-showcase,
  .epso-auth-panel {
    padding: 2rem 1.5rem;
  }

  .epso-auth-title {
    font-size: clamp(3rem, 10.2vw, 4.4rem);
  }

  .epso-auth-copy {
    font-size: 1.48rem;
  }

  .epso-auth-metrics {
    grid-template-columns: 1fr;
  }

  .epso-auth-social-btn {
    min-height: 4.5rem;
    padding-left: 4.3rem;
  }

  .epso-auth-input,
  .epso-auth-submit {
    min-height: 4.8rem;
  }
}
