.hsbc-enrollment-container {
  max-width: 1240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  padding: 110px 20px 0;
  gap: 50px;
}
.hsbc-enrollment-step {
  /* display: none; */
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 546px;
  width: 100%;
  color: #3e3e3e;
  line-height: 150%;
}
.hsbc-enrollment-step a {
  text-decoration: underline;
}
.hsbc-enrollment-step img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  max-width: max-content;
}
.hsbc-enrollment-step .btn {
  width: 100%;
  padding: 12px 8px;
  background: #9d0229;
  border: 2px solid #9d0229;
  color: #ffffff;
  border-radius: unset;
  text-align: center;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 150%;
  text-decoration: none
}
.hsbc-enrollment-step .btn:hover {
  color: #9d0229;
  background-color: #ffffff;
}
.hsbc-enrollment-step .btn.disabled {
  background: #c8c8c8;
  border-color: #c8c8c8;
  pointer-events: none;
}
.hsbc-enrollment-step .title {
  font-size: 28px;
  font-weight: 700;
}
.hsbc-enrollment-step .description {
  color: #3e3e3e;
  font-size: 14px;
}
.hsbc-enrollment-step .tips {
  font-size: 12px;
}
.hsbc-enrollment-step .tips span {
  font-weight: 600;
}

/* step 1 */
.hsbc-enrollment-step.step-1 {
  gap: 16px;
}
.hsbc-enrollment-step.step-1 .logo {
  height: 250px;
  /*max-height: 183px;
  height: 100%;*/
}
.hsbc-enrollment-step.step-1 .description {
  color: #7b7b7b;
}
.hsbc-enrollment-step.step-1 .tips {
  margin-top: 16px;
}
.hsbc-enrollment-step.step-1 .tips + .tips {
  margin-top: 44px;
}

/* step 2 */
.hsbc-enrollment-step.step-2 {
  gap: 8px;
}
.hsbc-enrollment-step.step-2 .logo {
  width: 180px;
}
.hsbc-enrollment-step.step-2 .description {
  margin-top: 8px;
}

/* step 3 */
.hsbc-enrollment-step.step-3 {
  gap: 24px;
}
.hsbc-enrollment-step.step-3 .logo {
  height: 96px;
}
.hsbc-enrollment-step.step-3 .title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hsbc-enrollment-step.step-3 .title-group .title {
  font-size: 16px;
  font-weight: 600;
}
.hsbc-enrollment-step.step-3 .title-group .description {
  font-size: 13px;
}
.hsbc-enrollment-step.step-3 .title-group .description span {
  display: inline-block;
}
.hsbc-enrollment-step.step-3 .input-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  position: relative;
}
.hsbc-enrollment-step.step-3 .input-group .input-title {
  color: #333;
  font-size: 16px;
}
.hsbc-enrollment-step.step-3 .input-group .input-title.require::after {
  content: "*";
  color: #9d0229;
}
.hsbc-enrollment-step.step-3 .input-group .input-row {
  margin-top: 16px;
  display: flex;
  width: 100%;
  gap: 10px;
}
.hsbc-enrollment-step.step-3 .input-group .input-row input {
  width: 100%;
  border: 1px solid #999;
  font-size: 16px;
  font-weight: 600;
  padding: 0 12px;
}
.hsbc-enrollment-step.step-3 .input-group .input-row .btn {
  max-width: 125px;
  height: 40px;
  margin: unset;
}
.hsbc-enrollment-step.step-3 .input-group .tips {
  margin-top: 2px;
  color: #cacaca;
  font-size: 14px;
  line-height: 20px;
}
.hsbc-enrollment-step.step-3 .input-group .error {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  display: flex;
  align-items: center;
  color: #ea3d2f;
  font-size: 14px;
  line-height: 130%;
  gap: 4px;
}
.hsbc-enrollment-step.step-3 .input-group .error img {
  width: 20px;
  height: 20px;
}
.hsbc-enrollment-step.step-3 .btn {
  margin-top: 56px;
}

/* step fail */
.hsbc-enrollment-step.step-fail {
  gap: 8px;
}
.hsbc-enrollment-step.step-fail .logo {
  width: 180px;
  padding: 30px;
}
.hsbc-enrollment-step.step-fail .description {
  margin-top: 8px;
  color: #404040;
}
.hsbc-enrollment-step.step-fail .btn {
  margin-top: 52px;
}

