@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&family=Inter:wght@400;500;600&display=swap");

html body,
nav.navbar {
  background-color: #faf9f8 !important;
  box-shadow: none !important;
}

section.jumio.password-update,
section.jumio.password-restore {
  padding: 0;
}

section.jumio.password-update .container,
section.jumio.password-restore .container {
  padding-top: 110px !important;
}

section.jumio.password-update div.box,
section.jumio.password-restore div.box {
  width: 600px;
  max-width: 100%;
  min-height: 600px;
  padding: 40px 50px;
  background-color: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 24px;
}

/* Title section */
section.jumio.password-update div.box h1.title,
section.jumio.password-restore div.box h1.title,
section.jumio.password-update div.box div#box-update-pass h1.title {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
  color: #222222;
  margin: 0 0 12px 0;
}

section.jumio.password-update div.box p.subtitle,
section.jumio.password-restore div.box p.subtitle,
section.jumio.password-update div.box form.password-form p.subtitle {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  color: #888888;
  margin: 0 0 30px 0;
}

/* Form fields */
section.jumio.password-update form.password-form div.form-group,
section.jumio.password-restore div.form-group.password-form,
section.jumio.password-update div#box-update-pass form.password-form div.form-group {
  margin-bottom: 20px;
}

section.jumio.password-update form.password-form label.form-control-label,
section.jumio.password-restore div.form-group.password-form label.form-control-label,
section.jumio.password-update div#box-update-pass form.password-form label.form-control-label {
  display: block;
  margin-bottom: 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 19px;
  letter-spacing: -0.02em;
  color: #414141;
}

section.jumio.password-update form.password-form div.input-wrapper,
section.jumio.password-update div#box-update-pass form.password-form div.input-wrapper {
  position: relative;
  width: 100%;
}

.styled-input,
section.jumio.password-update form.password-form input.styled-input,
section.jumio.password-restore div.form-group.password-form input.styled-input,
section.jumio.password-update div#box-update-pass form.password-form input.styled-input {
  width: 100%;
  height: 48px;
  padding: 14px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -0.02em;
  color: #000000;
  background-color: #f3f3f3;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

section.jumio.password-update form.password-form input.styled-input,
section.jumio.password-update div#box-update-pass form.password-form input.styled-input {
  padding: 14px 50px 14px 16px;
}

.styled-input:focus,
section.jumio.password-update form.password-form input.styled-input:focus,
section.jumio.password-restore div.form-group.password-form input.styled-input:focus,
section.jumio.password-update div#box-update-pass form.password-form input.styled-input:focus {
  outline: none;
  border-color: #1e7eee;
  background-color: #fff;
}

section.jumio.password-update form.password-form .btn-toggle-pass,
section.jumio.password-update div#box-update-pass form.password-form .btn-toggle-pass {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background-color: transparent;
  background-image: url("/img/ic_eye_closed.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

section.jumio.password-update form.password-form .btn-toggle-pass:hover,
section.jumio.password-update div#box-update-pass form.password-form .btn-toggle-pass:hover {
  opacity: 1;
}

section.jumio.password-update form.password-form .btn-toggle-pass.active,
section.jumio.password-update div#box-update-pass form.password-form .btn-toggle-pass.active {
  background-image: url("/img/ic_eye_open.svg");
}

/* Progress bar for password strength */
section.jumio.password-update form.password-form div.strength-progress,
section.jumio.password-update div#box-update-pass form.password-form div.strength-progress {
  width: 100%;
  height: 4px;
  margin: 30px 0 20px;
  background-color: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}

section.jumio.password-update form.password-form div.progress-bar,
section.jumio.password-update div#box-update-pass form.password-form div.progress-bar {
  height: 100%;
  width: 5%;
  background-color: #ddd;
  background-image: none;
  box-shadow: none;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}

section.jumio.password-update form.password-form div.progress-bar.pb-danger,
section.jumio.password-update div#box-update-pass form.password-form div.progress-bar.pb-danger {
  background-color: #e74c3c;
}

section.jumio.password-update form.password-form div.progress-bar.pb-warning,
section.jumio.password-update div#box-update-pass form.password-form div.progress-bar.pb-warning {
  background-color: #f1c40f;
}

section.jumio.password-update form.password-form div.progress-bar.pb-primary,
section.jumio.password-update div#box-update-pass form.password-form div.progress-bar.pb-primary {
  background-color: #3498db;
}

section.jumio.password-update form.password-form div.progress-bar.pb-success,
section.jumio.password-update div#box-update-pass form.password-form div.progress-bar.pb-success {
  background-color: #27ae60;
}

section.jumio.password-update form.password-form ul.password-requirements,
section.jumio.password-update div#box-update-pass form.password-form ul.password-requirements {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

section.jumio.password-update form.password-form ul.password-requirements li,
section.jumio.password-update div#box-update-pass form.password-form ul.password-requirements li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 19px;
  letter-spacing: -0.02em;
  color: #555;
}

section.jumio.password-update form.password-form ul.password-requirements li:last-child,
section.jumio.password-update div#box-update-pass form.password-form ul.password-requirements li:last-child {
  margin-bottom: 0;
}

section.jumio.password-update form.password-form ul.password-requirements li i,
section.jumio.password-update div#box-update-pass form.password-form ul.password-requirements li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  font-style: normal;
  font-size: 11px;
}

