html {
  height: 100%;
}
body {
  background: #e9eef2;
  height: 100%;
}
.main-card-wrapper {
  padding: 50px 16px;
  min-height: calc(100% - 114px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.main-card-wrapper ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.main-navbar {
  background: white !important;
  height: 114px;
  position: relative;
  border-radius: none;
}
.main-logo {
  margin: auto;
}
.main-logo img {
  height: 44px;
}
.main-card {
  width: 100%;
  max-width: 411px;
  border-radius: 16px;
  background: white;
  padding: 24px 16px;
  box-shadow: 0px 4px 20px 0px #00376526;
  position: relative;
}
.main-card * {
  z-index: 1;
  position: relative;
}
.main-card-icon {
  margin: auto;
  display: block;
  margin-bottom: 24px;
}
.card-inner-shadow {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  z-index: 0;
}
.card-title {
  margin: 0;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.1px;
  line-height: 33px;
  color: rgba(0, 55, 101, 1);
  text-align: center;
  font-family: "Open Sans", sans-serif;
}
.field-label {
  line-height: 19px;
  font-size: 14px;
  letter-spacing: 0.1px;
  color: rgba(0, 55, 101, 1);
  font-family: "Open Sans", sans-serif;
  display: block;
  margin-bottom: 8px;
}
.field-input {
  height: 48px;
  border-radius: 16px;
  border: 2px solid rgba(0, 55, 101, 1);
  color: rgb(0, 55, 101);
  padding: 0 16px;
  width: 100%;
  margin-bottom: 16px;
}
.field-input:focus {
  outline: 1px solid rgba(0, 55, 101, 1);
}
.field-input::placeholder {
  color: rgba(87, 122, 156, 1);
}
.login-identifier-hint {
  margin: -8px 0 24px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  line-height: 17px;
  letter-spacing: 0.1px;
  color: rgba(0, 55, 101, 1);
}
.login-identifier-hint p {
  margin: 0 0 4px;
}
.login-identifier-hint p:last-child {
  margin-bottom: 0;
}
.login-identifier-hint strong {
  font-weight: 700;
}
.login-value-label {
  color: rgba(0, 55, 101, 1);
  font-weight: 600;
  font-size: 14px;
  word-break: break-all;
}
.change-password-wrapper {
  text-align: right;
  margin-bottom: 24px;
}
.change-password-wrapper a {
  color: rgba(0, 55, 101, 1);
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  line-height: 25px;
}
.registration-label {
  color: rgba(0, 55, 101, 1);
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  line-height: 22px;
  margin-bottom: 24px;
  display: block;
}
.primary-btn {
  height: 48px;
  border-radius: 16px;
  padding: 0 24px;
  background: linear-gradient(88.15deg, #002f56 0%, #00609d 100%);
  border: 1px solid;
  border-image-source: linear-gradient(88.15deg, #002f56 0%, #00609d 100%);
  color: white;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.1px;
  font-family: "Open Sans", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.secondary-btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  border-radius: 16px;
  padding: 0 24px;
  color: rgba(0, 55, 101, 1);
  background: white;
  border: 1px solid #00609d;
  box-shadow: 0px 0px 16px 0px rgba(0, 38, 77, 0.16);
  font-weight: 600;
}
.primary-btn:not(:disabled):hover,
.secondary-btn:not(:disabled):hover {
  text-decoration: none;
  outline: 1px solid rgba(0, 55, 101, 1);
}
.secondary-btn:not(:disabled):hover {
  color: rgba(0, 55, 101, 1);
}
.primary-btn:disabled {
  background: rgba(247, 249, 251, 1);
  border: 1px solid rgba(206, 209, 210, 1);
  color: rgba(158, 163, 165, 1);
}
.primary-btn:disabled svg path {
  fill: rgba(158, 163, 165, 1) !important;
  color: rgba(158, 163, 165, 1) !important;
}
.main-btn-wrapper {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: solid 1px rgba(191, 221, 234, 1);
}
.password-wrapper {
  position: relative;
}
.password-wrapper input {
  padding-right: 50px;
}
.password-wrapper .input-icon {
  position: absolute;
  z-index: 2;
  width: 25px;
  height: 24px;
  right: 15px;
  top: 12px;
  cursor: pointer;
}
.custom-alert.alert {
  background: rgba(224, 248, 237, 1);
  border: 1px solid rgba(28, 131, 81, 1);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  width: 100% !important;
  max-width: 411px !important;
  margin: 0 !important;
  margin-top: -16px !important;
}
.custom-alert.alert.alert-danger {
  background: rgba(255, 242, 244, 1);
  border: 1px solid rgba(227, 0, 0, 1);
}
.custom-alert.alert .text-danger,
.custom-alert.alert .text-success {
  color: rgba(2, 5, 6, 1) !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}
.info-message,
.error-message,
.success-message {
  margin: 0;
  width: 100% !important;
  max-width: 411px !important;
}
.info-message,
.success-message,
.error-message {
  border: 1px solid rgba(227, 0, 0, 1);
  background: rgba(255, 242, 244, 1);
  padding: 16px;
  border-radius: 8px;
  gap: 8px;
  display: flex;
  align-items: center;
}
.success-message {
  border: 1px solid rgba(28, 131, 81, 1);
  background: rgba(224, 248, 237, 1);
}
.info-message {
  border: 1px solid rgba(69, 213, 235, 1);
  background: rgba(205, 241, 248, 1);
}
.info-message .alert,
.success-message .alert,
.error-message .alert {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  flex: 1;
}
.info-message svg,
.success-message svg,
.error-message svg {
  width: unset;
}
.info-message .alert.alert-info .text-center,
.success-message .alert.alert-success .text-center,
.error-message .alert.alert-danger .text-danger {
  color: rgba(2, 5, 6, 1) !important;
  text-align: left !important;
}
.info-message .alert.alert-info .sub-text,
.success-message .alert.alert-success .sub-text,
.error-message .alert.alert-danger .sub-text {
  color: rgba(2, 5, 6, 1) !important;
  text-align: left !important;
  font-weight: 400 !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}
.mt-6 {
  margin-top: 24px;
}
.mb-6 {
  margin-bottom: 24px;
}

.login-app.is-cloaked {
  display: none;
}
/* SA-21676: the show/hide password toggle is a real button, so it is reachable by
   keyboard and exposed to assistive technology. Keep it looking like the old icon. */
.password-wrapper .input-icon-btn {
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
}
.password-wrapper .input-icon-btn img {
  width: 100%;
  height: 100%;
  display: block;
}
.password-wrapper .input-icon-btn:focus-visible {
  outline: 2px solid rgba(0, 55, 101, 1);
  outline-offset: 2px;
  border-radius: 4px;
}

/* SA-21712 / SA-21704: the asterisk legend and the instructions that say what has to be
   filled in before the submit button becomes available. */
.required-legend,
.form-hint {
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  line-height: 17px;
  letter-spacing: 0.1px;
  color: rgba(0, 55, 101, 1);
}
.required-legend {
  margin: 0 0 16px;
}
.form-hint {
  margin: 0 0 8px;
}

/* SA-21713: after a failed submit the error message takes focus so that it is announced
   straight away. That focus is programmatic, not a keyboard move, so it should not paint
   the ring a tabbed-to control gets - but a genuine keyboard focus still should. */
.error-message:focus {
  outline: none;
}
.error-message:focus-visible {
  outline: 2px solid rgba(0, 55, 101, 1);
  outline-offset: 2px;
  border-radius: 8px;
}
