/* PSG paged public entry flow: overview -> services -> location -> secure panel. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.login-screen,
.public-entry-page {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}

.public-entry-page {
  position: relative;
}

.entry-page-track {
  display: flex;
  width: auto;
  height: 100svh;
  min-height: 0;
  margin: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 760ms cubic-bezier(0.22, 0.78, 0.18, 1);
  will-change: transform;
}

.entry-page-track[data-entry-step="1"] {
  transform: translate3d(-100vw, 0, 0);
}

.entry-page-track[data-entry-step="2"] {
  transform: translate3d(-200vw, 0, 0);
}

.entry-slide,
.public-hero.entry-slide,
.public-section.entry-slide {
  flex: 0 0 100vw;
  width: 100vw;
  max-width: none;
  height: 100svh;
  min-height: 100svh;
  margin: 0;
  padding-right: max(36px, calc((100vw - 1360px) / 2));
  padding-left: max(36px, calc((100vw - 1360px) / 2));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(205, 166, 83, 0.42) transparent;
}

.entry-slide::-webkit-scrollbar {
  width: 5px;
}

.entry-slide::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(205, 166, 83, 0.42);
}

.public-hero.entry-slide {
  padding-top: 118px;
  padding-bottom: 104px;
}

.public-services.entry-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 126px;
  padding-bottom: 112px;
}

.public-services .public-section-heading {
  margin-bottom: 36px;
}

.public-services .service-card {
  min-height: 260px;
  padding-top: 25px;
  padding-bottom: 24px;
}

.public-services .service-icon {
  margin-top: 42px;
}

.public-services .services-panel-bridge {
  margin-top: 48px;
}

.public-location.entry-slide {
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.9fr);
  align-items: center;
  padding-top: 118px;
  padding-bottom: 108px;
}

.public-location .location-map,
.public-location .location-copy {
  min-height: min(560px, calc(100svh - 250px));
}

.entry-page-controls {
  position: absolute;
  z-index: 35;
  right: max(36px, calc((100vw - 1360px) / 2));
  bottom: 22px;
  left: max(36px, calc((100vw - 1360px) / 2));
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 62px;
  padding: 8px 10px;
  border: 1px solid rgba(143, 160, 175, 0.14);
  border-radius: 5px 18px 18px 5px;
  background: rgba(7, 16, 25, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.entry-page-arrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  color: #b7c5ce;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.entry-page-arrow:disabled {
  pointer-events: none;
  opacity: 0.28;
}

.entry-page-prev {
  justify-self: start;
}

.entry-page-next {
  justify-self: end;
  justify-content: center;
  min-width: 160px;
  border: 1px solid rgba(205, 166, 83, 0.42);
  border-radius: 4px 12px 12px 4px;
  color: #ebcf7a;
  background: rgba(205, 166, 83, 0.06);
}

.entry-page-next:hover {
  color: #fff0b7;
  background: rgba(205, 166, 83, 0.12);
}

.entry-page-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.entry-page-progress > i {
  width: clamp(22px, 3vw, 48px);
  height: 1px;
  background: rgba(143, 160, 175, 0.19);
  transition: background 260ms ease;
}

.entry-page-progress > i.complete {
  background: rgba(205, 166, 83, 0.62);
}

.entry-page-progress button {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 7px;
  padding: 7px 4px;
  border: 0;
  color: #667e8e;
  background: transparent;
  cursor: pointer;
  transition: color 220ms ease;
}

.entry-page-progress button span {
  font-size: 11px;
  font-weight: 900;
}

.entry-page-progress button small {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.05em;
}

.entry-page-progress button.active {
  color: #edcf76;
}

.entry-page-progress button.active span {
  text-shadow: 0 0 16px rgba(205, 166, 83, 0.45);
}

.login-screen.entry-panel-open .entry-page-controls {
  pointer-events: none;
}

@media (max-height: 820px) and (min-width: 1001px) {
  .public-services.entry-slide {
    justify-content: flex-start;
    padding-top: 112px;
  }

  .public-services .service-card {
    min-height: 230px;
  }

  .public-services .service-icon {
    margin-top: 28px;
  }

  .public-services .services-panel-bridge {
    margin-top: 34px;
  }
}

@media (max-width: 1000px) {
  .entry-slide,
  .public-hero.entry-slide,
  .public-section.entry-slide {
    width: 100vw;
    padding-right: 24px;
    padding-left: 24px;
  }

  .public-hero.entry-slide {
    min-height: 100svh;
    padding-top: 146px;
    padding-bottom: 108px;
  }

  .public-services.entry-slide {
    display: block;
    padding-top: 128px;
    padding-bottom: 116px;
  }

  .public-location.entry-slide {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    padding-top: 122px;
    padding-bottom: 118px;
  }

  .entry-page-controls {
    right: 24px;
    bottom: 16px;
    left: 24px;
  }
}

@media (max-width: 640px) {
  .entry-slide,
  .public-hero.entry-slide,
  .public-section.entry-slide {
    padding-right: 16px;
    padding-left: 16px;
  }

  .public-hero.entry-slide {
    display: block;
    padding-top: 116px;
    padding-bottom: 104px;
  }

  .public-services.entry-slide {
    padding-top: 106px;
    padding-bottom: 104px;
  }

  .public-location.entry-slide {
    padding-top: 104px;
    padding-bottom: 108px;
  }

  .public-location .location-map,
  .public-location .location-copy {
    min-height: 380px;
  }

  .public-location .location-copy {
    justify-content: flex-start;
  }

  .entry-page-controls {
    right: 12px;
    bottom: 10px;
    left: 12px;
    grid-template-columns: 54px 1fr minmax(104px, auto);
    gap: 7px;
    min-height: 56px;
    padding: 5px 7px;
  }

  .entry-page-arrow {
    min-height: 42px;
    padding: 0 8px;
    font-size: 0;
  }

  .entry-page-arrow span {
    font-size: 18px;
  }

  .entry-page-next {
    min-width: 104px;
    gap: 8px;
    font-size: 10px;
  }

  .entry-page-next span {
    font-size: 15px;
  }

  .entry-page-progress {
    gap: 5px;
  }

  .entry-page-progress > i {
    width: 12px;
  }

  .entry-page-progress button {
    display: block;
    padding-inline: 2px;
  }

  .entry-page-progress button small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-page-track {
    transition-duration: 1ms;
  }
}