section.jumio.password-update form.password-form ul.password-requirements li i.icon-circle::before,
section.jumio.password-update div#box-update-pass form.password-form ul.password-requirements li i.icon-circle::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background-color: #181818;
  border-radius: 50%;
}

section.jumio.password-update form.password-form ul.password-requirements li i.icon-check::before,
section.jumio.password-update div#box-update-pass form.password-form ul.password-requirements li i.icon-check::before {
  content: "✓";
  color: #27ae60;
  font-weight: bold;
  font-size: 14px;
}

section.jumio.password-update form.password-form ul.password-requirements li.valid,
section.jumio.password-update div#box-update-pass form.password-form ul.password-requirements li.valid {
  color: #27ae60;
}

section.jumio.password-update form.password-form div.error-message.visible,
section.jumio.password-update div#box-update-pass form.password-form div.error-message.visible {
  display: block;
}

/* Success state box */
section.jumio.password-update div.box div#box-success-message,
section.jumio.password-update div#box-update-pass + div#box-success-message {
  text-align: center;
}

section.jumio.password-update div.box div#box-success-message h2.title,
section.jumio.password-update div#box-success-message h2.title {
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
  color: #222222;
  margin-bottom: 24px;
}

section.jumio.password-update div.box div#box-success-message div.foot,
section.jumio.password-update div#box-success-message div.foot {
  margin-top: 32px;
}

/* Help section */
section.jumio.password-update div.help,
section.jumio.password-restore div.help,
section.jumio.password-update div.container div.help {
  padding: 24px 0;
  text-align: center;
}

section.jumio.password-update div.help p,
section.jumio.password-restore div.help p,
section.jumio.password-update div.container div.help p,
section.jumio.password-update + div.help p {
  font-family: "Inter", sans-serif;
  color: #000000 !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  margin: 0;
}

section.jumio.password-update div.help p a,
section.jumio.password-restore div.help p a,
section.jumio.password-update div.container div.help p a {
  color: #000000 !important;
  font-weight: 600;
  text-decoration: none;
}

section.jumio.password-update div.help p a:hover,
section.jumio.password-restore div.help p a:hover,
section.jumio.password-update div.container div.help p a:hover {
  text-decoration: underline;
}

section.jumio.password-update div.help img.icon,
section.jumio.password-restore div.help img.icon,
section.jumio.password-update div.container div.help img.icon {
  margin-left: 4px;
  vertical-align: middle;
  width: 20px;
}

.jumio .box .foot {
  padding: 10px 50px 40px !important;
}

.errorMessage {
  color: #e43d4c;
  font-size: 0.8em;
  line-height: 1em;
  padding: 0.5em 0;
  position: static;
  visibility: visible;
}

.errorField.error {
  display: block !important;
}

.form-group.has-error,
.form-group.password-form.email-block.error,
.form-group.password-form.email-block .has-error {
  margin-bottom: 4px;
}

.form-group.has-error label.form-control-label,
.form-group.password-form.email-block.error label.form-control-label,
label.has-error {
  color: #e43d4c;
}

.styled-input.error-input,
.styled-input.error,
section.jumio.password-update form.password-form input.styled-input.error-input,
section.jumio.password-restore div.form-group.password-form input.styled-input.error-input,
section.jumio.password-update div#box-update-pass form.password-form input.styled-input.error-input,
.form-group.error .styled-input,
section.jumio.password-update form.password-form div.form-group.error input.styled-input,
section.jumio.password-restore div.form-group.password-form.error input.styled-input,
section.jumio.password-update div#box-update-pass form.password-form div.form-group.error input.styled-input {
  border-color: #e43d4c;
  background-color: #fff;
}

.styled-input.error-input:focus,
.styled-input.error:focus,
section.jumio.password-update form.password-form input.styled-input.error-input:focus,
section.jumio.password-restore div.form-group.password-form input.styled-input.error-input:focus,
section.jumio.password-update div#box-update-pass form.password-form input.styled-input.error-input:focus,
.form-group.error .styled-input:focus,
section.jumio.password-update form.password-form div.form-group.error input.styled-input:focus,
section.jumio.password-restore div.form-group.password-form.error input.styled-input:focus,
section.jumio.password-update div#box-update-pass form.password-form div.form-group.error input.styled-input:focus {
  outline: none;
  border-color: #e43d4c;
  background-color: #fff;
}

@media (max-width: 600px) {
  section.jumio.password-update .container,
  section.jumio.password-restore .container {
    padding-top: 60px !important;
  }

  section.jumio.password-update div.box,
  section.jumio.password-restore div.box,
  section.jumio.password-update div.container div.box {
    width: 100%;
    padding: 30px 24px 50px;
    border-left: none;
    border-right: none;
    border-radius: 16px;
  }

  section.jumio.password-update div.box h1.title,
  section.jumio.password-restore div.box h1.title,
  section.jumio.password-update div.box div#box-update-pass h1.title {
    font-size: 22px;
    line-height: 27px;
  }

  .styled-input,
  section.jumio.password-update form.password-form input.styled-input,
  section.jumio.password-restore div.form-group.password-form input.styled-input,
  section.jumio.password-update div#box-update-pass form.password-form input.styled-input {
    height: 48px;
    font-size: 16px;
  }
}
