@font-face {
  font-family: "Ideal Sans";
  src: url("https://federation.adb.org/adb/cms/Ideal Sans/IdealSans-Book-Pro.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ideal Sans";
  src: url("https://federation.adb.org/adb/cms/Ideal Sans/IdealSans-Semibold-Pro.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ideal Sans";
  src: url("https://federation.adb.org/adb/cms/Ideal Sans/IdealSans-Bold-Pro.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #eff0f4;
  color: #262626;
  font-family: "Ideal Sans", Arial, Helvetica, sans-serif;
}

.page-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 24px;
}

.reset-card {
  width: min(1060px, 100%);
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.08);
}

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

.header-image {
  display: block;
  width: 100%;
  height: 155px;
  object-fit: cover;
  object-position: center top;
}

.card-body-wrap {
  padding: 49px 88px 58px;
}

.visual-column {
  padding-top: 18px;
}

.reset-illustration {
  width: min(100%, 335px);
  height: auto;
}

.copy-column {
  max-width: 505px;
  min-width: 0;
}

h1 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.45;
}

.reset-form {
  margin-top: 22px;
}

.password-rules {
  margin: 22px 0 24px;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.25;
}

.password-rules li {
  padding-left: 10px;
}

.password-rules ul {
  margin: 2px 0 0;
  padding-left: 24px;
  list-style-type: square;
}

.password-form {
  margin-top: 0;
}

.password-form .form-control + .visually-hidden + .form-control {
  margin-top: 18px;
}

.confirm-action-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 29px;
}

.confirm-btn {
  min-width: 255px;
}

.password-page .card-body-wrap {
  padding-bottom: 58px;
}

.password-layout {
  --bs-gutter-x: 2rem;
}

.form-control {
  height: 48px;
  border: 1px solid #c8c8c8;
  border-radius: 3px;
  color: #222;
  font-size: 18px;
  padding: 10px 15px;
}

.form-control::placeholder {
  color: #9b9b9b;
  opacity: 1;
}

.form-control:focus {
  border-color: #0b78ad;
  box-shadow: 0 0 0 0.18rem rgba(11, 120, 173, 0.18);
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}

.login-link {
  color: #0069a6;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.login-link:hover,
.login-link:focus {
  color: #004e7b;
  text-decoration: underline;
}

.continue-btn {
  min-width: 188px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #0b78ad;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.continue-btn:hover,
.continue-btn:focus {
  background: #086894;
  color: #fff;
}

@media (max-width: 767.98px) {
  body {
    background: #f1f1f1;
  }

  .page-shell {
    min-height: 100vh;
    padding: 15px 14px 23px;
    align-items: flex-start !important;
  }

  .reset-card {
    width: 100%;
    max-width: 362px;
    min-width: 0;
    border-radius: 17px;
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.08);
  }

  .header-image {
    height: 138px;
    object-position: center top;
  }

  .card-body-wrap {
    padding: 35px 14px 39px;
  }

  .card-body-wrap > .row {
    --bs-gutter-x: 0;
  }

  .visual-column {
    padding-top: 0;
  }

  .reset-illustration {
    width: 202px;
    margin-bottom: 27px;
  }

  .copy-column {
    max-width: none;
    min-width: 0;
  }

  h1 {
    margin-bottom: 17px;
    font-size: 23px;
  }

  p {
    margin-bottom: 21px;
    font-size: 16px;
    line-height: 1.22;
  }

  .reset-form {
    margin-top: 25px;
  }

  .password-rules {
    margin-top: 20px;
    margin-bottom: 25px;
    padding-left: 25px;
    font-size: 16px;
    line-height: 1.23;
  }

  .password-rules li {
    padding-left: 5px;
  }

  .password-rules ul {
    padding-left: 19px;
  }

  .password-form {
    margin-top: 0;
  }

  .password-form .form-control + .visually-hidden + .form-control {
    margin-top: 18px;
  }

  .confirm-action-row {
    margin-top: 29px;
  }

  .form-control {
    height: 48px;
    font-size: 19px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .action-row {
    flex-direction: column-reverse;
    gap: 22px;
    margin-top: 31px;
  }

  .continue-btn {
    width: 100%;
    height: 47px;
    font-size: 16px;
  }

  .confirm-btn {
    min-width: 0;
  }

  .password-page .card-body-wrap {
    padding-bottom: 39px;
  }

  .password-layout {
    --bs-gutter-x: 0;
  }

  .login-link {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .card-body-wrap {
    padding-right: 48px;
    padding-left: 48px;
  }

  .copy-column {
    max-width: 590px;
  }

  .reset-illustration {
    width: 280px;
    margin-bottom: 24px;
  }
}
