/* Admin email-code step. Navy, lavender, periwinkle. No shadows, no gradients. */

.pcs-app.pcs-auth.pcs-auth__screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #122241;
  padding:
    max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1.25rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
}

.pcs-app.pcs-auth .pcs-auth__shell,
.pcs-app.pcs-auth.pcs-auth__screen > div {
  width: min(100%, 26.5rem);
  max-width: 26.5rem;
  margin: auto;
  box-sizing: border-box;
  min-width: 0;
}

.pcs-app.pcs-auth .pcs-auth__panel {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #122241;
  border-radius: 10px;
  background: #000000;
}

.pcs-app.pcs-auth .pcs-auth__brand,
.pcs-app.pcs-auth .pcs-auth__shell > .text-center,
.pcs-app.pcs-auth.pcs-auth__screen > div > .text-center,
.pcs-app.pcs-auth .text-center.mb-8 {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 1.25rem 1.15rem 0.95rem;
  box-sizing: border-box;
  background: #000000;
  border: 1px solid #122241;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.pcs-app.pcs-auth .pcs-auth__panel .pcs-auth__brand {
  border: 0;
  border-radius: 0;
}

.pcs-app.pcs-auth .pcs-auth__brand::before,
.pcs-app.pcs-auth .pcs-auth__shell > .text-center::before,
.pcs-app.pcs-auth.pcs-auth__screen > div > .text-center::before,
.pcs-app.pcs-auth .text-center.mb-8::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #6b6ce0;
  border-radius: 10px 10px 0 0;
}

.pcs-app.pcs-auth .pcs-auth__panel .pcs-auth__brand::before {
  border-radius: 0;
}

.pcs-app.pcs-auth .pcs-auth__brand + .pcs-auth__card,
.pcs-app.pcs-auth .pcs-auth__brand + form,
.pcs-app.pcs-auth .text-center.mb-8 + .pcs-auth__card,
.pcs-app.pcs-auth .pcs-auth__panel .pcs-auth__card {
  margin-top: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.pcs-app.pcs-auth .pcs-auth__panel .pcs-auth__card {
  border: 0 !important;
  border-top: 1px solid #122241 !important;
  border-radius: 0 !important;
}

.pcs-app.pcs-auth .pcs-auth__brand + .pcs-auth__card .pcs-auth__strip,
.pcs-app.pcs-auth .pcs-auth__brand + form .pcs-auth__strip,
.pcs-app.pcs-auth .text-center.mb-8 + .pcs-auth__card .pcs-auth__strip,
.pcs-app.pcs-auth .pcs-auth__panel .pcs-auth__strip {
  display: none;
}

.pcs-app.pcs-auth .pcs-auth__logo,
.pcs-app.pcs-auth .pcs-auth__brand .pcs-auth__logo,
.pcs-app.pcs-auth .pcs-auth__shell > .text-center .pcs-auth__logo,
.pcs-app.pcs-auth .text-center.mb-8 .pcs-auth__logo {
  display: block;
  width: clamp(11rem, 64vw, 16.5rem);
  max-width: 100%;
  height: auto;
  margin: 0;
}

.pcs-app.pcs-auth .pcs-auth__screen h1,
.pcs-app.pcs-auth.pcs-auth__screen h1,
.pcs-app.pcs-auth .pcs-auth__shell > .text-center h1,
.pcs-app.pcs-auth .text-center h1 {
  display: none !important;
}

.pcs-app.pcs-auth .pcs-page__eyebrow {
  margin: 0;
  color: #cdc9cd;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pcs-app .pcs-auth__card.pcs-auth__card--verify,
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) {
  --pcs-auth-pad: clamp(1.15rem, 4.2vw, 1.5rem);
  display: grid;
  gap: 1rem;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: calc(var(--pcs-auth-pad) + 4px) var(--pcs-auth-pad) var(--pcs-auth-pad);
  overflow: visible;
}

.pcs-app .pcs-auth__card.pcs-auth__card--verify.space-y-4 > :not([hidden]) ~ :not([hidden]),
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]).space-y-4 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0;
}

.pcs-app .pcs-auth__card--verify .pcs-auth__strip,
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) .pcs-auth__strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 4px;
  margin: 0;
  border-radius: 10px 10px 0 0;
  background: #6b6ce0;
}

.pcs-app .pcs-auth__card--verify h2,
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) > h2 {
  margin: 0;
  color: #122241;
  font-size: clamp(1.25rem, 4.4vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: center;
}

.pcs-app .pcs-auth__card--verify > p.bg-white:not(.pcs-auth__note),
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) > p.bg-white:not(.pcs-auth__note),
.pcs-auth-verify-banner-hide {
  display: none !important;
}

.pcs-auth-verify {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.pcs-auth-verify__lead,
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) > p.text-center:not(:last-child) {
  margin: 0;
  color: #4d5f75;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}

.pcs-auth-verify__lead strong,
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) > p.text-center strong {
  color: #122241;
  font-weight: 700;
}