/* fail popup */
.OTP-authentication-fail .popup-container {
  padding: 32px 24px;
  width: 100%;
  max-width: 616px;
}
.OTP-authentication-fail .popup-container .popup-header .close-btn {
  right: 24px;
  padding: 6px;
}
.OTP-authentication-fail .popup-container .popup-header .close-btn img {
  width: 20px;
  height: 20px;
}
.OTP-authentication-fail .popup-container .popup-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.OTP-authentication-fail .popup-container .popup-body .logo {
  width: 48px;
  height: 48px;
}
.OTP-authentication-fail .popup-container .popup-body .logo img {
  width: 100%;
  height: 100%;
}
.OTP-authentication-fail .popup-container .popup-body .title {
  margin-top: 16px;
  font-family: OpenSans;
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
}
.OTP-authentication-fail .popup-container .popup-body .description {
  margin-top: 8px;
  text-align: center;
  line-height: 150%;
}
.OTP-authentication-fail .popup-container .popup-body .btn-container {
  margin-top: 32px;
  width: 100%;
}

/* step success */
.hsbc-enrollment-step.step-success {
  gap: 16px;
}
.hsbc-enrollment-step.step-success .logo-group {
  display: flex;
  align-items: center;
  gap: 21px;
}
.hsbc-enrollment-step.step-success .logo-group .hsbc {
  height: 180px;
  /*width: 250px;*/
}
.hsbc-enrollment-step.step-success .logo-group .link {
  width: 24px;
}
.hsbc-enrollment-step.step-success .logo-group .mb {
  width: 66px;
}
.hsbc-enrollment-step.step-success .title {
  margin-top: 24px;
  color: #bca662;
}
.hsbc-enrollment-step.step-success .btn {
  margin-top: 40px;
}

@media screen and (max-width: 1024px) {
  .hsbc-enrollment-container {
    padding-bottom: 110px;
  }
}
@media screen and (max-width: 768px) {
  .hsbc-enrollment-step .title {
    font-size: 16px;
  }
  .hsbc-enrollment-step .description {
    font-size: 12px;
  }
  .hsbc-enrollment-step.step-1 .description {
    font-size: 14px;
  }
  .hsbc-enrollment-step.step-1 .tips {
    margin-top: 8px;
  }
  .hsbc-enrollment-step.step-1 .tips + .tips {
    margin-top: 24px;
  }
  .hsbc-enrollment-step.step-2 .logo {
    width: 140px;
  }
  .hsbc-enrollment-step.step-2 .description {
    margin-top: unset;
  }
  .hsbc-enrollment-step.step-3 .logo {
    width: 148px;
  }
  .hsbc-enrollment-step.step-3 .input-group .input-row {
    margin-top: 8px;
    gap: 4px;
  }
  .hsbc-enrollment-step.step-3 .input-group .tips,
  .hsbc-enrollment-step.step-3 .input-group .error {
    margin-top: 4px;
  }
  .hsbc-enrollment-step.step-3 .btn {
    margin-top: 24px;
  }
  .hsbc-enrollment-step.step-fail {
    gap: 16px;
  }
  .hsbc-enrollment-step.step-fail .logo {
    padding: unset;
    width: 120px;
  }
  .hsbc-enrollment-step.step-fail .description,
  .hsbc-enrollment-step.step-fail .btn {
    margin-top: unset;
  }
  .OTP-authentication-fail .popup-container {
    max-width: unset;
    transform: unset;
    top: unset;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px 8px;
    box-shadow: 2px -2px 5px 0px rgba(203, 203, 203, 0.4);
  }
  .OTP-authentication-fail .popup-container .popup-header .close-btn {
    display: none;
  }
  .OTP-authentication-fail .popup-container .popup-body .logo {
    width: 24px;
    height: 24px;
  }
  .OTP-authentication-fail .popup-container .popup-body .title {
    margin-top: 8px;
  }
  .OTP-authentication-fail .popup-container .popup-body .btn-container {
    margin-top: 24px;
  }
  .hsbc-enrollment-step.step-success {
    gap: 10px;
  }
  .hsbc-enrollment-step.step-success .logo-group {
    gap: 14px;
  }
  .hsbc-enrollment-step.step-success .logo-group .hsbc {
    width: 100px;
  }
  .hsbc-enrollment-step.step-success .logo-group .mb {
    width: 60px;
  }
  .hsbc-enrollment-step.step-success .title {
    margin-top: 22px;
  }
  .hsbc-enrollment-step.step-success .btn {
    margin-top: 14px;
  }
}
