/* Client sign-in is independent of staff application styles. */
.portal-access {
  --access-ink: #edf5ff;
  --access-muted: #b4c4d6;
  --access-cyan: #77e4f3;
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  color-scheme: dark;
  color: #eef5ff;
  background:
    radial-gradient(ellipse at 12% 26%, #103d4c 0, transparent 46%),
    radial-gradient(ellipse at 90% 85%, #112743 0, transparent 48%), #080f1b;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.portal-access *,
.portal-access *::before,
.portal-access *::after {
  box-sizing: border-box;
}
.portal-access a {
  text-underline-offset: 4px;
}
.portal-access a:focus-visible,
.portal-access button:focus-visible {
  outline: 3px solid #77e4f3;
  outline-offset: 4px;
  border-radius: 5px;
}
.portal-access .access-website:focus-visible,
.portal-access .access-brand:focus-visible {
  outline-color: var(--access-cyan);
}
.access-container {
  width: min(100% - 96px, 1240px);
  margin-inline: auto;
}
.access-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid #ffffff20;
}
.access-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: #f1f7ff;
}
.access-brand:hover {
  color: #fff;
}
.access-logo {
  padding: 6px 0;
}
.access-logo img {
  display: block;
  width: 110px;
  height: 44px;
  object-fit: contain;
}
.access-logo img,
.access-brand-showcase img {
  /* Present the existing transparent logo as a white mark on the dark surface. */
  filter: brightness(0) invert(1);
}
.access-brand-label {
  font-size: 11px;
  letter-spacing: 0.17em;
  font-weight: 750;
}
.access-brand-label > span {
  display: block;
  margin-top: 3px;
  color: #bbcada;
  letter-spacing: 0.025em;
  font-size: 12px;
  font-weight: 400;
}
.access-website {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  color: #d5e5f4;
  font-size: 13px;
  text-decoration: none;
}
.access-website:hover {
  color: #8beaf6;
}
.access-website > span {
  font-size: 23px;
}
.access-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  padding-block: 58px 66px;
}
.access-intro {
  min-width: 0;
}
.access-brand-showcase {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  padding: 38px 32px;
  background: radial-gradient(ellipse, #36d4df12, transparent 68%);
}
.access-brand-showcase::before,
.access-brand-showcase::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% 4%;
  border: 1px solid #87dfed20;
  border-radius: 50%;
  transform: rotate(-17deg);
  pointer-events: none;
}
.access-brand-showcase::after {
  inset: 19% 0;
  border-color: #87dfed0d;
  transform: rotate(13deg);
}
.access-brand-showcase img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  aspect-ratio: 360 / 196;
  object-fit: contain;
}
.access-workspace {
  position: relative;
  border: 1px solid #42647966;
  border-radius: 16px;
  background: #0d203066;
  overflow: hidden;
}
.access-workspace::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 1px;
  top: 0;
  left: 28px;
  background: #7ee4ee;
  box-shadow: 0 0 16px #7ee4ee;
}
.access-workspace-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 26px 15px;
  color: #9fb5cc;
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 650;
}
.access-workspace-symbol {
  font-size: 24px;
  color: #80dae6;
  line-height: 1;
}
.access-features {
  margin: 0;
  padding: 0 26px;
  list-style: none;
}
.access-features li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid #a6c5dd24;
}
.access-features li:last-child {
  border-bottom: 0;
}
.access-feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid #5b94aa73;
  border-radius: 11px;
  background: #3c9daa12;
  color: #8de2ec;
}
.access-feature-icon svg {
  width: 21px;
  height: 21px;
}
.access-features h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 650;
  color: #f1f6ff;
  line-height: 1.4;
}
.access-features p {
  margin: 0;
  color: #b2c5d9;
  font-size: 12px;
  line-height: 1.6;
}
.access-feature-number {
  margin-left: auto;
  padding-left: 4px;
  color: #a2bbd1;
  font-family: ui-monospace, monospace;
  font-size: 10px;
}
.access-workspace-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-top: 1px solid #a6c5dd24;
  background: #08162430;
  color: #afc4d8;
  font-size: 11px;
}
.access-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 4px);
  gap: 2px;
}
.access-mini-grid i {
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: #7ed6e4;
}
.access-form-panel {
  min-width: 0;
  scroll-margin-top: 20px;
  border-radius: 24px;
}
.access-card {
  position: relative;
  padding: 34px 36px 26px;
  border: 1px solid #38536d;
  border-radius: 24px;
  color: var(--access-ink);
  background: linear-gradient(145deg, #172b3e, #0e1a2b 72%);
  box-shadow:
    0 36px 90px #0006,
    inset 0 1px #d6f3ff12;
}
.access-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8edfec, transparent);
  pointer-events: none;
}
.access-card-heading {
  margin-bottom: 22px;
}
.access-card-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  color: #b0cedf;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.15em;
}
.access-lock {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #75dbe514;
  border: 1px solid #7bc6d04d;
  border-radius: 8px;
  color: #a2e7ef;
}
.access-lock svg {
  width: 17px;
  height: 17px;
}
.access-card h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.18;
}
.access-card-heading > p:last-child {
  margin: 0;
  color: var(--access-muted);
  font-size: 14px;
  line-height: 1.65;
}
.access-form-hint {
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 2px solid #67cbd7;
  color: var(--access-muted);
  font-size: 12px;
  line-height: 1.7;
}
.access-card .form-label {
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 650;
  color: #e0ebf6;
}
.access-card .mb-3 {
  margin-bottom: 17px !important;
}
.access-card .form-control {
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #70869c;
  border-radius: 9px;
  background: #0a1726;
  color: #edf5ff;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: inset 0 1px 3px #0002;
}
.access-card .form-control::placeholder {
  color: #a3b5c9;
  opacity: 1;
  font-size: 14px;
}
.access-card .form-control:hover {
  border-color: #a0bacd;
}
.access-card .form-control:focus {
  background: #0d2031;
  border-color: #85e3ed;
  outline: 2px solid #85e3ed;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #85e3ed14;
}
.access-card .form-control.is-invalid {
  border-color: #ff9fae;
}
.access-password:has(.is-invalid) + .invalid-feedback {
  display: block;
}
.access-card .invalid-feedback {
  color: #ffafbb;
  font-size: 12px;
}
.access-password {
  position: relative;
}
.access-password .form-control {
  padding-right: 72px;
}
.access-password-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  min-width: 60px;
  min-height: 40px;
  background: transparent;
  color: #a0e5ee;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
}
.access-password-toggle:hover {
  background: #7acbd91a;
}
.access-password-toggle[hidden] {
  display: none;
}
.access-card .btn-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  min-height: 50px;
  border: 1px solid #9aeaf0;
  border-radius: 10px;
  background: #83e3ec;
  color: #072536;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 8px 24px #45b9c526;
}
.access-card .btn-primary > span {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.access-card .btn-primary:hover,
.access-card .btn-primary:active {
  background: #b0f2f7;
  border-color: #c8f8fb;
  color: #072536;
}
.access-card .btn-primary:focus-visible {
  background: #b0f2f7;
  outline: 3px solid #b0f2f7;
  outline-offset: 4px;
}
.access-recovery-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0 16px;
  margin-top: 12px;
}
.access-recovery-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #a0e5ee;
  font-size: 12px;
  font-weight: 550;
}
.access-recovery-links a:hover {
  color: #e6fcff;
}
.access-invitation {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid #a6c5dd24;
}
.access-invitation strong {
  display: block;
  margin-bottom: 4px;
  color: #e0ebf6;
  font-size: 12px;
  font-weight: 650;
}
.access-invitation p {
  margin: 0;
  color: var(--access-muted);
  font-size: 12px;
  line-height: 1.7;
}
.access-card .alert {
  font-size: 13px;
  border-radius: 9px;
  overflow-wrap: anywhere;
}
.access-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 20px 28px;
  border-top: 1px solid #ffffff20;
  color: #a8bfd3;
  font-size: 11px;
}
.access-footer span > span {
  padding-inline: 10px;
  color: #91b5c9;
}
.access-skip {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-150%);
  background: #fff;
  color: #0a486e;
  border-radius: 8px;
}
.access-skip:focus {
  transform: translateY(0);
}
@media (min-width: 1440px) {
  .access-stage {
    padding-block: 72px 80px;
  }
}
@media (max-width: 1100px) {
  .access-container {
    width: calc(100% - 64px);
  }
  .access-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 40px;
  }
  .access-card {
    padding-inline: 28px;
  }
  .access-feature-number {
    display: none;
  }
  .access-features,
  .access-workspace-top,
  .access-workspace-bottom {
    padding-inline: 20px;
  }
  .access-features li {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .access-container {
    width: min(100% - 40px, 560px);
  }
  .access-topbar {
    padding-block: 20px;
  }
  .access-stage {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-block: 32px 40px;
  }
  .access-form-panel {
    order: -1;
    width: 100%;
  }
  .access-intro {
    width: 100%;
  }
  .access-footer {
    flex-wrap: wrap;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .access-container {
    width: calc(100% - 32px);
  }
  .access-brand {
    gap: 10px;
  }
  .access-logo {
    padding: 4px 0;
  }
  .access-logo img {
    width: 82px;
    height: 34px;
  }
  .access-brand-label {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .access-brand-label > span {
    font-size: 10px;
  }
  .access-website {
    font-size: 11px;
    gap: 7px;
  }
  .access-website > span {
    font-size: 17px;
  }
  .access-topbar {
    gap: 10px;
  }
  .access-card {
    padding: 27px 22px 23px;
    border-radius: 18px;
  }
  .access-card h1 {
    font-size: 30px;
  }
  .access-stage {
    padding-top: 24px;
  }
  .access-brand-showcase {
    margin-bottom: 24px;
    padding: 20px 28px;
  }
}
@media (max-width: 360px) {
  .access-brand-label > span {
    display: none;
  }
  .access-brand-label {
    max-width: 50px;
    line-height: 1.6;
  }
  .access-card {
    padding-inline: 18px;
  }
  .access-recovery-links {
    display: grid;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal-access * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  .access-card,
  .access-workspace,
  .access-feature-icon {
    border: 1px solid CanvasText;
  }
  .access-logo,
  .access-brand-showcase {
    background: Canvas;
  }
  .access-logo img,
  .access-brand-showcase img {
    filter: none;
  }
  .access-brand-showcase::before,
  .access-brand-showcase::after,
  .access-card::before {
    display: none;
  }
}
