html[lang="ms"] .identity-screen {
  min-height: 100dvh;
  padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
}

html[lang="ms"] .identity-top-bar h1 {
  font-size: 17px;
  line-height: 23px;
}

html[lang="ms"] .identity-hero {
  min-height: 112px;
  padding-top: 15px;
  padding-bottom: 15px;
  grid-template-columns: 46px minmax(0, 1fr) minmax(68px, auto);
  align-items: center;
  gap: 9px;
}

html[lang="ms"] .identity-hero strong {
  font-size: 13px;
  line-height: 19px;
}

html[lang="ms"] .identity-hero p {
  margin-top: 3px;
  font-size: 8.8px;
  line-height: 13px;
}

html[lang="ms"] .identity-hero em {
  max-width: 86px;
  padding: 5px 6px;
  font-size: 8px;
  line-height: 11px;
  text-align: center;
  white-space: normal;
}

html[lang="ms"] .identity-progress {
  min-height: 86px;
  height: auto;
  padding: 9px 18px 5px;
  grid-template-columns: 74px minmax(14px, 1fr) 74px minmax(14px, 1fr) 74px;
}

html[lang="ms"] .identity-progress > div small {
  min-height: 27px;
  margin-top: 5px;
  font-size: 8px;
  line-height: 11px;
  text-align: center;
  white-space: normal;
}

html[lang="ms"] .identity-form-card,
html[lang="ms"] .identity-upload-card {
  height: auto;
  padding-top: 15px;
  padding-bottom: 15px;
}

html[lang="ms"] .identity-form-card h2,
html[lang="ms"] .identity-upload-card h2 {
  font-size: 12.5px;
  line-height: 19px;
}

html[lang="ms"] .identity-form-card > p,
html[lang="ms"] .identity-upload-card > p {
  margin-top: 2px;
  margin-bottom: 11px;
  font-size: 8.8px;
  line-height: 13px;
}

html[lang="ms"] .identity-form-card > label {
  font-size: 10px;
  line-height: 15px;
}

html[lang="ms"] .identity-field {
  min-height: 48px;
  height: auto;
}

html[lang="ms"] .identity-field input {
  min-height: 46px;
  font-size: 16px;
}

html[lang="ms"] .identity-field input::placeholder {
  font-size: 13px;
}

html[lang="ms"] .identity-document-type {
  min-height: 44px;
  height: auto;
  padding-top: 10px;
  align-items: center;
  gap: 14px;
}

html[lang="ms"] .identity-document-type span,
html[lang="ms"] .identity-document-type strong {
  max-width: 48%;
  line-height: 15px;
}

html[lang="ms"] .identity-document-type strong {
  text-align: right;
}

html[lang="ms"] .identity-upload-grid > label {
  min-height: 138px;
  height: auto;
  padding-top: 11px;
  padding-bottom: 10px;
}

html[lang="ms"] .identity-upload-grid strong {
  max-width: 100%;
  min-height: 34px;
  font-size: 9.5px;
  line-height: 13px;
  text-align: center;
}

html[lang="ms"] .identity-upload-grid small {
  min-height: 15px;
  font-size: 8px;
  line-height: 12px;
  white-space: normal;
}

html[lang="ms"] .identity-upload-requirements {
  flex-wrap: wrap;
  gap: 6px 12px;
}

html[lang="ms"] .identity-upload-requirements span {
  min-width: 0;
  font-size: 8px;
  line-height: 12px;
}

html[lang="ms"] .identity-agreement {
  min-height: 64px;
  height: auto;
  margin-top: 6px;
  padding-top: 9px;
  padding-bottom: 9px;
  align-items: flex-start;
}

html[lang="ms"] .identity-agreement em {
  font-size: 8.5px;
  line-height: 13px;
}

html[lang="ms"] .identity-submit {
  min-height: 50px;
  height: auto;
  padding: 10px 18px;
  line-height: 20px;
  white-space: normal;
}

html[lang="ms"] .identity-encryption {
  margin-right: 20px;
  margin-left: 20px;
  font-size: 8px;
  line-height: 12px;
  text-align: center;
}

html[lang="ms"] .identity-rejected {
  min-height: 52px;
  height: auto;
  font-size: 9px;
  line-height: 14px;
}

html[lang="ms"] .identity-result {
  min-height: 372px;
  height: auto;
  padding-top: 28px;
}

html[lang="ms"] .identity-result > strong {
  font-size: 15px;
  line-height: 22px;
  text-align: center;
}

html[lang="ms"] .identity-result > p {
  max-width: 310px;
  margin-top: 5px;
  margin-bottom: 18px;
  font-size: 9px;
  line-height: 14px;
  text-align: center;
}

html[lang="ms"] .identity-result dl > div {
  display: grid;
  min-height: 47px;
  height: auto;
  padding-top: 9px;
  padding-bottom: 9px;
  grid-template-columns: minmax(96px, 42%) minmax(0, 1fr);
  gap: 12px;
}

html[lang="ms"] .identity-result dt,
html[lang="ms"] .identity-result dd {
  min-width: 0;
  font-size: 9px;
  line-height: 14px;
}

html[lang="ms"] .identity-result dd {
  text-align: right;
  word-break: break-word;
}

html[lang="ms"] .identity-result-note {
  min-height: 78px;
  height: auto;
  padding-top: 12px;
  padding-bottom: 12px;
}

html[lang="ms"] .identity-result-note p {
  font-size: 9px;
  line-height: 15px;
}

html[lang="ms"] .identity-back-button {
  min-height: 50px;
  height: auto;
  padding: 10px 18px;
  line-height: 20px;
  text-align: center;
}

html[lang="ms"] .identity-processing-screen .recharge-processing-card {
  padding-right: clamp(16px, 5vw, 22px);
  padding-left: clamp(16px, 5vw, 22px);
}

html[lang="ms"] .identity-processing-screen .recharge-processing-card > p {
  max-width: 100%;
  font-size: clamp(13px, 3.7vw, 15px);
  overflow-wrap: anywhere;
}

html[lang="ms"] .identity-processing-screen .recharge-processing-summary > div {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
}

html[lang="ms"] .identity-processing-screen .recharge-processing-summary dt,
html[lang="ms"] .identity-processing-screen .recharge-processing-summary dd {
  min-width: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

html[lang="ms"] .identity-processing-screen .recharge-processing-action {
  height: auto;
  white-space: normal;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 350px) {
  html[lang="ms"] .identity-hero {
    margin-right: 12px;
    margin-left: 12px;
    padding-right: 12px;
    padding-left: 12px;
    grid-template-columns: 42px minmax(0, 1fr) minmax(60px, auto);
    gap: 7px;
  }

  html[lang="ms"] .identity-hero > span {
    width: 42px;
    height: 42px;
  }

  html[lang="ms"] .identity-progress {
    padding-right: 10px;
    padding-left: 10px;
    grid-template-columns: 68px minmax(8px, 1fr) 68px minmax(8px, 1fr) 68px;
  }

  html[lang="ms"] .identity-upload-grid {
    gap: 7px;
  }
}