.pcs-auth-verify__timer {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
  margin: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid #cdc9cd;
  border-radius: 8px;
  background: #ffffff;
  box-sizing: border-box;
}

.pcs-auth-verify__send {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.pcs-auth-verify__timer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.pcs-auth-verify__timer-label {
  min-width: 0;
  color: #8494a7;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pcs-auth-verify__timer-value {
  display: none;
  flex-shrink: 0;
  color: #122241;
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.pcs-auth-verify__timer.is-sent .pcs-auth-verify__timer-value {
  display: inline;
}

.pcs-auth-verify__timer.is-sent .pcs-auth-verify__meter {
  display: none;
}

.pcs-auth-verify__expiry {
  margin: 0;
  color: #4d5f75;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.pcs-app .pcs-auth__card #login-code-time:not(:has(.pcs-auth-verify__send)) {
  display: none !important;
}

.pcs-auth-verify__timer.is-urgent .pcs-auth-verify__expiry {
  color: #6b6ce0;
}

.pcs-auth-verify__timer.is-expired .pcs-auth-verify__expiry {
  color: #122241;
}

.pcs-auth-verify__meter {
  display: block;
  width: 100%;
  height: 0.5rem;
  margin: 0;
  overflow: hidden;
  border-radius: 999px;
  background: #cdc9cd;
}

.pcs-auth-verify__meter-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #6b6ce0;
}

@media (prefers-reduced-motion: no-preference) {
  .pcs-auth-verify__meter-fill {
    transition: width 200ms linear;
  }
}

.pcs-auth-verify__note {
  margin: 0;
  color: #4d5f75;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
}

.pcs-auth-verify__timer.is-expired {
  border-color: #122241;
}

.pcs-auth-verify__field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.pcs-auth-verify__label,
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) > div:not(.pcs-auth-verify) > label {
  display: block;
  margin: 0;
  color: #4d5f75;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pcs-auth-verify__code,
.pcs-app .pcs-auth__card--verify input[autocomplete="one-time-code"],
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) input[autocomplete="one-time-code"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 3.25rem;
  margin: 0;
  box-sizing: border-box;
  padding: 0.7rem 2.75rem 0.7rem 0.85rem;
  border: 1px solid #122241;
  border-radius: 8px;
  background: #ffffff;
  color: #122241;
  font-family: "Kumbh Sans", system-ui, sans-serif;
  font-size: clamp(1.25rem, 4.8vw, 1.625rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-align: center;
  text-indent: 0.22em;
}

.pcs-auth-verify__code:focus,
.pcs-app .pcs-auth__card input[autocomplete="one-time-code"]:focus {
  outline: 2px solid #6b6ce0;
  outline-offset: 2px;
}

.pcs-auth-verify__code:disabled,
.pcs-app .pcs-auth__card input[autocomplete="one-time-code"]:disabled {
  color: #8494a7;
  background: #fafaf8;
}

.pcs-app .pcs-auth__card .pcs-auth-verify__trust,
.pcs-app .pcs-auth__card--verify > label,
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) > label {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  column-gap: 0.7rem;
  align-items: center;
  min-height: 2.75rem;
  margin: 0;
  color: #4d5f75;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.35;
  text-transform: none;
  cursor: pointer;
}

.pcs-auth-verify__trust input,
.pcs-app .pcs-auth__card--verify > label input,
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) > label input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: #6b6ce0;
}

.pcs-auth-verify__back,
.pcs-app .pcs-auth__card--verify > button[type="button"],
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) > button[type="button"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.35rem 0.5rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b6ce0;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.pcs-auth-verify__back:hover,
.pcs-app .pcs-auth__card--verify > button[type="button"]:hover,
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) > button[type="button"]:hover {
  text-decoration: underline;
}

.pcs-auth-verify__back:focus-visible,
.pcs-app .pcs-auth__card--verify > button[type="button"]:focus-visible,
.pcs-app .pcs-auth__card input:focus-visible,
.pcs-app .pcs-auth__card--verify .pcs-auth__submit:focus-visible {
  outline: 2px solid #6b6ce0;
  outline-offset: 2px;
}

.pcs-app .pcs-auth__card--verify .pcs-auth__submit,
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) .pcs-auth__submit {
  width: 100%;
  min-height: 2.75rem;
  margin: 0;
  box-sizing: border-box;
}

.pcs-app .pcs-auth__card--verify > p:last-child,
.pcs-app .pcs-auth__card:has(input[autocomplete="one-time-code"]) > p:last-child {
  margin: 0;
  text-align: center;
}

@media (max-width: 380px) {
  .pcs-auth-verify__code,
  .pcs-app .pcs-auth__card input[autocomplete="one-time-code"] {
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    padding-right: 2.35rem;
    font-size: 1.25rem;
  }
}

@media (max-height: 740px) {
  .pcs-app.pcs-auth .pcs-auth__brand,
  .pcs-app.pcs-auth .pcs-auth__shell > .text-center,
  .pcs-app.pcs-auth .text-center.mb-8 {
    padding: 0.85rem 1rem 0.8rem;
  }
}
