/*
    Here you can change the style of the login/register pages
*/
:root {
  --black: #000000;
  --white: #ffffff;
  --color-1: #e6e6e6;
  --color-2: #ebf0f5;
  --color-3: #ced7e0;
}

body.darkmode {
  --color-1: #090f14;
  --color-2: #25323d;
  --color-3: #25323d;
}

/* Styling for the user pages */
.user-page {
  background: var(--color--quaternary-50);
}
.user-page.user-login-page .container-all {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .user-page.user-login-page .container-all {
    flex-direction: column;
  }
}
.user-page.user-login-page .container-all .container-left,
.user-page.user-login-page .container-all .container-right {
  width: 50%;
  padding: 40px 60px;
}
@media (max-width: 767px) {
  .user-page.user-login-page .container-all .container-left,
  .user-page.user-login-page .container-all .container-right {
    padding: 20px 40px 40px 40px;
    width: 100%;
  }
}
.user-page.user-login-page .container-all .container-left {
  display: flex;
  justify-content: center;
}
.user-page.user-login-page .container-all .container-left .container-left-text {
  max-width: 400px;
}
@media (max-width: 767px) {
  .user-page.user-login-page .container-all .container-left .container-left-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
}
.user-page.user-login-page .container-all .container-left .container-left-text * {
  color: var(--white);
}
.user-page.user-login-page .container-all .container-left .container-left-text .site-brand img {
  height: 50px;
  width: auto;
}
.user-page.user-login-page .container-all .container-left .container-left-text .title-left h1 {
  margin: 10px 0;
}
@media (max-width: 767px) {
  .user-page.user-login-page .container-all .container-left .container-left-text .create-account {
    margin-left: 5px;
  }
}
.user-page.user-login-page .container-all .container-left .container-left-text .create-account a:after {
  content: "\e922";
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  font-family: "icon";
  transition: transform 0.7s ease;
  vertical-align: -2px;
}
.user-page.user-login-page .container-all .container-right {
  background: var(--white);
  border-radius: 10px;
  margin: 90px 0px;
}
@media (max-width: 767px) {
  .user-page.user-login-page .container-all .container-right {
    margin: 0px 0px 50px 0px;
  }
}
.user-page.user-login-page .container-all .container-right .title-right h1 {
  color: var(--color--primary-50);
  font-size: 34px;
  margin: 10px 0px;
}
.user-page.user-login-page .container-all .container-right .reset-password {
  float: right;
  margin: 0px 10px;
}
.user-page.user-login-page .container-all .container-right .form-actions {
  display: flex;
  justify-content: end;
  margin: 0px 10px;
}
.user-page.user-pass-page .container-center-content {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  min-height: 60vh; /* Make sure it takes the full height of the viewport */
}
.user-page.user-pass-page input {
  margin: 0;
}
.user-page.user-pass-page .user-pass p {
  color: #B8BABC;
  font-size: 10px;
  line-height: 13px;
  font-style: italic;
}
.user-page.user-register-page .form-item-mail input,
.user-page.user-register-page .form-item-name input,
.user-page.user-register-page .form-item-contact input {
  margin: 0;
}
.user-page.user-register-page .form-item-mail .description,
.user-page.user-register-page .form-item-name .description,
.user-page.user-register-page .form-item-contact .description {
  display: block;
  color: #B8BABC;
  font-size: 10px;
  line-height: 13px;
  font-style: italic;
  margin: 10px 0px 20px 0px;
}
.user-page.user-register-page .form-item-contact input {
  position: absolute;
  right: -45%;
  bottom: 20px;
}
.user-page.user-register-page .form-item-contact .description {
  margin: 10px 50px 20px 0px;
}
.user-page.user-register-page details summary {
  display: none;
}
.user-page.user-register-page .form-item-pass-pass1 input {
  margin-bottom: 20px;
}
.user-page.user-register-page .form-item-pass-pass2 input {
  margin: 0;
}
.user-page.user-register-page .password-strength .password-strength__indicator.is-weak {
  background-color: #FAD4CC;
}
.user-page.user-register-page .password-strength .password-strength__indicator.is-fair {
  background-color: #FFE4CC;
}
.user-page.user-register-page .password-strength .password-strength__indicator.is-good {
  background-color: #CCE3F2;
}
.user-page.user-register-page .password-strength .password-strength__indicator.is-strong {
  background-color: #CCF5DF;
}
.user-page.user-register-page .password-confirm-message {
  font-size: 12px;
  margin-bottom: 10px;
}
.user-page.user-register-page .password-strength,
.user-page.user-register-page .password-suggestions {
  margin-bottom: 30px;
  font-size: 12px;
}
.user-page .container-user-pages {
  background: var(--white);
  border-radius: 10px;
  margin: 25px auto;
  padding: 40px 60px;
  width: 50%;
}
@media (max-width: 767px) {
  .user-page .container-user-pages {
    width: 100%;
    padding: 20px 40px 40px 40px;
  }
}
.user-page .container-user-pages .block-page-title-block {
  padding: 0px;
}
.user-page .container-user-pages h1 {
  color: var(--color--primary-50);
  font-size: 34px;
  margin: 10px 0px;
}
.user-page .container-user-pages .form-actions {
  display: flex;
  justify-content: end;
  margin: 0px 10px;
  padding-top: 20px;
}
.user-page .js-form-item {
  position: relative;
  overflow: unset;
}
.user-page .js-form-item .description {
  display: none;
}
.user-page .js-form-item.form-item-pass input {
  padding: 10px 40px 15px 0;
}
.user-page .js-form-item.form-item-pass .forgot-password {
  position: absolute;
  top: 2px;
  right: 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--color--quaternary-50);
  text-align: right;
}
@media (max-width: 990px) {
  .user-page .js-form-item.form-item-pass .forgot-password {
    width: 62%;
  }
}
.user-page .js-form-item.form-item-pass .toggle-password {
  position: absolute;
  right: 0;
  top: 50%;
}
.user-page .js-form-item.form-item-pass .toggle-password:after {
  position: absolute;
  color: var(--color--quaternary-50);
  content: "\e914";
  font-family: "icon";
  font-size: 24px;
  vertical-align: middle;
  right: 0;
}
.user-page .js-form-item.form-item-pass .toggle-password.icon-eye-slash:after {
  content: "\e931";
}
.user-page .js-form-item.focused label {
  color: var(--color--quaternary-50);
  font-size: 14px;
}
.user-page .js-form-item.focused label:after {
  filter: invert(18%) sepia(39%) saturate(6391%) hue-rotate(211deg) brightness(90%) contrast(102%);
}
.user-page .js-form-item.focused input {
  color: var(--black);
  font-weight: 400;
  border-bottom: 1px solid var(--color--quaternary-50);
}
.user-page .js-form-item.focused input.is-invalid {
  border-bottom: 1px solid #FAD4CC;
}
.user-page .js-form-item.focused input::placeholder {
  opacity: 0;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.user-page .js-form-item input {
  width: 100%;
  display: block;
}
.user-page .js-form-item input::placeholder {
  color: var(--color-3);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  opacity: 1;
}
.user-page label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color--quaternary-50);
  line-height: 16px;
  pointer-events: none;
  text-transform: uppercase;
}
.user-page label:before {
  display: none;
}
.user-page label:after {
  filter: grayscale(1);
}
.user-page input,
.user-page .select2-selection {
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid var(--color--quaternary-50);
  border-radius: 0;
  background-color: transparent;
  padding: 10px 0px 15px 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: var(--color--quaternary-50);
  margin-bottom: 30px;
}
.user-page input:focus,
.user-page .select2-selection:focus {
  box-shadow: none;
}
.user-page input.is-invalid,
.user-page .select2-selection.is-invalid {
  color: #FAD4CC;
  border-bottom: 1px solid #FAD4CC;
}
.user-page .form-submit {
  font-size: 1rem;
  line-height: 20px;
  font-weight: 600;
  padding: 0.875rem 2.5rem;
  display: inline-block;
  text-decoration: none;
  outline-offset: 0.125rem;
  outline-width: 0.1875rem;
  transition: all 0.25s ease;
  border-radius: 0.25rem;
  background-color: var(--color--quaternary-50);
  border-color: var(--color--quaternary-50);
  color: #E6E9EB;
}
.user-page .form-submit:hover {
  cursor: pointer;
  background-color: var(--color--primary-50);
  border-color: var(--color--primary-50);
}
.user-page .form-submit:focus {
  outline-color: #8B5CD7;
  outline-style: solid;
  background-color: #00698F;
}
.user-page .form-submit:active {
  outline-color: #8B5CD7;
  outline-style: solid;
  background-color: var(--color--primary-50);
  border-color: var(--color--primary-50);
}
.user-page .form-submit:disabled {
  opacity: 0.4;
  background-color: var(--color--quaternary-50);
  border-color: var(--color--quaternary-50);
}
