.gateway-panel {
  width: min(780px, calc(100% - 48px));
}

.workflow-main {
  min-height: 62vh;
  display: grid;
  place-items: start center;
  padding: clamp(44px, 7vw, 92px) 20px;
  background: #f4f5f6;
}

.workflow-card {
  width: min(780px, 100%);
  padding: clamp(25px, 5vw, 48px);
  border: 1px solid #e1e5e9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(24, 37, 70, .09);
}

.workflow-heading > p {
  margin: 0 0 9px;
  color: #1887bd;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.workflow-heading h1 {
  margin: 0;
  color: #202f58;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -.035em;
}

.workflow-heading > span {
  display: block;
  margin-top: 11px;
  color: #69737e;
  font-size: 14px;
  line-height: 1.65;
}

.workflow-alert {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 15px 17px;
  border: 1px solid #cedce5;
  border-radius: 11px;
  color: #31556c;
  background: #f2f8fb;
  font-size: 13px;
  line-height: 1.5;
}

.workflow-alert.error {
  border-color: #e9c7c9;
  color: #8e2730;
  background: #fff3f3;
}

.workflow-alert a {
  color: inherit;
  font-weight: 800;
}

.workflow-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.workflow-field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.workflow-field.wide,
.workflow-form > .wide {
  grid-column: 1 / -1;
}

.workflow-field > span {
  color: #394653;
  font-size: 12px;
  font-weight: 800;
}

.workflow-field input,
.workflow-field select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #cbd1d7;
  border-radius: 10px;
  color: #26313d;
  background: #fff;
  font-size: 15px;
}

.workflow-field input:focus,
.workflow-field select:focus {
  outline: 0;
  border-color: #1887bd;
  box-shadow: 0 0 0 3px rgba(24, 135, 189, .13);
}

.workflow-field small {
  min-height: 14px;
  color: #6e7b86;
  font-size: 11px;
}

.workflow-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5e6974;
  font-size: 12px;
  line-height: 1.55;
}

.workflow-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 1px 0 0;
  accent-color: #1887bd;
}

.workflow-submit {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, #2694d3, #0565b4);
  box-shadow: 0 10px 24px rgba(14, 104, 174, .2);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.workflow-submit:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.identity-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
}

.identity-summary > div {
  min-width: 0;
  padding: 17px;
  border: 1px solid #e0e5e9;
  border-radius: 12px;
  background: #f8f9fa;
}

.identity-summary dt {
  margin-bottom: 7px;
  color: #78838d;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.identity-summary dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: #202f58;
  font-size: 15px;
  font-weight: 800;
}

.payment-methods {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}

.payment-method {
  padding: 21px;
  border: 1px solid #dce3e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(25, 43, 70, .05);
}

.payment-method > span {
  color: #1887bd;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}

.payment-method h2 {
  margin: 7px 0 8px;
  color: #202f58;
  font-size: 19px;
}

.payment-method p {
  margin: 0;
  color: #48535e;
  font-size: 14px;
  line-height: 1.5;
}

.payment-method p small {
  display: block;
  color: #7a858f;
}

.payment-method dl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  margin: 15px 0 0;
  padding-top: 14px;
  border-top: 1px solid #edf0f2;
}

.payment-method dt {
  color: #7a858f;
  font-size: 11px;
  font-weight: 800;
}

.payment-method dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: #273441;
  font-size: 13px;
  font-weight: 700;
}

.payment-method .payment-note {
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 9px;
  background: #f5f7f8;
  font-size: 12px;
}

.payment-confirm-form {
  margin-top: 26px;
}

.payment-confirm-form .workflow-submit {
  width: 100%;
}

.result-workflow-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.result-check {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #38aa84, #19865f);
  box-shadow: 0 13px 28px rgba(25, 134, 95, .2);
  font-size: 35px;
  font-weight: 900;
}

.result-home-link {
  width: min(320px, 100%);
  margin-top: 28px;
}

.public-form-notice.error {
  color: #9a2730;
  background: #fff0f1;
}

