/* Public authentication is intentionally scoped so the home and portals retain their layouts. */
.pci-auth {
  --pci-auth-ink: var(--primary, #002445);
  --pci-auth-accent: var(--commercial-accent, #0754c7);
  --pci-auth-muted: #647184;
  color: var(--pci-auth-ink);
  background: #f8f7f4;
  padding: 54px 24px 70px;
}
.pci-auth *, .pci-auth *::before, .pci-auth *::after { box-sizing: border-box; }
.pci-auth__inner { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 90px; align-items: center; }
.pci-auth__welcome { padding: 0 0 20px; }
.pci-auth__back { display: inline-flex; align-items: center; gap: 8px; color: var(--pci-auth-muted); font-size: .8rem; line-height: 1.5; min-height: 40px; margin-bottom: 56px; }
.pci-auth__back svg { width: 18px; height: 18px; }
.pci-auth__eyebrow { font-size: .72rem; line-height: 1.7; font-weight: 600; color: var(--pci-auth-accent); margin: 0 0 17px; }
.pci-auth__welcome h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.2; letter-spacing: -.045em; font-weight: 650; margin: 0 0 22px; }
.pci-auth__welcome > p:not(.pci-auth__eyebrow) { max-width: 385px; margin: 0; font-size: .93rem; line-height: 1.9; color: var(--pci-auth-muted); }
.pci-auth__support { margin-top: 39px; display: flex; align-items: flex-start; gap: 14px; }
.pci-auth__support-line { width: 27px; height: 2px; background: #c89f61; margin-top: 12px; flex-shrink: 0; }
.pci-auth__support p { margin: 0; font-size: .8rem; line-height: 1.8; color: var(--pci-auth-muted); }
.pci-auth__support a { color: var(--pci-auth-ink); font-weight: 600; display: inline-block; min-height: 29px; }
.pci-auth__support a span { margin-left: 5px; }
.pci-auth__card { background: #fff; padding: 34px 35px 28px; border: 1px solid #e3e6ea; border-radius: 14px; box-shadow: 0 13px 40px rgb(18 38 58 / 4%); min-width: 0; }
.pci-auth__symbol { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #e5eaf1; border-radius: 11px; color: var(--pci-auth-accent); background: #f7f9fc; margin-bottom: 19px; }
.pci-auth__symbol svg { width: 24px; height: 24px; }
.pci-auth__card-heading h1 { margin: 0 0 9px; font-size: 1.55rem; font-weight: 650; line-height: 1.3; letter-spacing: -.035em; }
.pci-auth__card-heading p { margin: 0; font-size: .83rem; line-height: 1.75; color: var(--pci-auth-muted); }
.pci-auth__form { margin-top: 27px; }
.pci-auth__field { margin: 0 0 19px; }
.pci-auth__field > label { display: block; font-size: .8rem; font-weight: 600; line-height: 1.6; margin-bottom: 7px; color: var(--pci-auth-ink); }
.pci-auth__field input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 10px 13px; margin: 0; border: 1px solid #ccd5df; border-radius: 6px; color: var(--pci-auth-ink); background: #fff; font: inherit; font-size: 1rem; line-height: 1.5; box-shadow: none; }
.pci-auth__field input:hover { border-color: #a6b5c7; }
.pci-auth__field input:focus { outline: 3px solid #dbe8fc; outline-offset: 1px; border-color: var(--pci-auth-accent); }
.pci-auth__password { position: relative; }
.pci-auth__password input { padding-right: 86px; }
.pci-auth__toggle { position: absolute; right: 5px; top: 5px; height: calc(100% - 10px); min-width: 73px; padding: 5px 8px; border: 0; border-radius: 4px; background: transparent; font: inherit; font-size: .73rem; line-height: 1.4; font-weight: 600; color: var(--pci-auth-accent); cursor: pointer; }
.pci-auth__toggle[hidden] { display: none; }
.pci-auth__toggle:hover { background: #f1f5fc; }
.pci-auth__hint { font-size: .72rem; line-height: 1.6; margin: 7px 0 0; color: var(--pci-auth-muted); }
.pci-auth__options { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px 16px; margin: 2px 0 24px; font-size: .73rem; line-height: 1.6; }
.pci-auth__remember { display: inline-flex; align-items: center; gap: 8px; color: #546275; cursor: pointer; min-height: 32px; font-weight: 400; }
.pci-auth__remember input { appearance: auto; -webkit-appearance: checkbox; width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; border-radius: 3px; accent-color: var(--pci-auth-accent); flex-shrink: 0; }
.pci-auth__options a { color: var(--pci-auth-accent); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.pci-auth__submit { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--pci-auth-ink); border-radius: 6px; background: var(--pci-auth-ink); color: #fff; font: inherit; font-size: .85rem; font-weight: 600; line-height: 1.5; cursor: pointer; }
.pci-auth__submit:hover { color: #fff; background: var(--pci-auth-accent); border-color: var(--pci-auth-accent); }
.pci-auth__submit span { font-size: 1.15rem; font-weight: 400; line-height: 1; }
.pci-auth__return { display: flex; justify-content: center; align-items: center; min-height: 38px; font-size: .8rem; color: var(--pci-auth-accent); font-weight: 600; margin-top: 12px; }
.pci-auth__help { border-top: 1px solid #edf0f4; padding-top: 19px; margin: 24px 0 0; font-size: .73rem; line-height: 1.8; text-align: center; color: var(--pci-auth-muted); }
.pci-auth__help a { color: var(--pci-auth-ink); font-weight: 600; }
.pci-auth__notice { margin-top: 21px; padding: 12px 14px; color: #215448; border: 1px solid #c8e1d8; border-radius: 6px; background: #f2faf6; font-size: .79rem; line-height: 1.7; overflow-wrap: anywhere; }
.pci-auth__notice p { margin: 0; }
.pci-auth__notice--error { background: #fff6f4; border-color: #f0d1c9; color: #933c2f; }
.pci-auth__notice ul { margin: 5px 0 0; padding-left: 17px; }
.pci-auth__notice li + li { margin-top: 5px; }
.pci-auth a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pci-auth a:focus-visible, .pci-auth button:focus-visible, .pci-auth__remember input:focus-visible, .pci-auth__notice:focus { outline: 3px solid #a9c7ef; outline-offset: 3px; }
@media (max-width: 1000px) {
  .pci-auth__inner { column-gap: 45px; }
  .pci-auth__welcome h2 { font-size: 2rem; }
}
@media (max-width: 740px) {
  .pci-auth { padding: 24px 20px 42px; }
  .pci-auth__inner { max-width: 460px; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pci-auth__welcome { padding: 0; }
  .pci-auth__back { margin-bottom: 22px; }
  .pci-auth__eyebrow { margin-bottom: 0; font-size: .73rem; }
  .pci-auth__welcome h2, .pci-auth__welcome > p:not(.pci-auth__eyebrow), .pci-auth__support { display: none; }
  .pci-auth__card { padding: 28px 25px 25px; }
}
@media (max-width: 380px) {
  .pci-auth { padding-inline: 14px; }
  .pci-auth__card { padding-inline: 20px; }
  .pci-auth__options { column-gap: 10px; font-size: .71rem; }
}