@media (max-width: 680px) {
  .workflow-main {
    padding: 28px 12px 42px;
  }

  .workflow-card {
    padding: 24px 17px;
    border-radius: 15px;
  }

  .workflow-heading h1 {
    font-size: 27px;
  }

  .workflow-heading > span {
    font-size: 13px;
  }

  .workflow-form,
  .identity-summary {
    grid-template-columns: 1fr;
  }

  .workflow-field.wide,
  .workflow-form > .wide {
    grid-column: auto;
  }

  .workflow-field input,
  .workflow-field select {
    height: 50px;
    font-size: 14px;
  }

  .identity-summary {
    gap: 8px;
  }

  .identity-summary > div {
    padding: 14px;
  }

  .payment-method {
    padding: 17px 14px;
  }

  .payment-method dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

.gateway-actions {
  width: min(720px, 100%);
  gap: 14px;
  margin: 66px auto 0;
}

.gateway-actions.single-action {
  width: min(470px, 100%);
}

.gateway-button {
  min-height: 72px;
  grid-template-columns: 72px minmax(0, 1fr);
  border-radius: 18px;
}

.gateway-button-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(0, 0, 0, .09);
  font-size: 25px;
}

.gateway-button-icon img {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.gateway-button strong {
  padding: 0 18px;
  text-align: center;
  font-size: 16px;
}

.social-list a.social-link {
  display: flex;
  align-items: center;
  gap: 9px;
}

.social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon .filled {
  fill: currentColor;
  stroke: none;
}

.public-input-shell {
  position: relative;
  width: 100%;
}

.public-input-shell > input {
  width: 0;
}

.keyboard-control-icon .keyboard-body {
  fill: currentColor;
  stroke: none;
}

.keyboard-control-icon .keyboard-keys rect {
  fill: #fff;
  stroke: none;
}

.virtual-keyboard {
  position: absolute;
  z-index: 130;
  right: 0;
  top: calc(100% + 8px);
  padding: 6px;
  border: 1px solid #d7dadd;
  border-radius: 6px;
  color: #111;
  background: #f1f2f3;
  box-shadow: 0 5px 15px rgba(20, 28, 34, .2);
  user-select: none;
  -webkit-user-select: none;
}

.public-input-shell .virtual-key {
  min-width: 0;
  height: 35px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border: 1px solid #d4d7da;
  border-radius: 4px;
  color: #0f1113;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
  cursor: pointer;
}

.public-input-shell .virtual-key:active,
.public-input-shell .virtual-key.active {
  color: #fff;
  border-color: #1b78ad;
  background: #1b78ad;
}

.numeric-keyboard {
  width: 150px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.numeric-keyboard .numeric-delete {
  grid-column: span 2;
}

.numeric-keyboard .numeric-done {
  grid-column: 1 / -1;
}

.alpha-keyboard {
  width: min(395px, calc(100vw - 24px));
  display: grid;
  gap: 5px;
}

.virtual-keyboard-row {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.alpha-keyboard .virtual-key {
  flex: 1 1 0;
  padding-inline: 5px;
}

.alpha-keyboard .key-delete,
.alpha-keyboard .key-shift,
.alpha-keyboard .key-mode {
  flex-grow: 1.55;
}

.alpha-keyboard .key-done {
  flex-grow: 2.8;
}

.alpha-keyboard .key-small {
  flex-grow: .65;
}

@media (max-width: 919px) {
  .global-header-inner {
    min-height: 98px;
    padding: 0 26px;
  }

  .global-brand {
    left: 26px;
    top: 18px;
    width: calc(100% - 118px);
    height: 62px;
  }

  .menu-toggle {
    right: 26px;
    top: 31px;
    width: 34px;
    height: 32px;
    gap: 4px;
    padding: 4px;
  }

  .menu-toggle span {
    height: 3px;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu-open .global-header-inner {
    min-height: 100svh;
    padding: 108px 26px 28px;
  }

  .menu-open .header-tools {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .header-tools .header-search {
    height: 44px;
    border-width: 1px;
  }

  .header-search button {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .header-search svg {
    width: 18px;
  }

  .language-links {
    min-width: 104px;
    gap: 11px;
  }

  .language-links a {
    font-size: 15px;
  }

  .menu-open .global-nav {
    margin-top: 22px;
  }

  .global-nav > ul > li {
    border-bottom-color: rgba(255, 255, 255, .055);
  }

  .nav-item-row {
    min-height: 46px;
  }

  .nav-item-row > a {
    width: 100%;
    padding: 14px 0;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .015em;
  }

  .submenu-toggle,
  .submenu-parent::after {
    display: none !important;
    content: none !important;
  }

  .submenu.is-expanded {
    padding: 9px 0;
    border-top-width: 3px;
  }

  .submenu a {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
  }
}

@media (max-width: 680px) {
  .global-header-inner {
    min-height: 90px;
    padding-inline: 18px;
  }

  .global-brand {
    left: 18px;
    top: 16px;
    width: calc(100% - 82px);
    height: 56px;
  }

  .menu-toggle {
    right: 18px;
    top: 29px;
    width: 32px;
    height: 30px;
  }

  .menu-open .global-header-inner {
    padding: 96px 22px 26px;
  }

  .menu-open .header-tools {
    gap: 10px;
  }

  .language-links {
    min-width: 82px;
    gap: 9px;
  }

  .language-links a {
    font-size: 14px;
  }

  .menu-open .global-nav {
    margin-top: 18px;
  }

  .nav-item-row {
    min-height: 43px;
  }

  .nav-item-row > a {
    padding: 12px 0;
    font-size: 14px;
  }

  .submenu a {
    padding: 9px 16px;
    font-size: 13.5px;
  }

  .login-card {
    padding: 24px 7% 42px;
  }

  .login-brand-header {
    min-height: 68px;
    display: flex;
    justify-content: center;
    gap: 0;
  }

  .login-brand-header .login-logo {
    width: min(82%, 300px);
    height: 56px;
  }

  .login-brand-header .login-logo.align-right {
    display: none;
  }

  .login-service-nav,
  .login-mobile-select {
    display: none !important;
  }

  .login-intro {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.55;
  }

  .login-information {
    grid-template-columns: 50px minmax(0, 1fr);
    margin-top: 18px;
    border-radius: 10px;
  }

  .login-information-icon {
    font-size: 23px;
  }

  .login-information > div:last-child {
    padding: 16px 15px;
    font-size: 14px;
    line-height: 1.48;
  }

  .login-information strong {
    margin-bottom: 3px;
  }

  .public-login-form {
    margin-top: 28px;
  }

  .public-form-row {
    margin-top: 22px;
  }

  .public-form-row > span:first-child {
    font-size: 13px;
  }

  .public-form-helper,
  .public-form-notice {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .forgot-link {
    margin-top: 23px;
    font-size: 14px;
  }

  .public-form-actions {
    margin-top: 31px;
  }

  .cancel-button,
  .login-submit {
    min-height: 54px;
    font-size: 16px;
  }

  .login-footer {
    min-height: 154px;
    gap: 9px;
    padding: 21px 20px;
  }

  .login-footer-logos {
    gap: 7px;
  }

  .login-footer-logos .login-logo {
    width: min(160px, 72%);
    height: 30px;
    font-size: 10px;
  }

  .login-footer-copy {
    gap: 9px 15px;
    font-size: 11.5px;
    line-height: 1.4;
  }

  .virtual-keyboard {
    top: calc(100% + 7px);
    padding: 5px;
  }

  .public-input-shell .virtual-key {
    height: 32px;
    padding-inline: 4px;
    font-size: 12px;
  }

  .numeric-keyboard {
    width: 146px;
  }

  .alpha-keyboard {
    right: 50%;
    width: calc(100vw - 20px);
    transform: translateX(50%);
  }

  .virtual-keyboard-row,
  .alpha-keyboard {
    gap: 4px;
  }

  .gateway-panel {
    width: 100%;
  }

  .gateway-actions,
  .gateway-actions.single-action {
    width: min(82vw, 340px);
    margin-top: 58px;
    gap: 10px;
  }

  .gateway-button {
    min-height: 60px;
    grid-template-columns: 60px minmax(0, 1fr);
    border-radius: 16px;
  }

  .gateway-button-icon {
    font-size: 21px;
  }

  .gateway-button-icon img {
    width: 31px;
    height: 31px;
  }

  .gateway-button strong {
    padding: 0 14px;
    font-size: 14px;
  }
}
