html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.forms-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 440px;
  padding: 0 16px;
  height: 100%;
  gap: 24px;
}

.login-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 185px;
}

.login-logo-wrapper .login-logo {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

#section-login-form,
#section-recover-form {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  margin: 0 16px;
  flex-direction: column;
  gap: 24px;
}

.form-title-login {
  display: flex;
  flex-direction: column;
  width: 200px;
  text-align: center;
}

.form-title-recover {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

.form-title-login .login-title {
  color: #323232;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: flex-start;
  gap: 24px;
}

/*Nullifying browser default*/
input:focus {
  outline: none;
}
button:focus {
  outline: none !important;
}

.background {
  /*width: auto;*/
  /*height: auto;*/
  background: #ffffff;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  /*position:absolute;*/
  /*top: 0;*/
  /*bottom: 0;*/
  /*right: 0;*/
  /*left: 0;*/
}

/*Login and recover password forms*/
.form-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.form-box input[type="text"],
.form-box input[type="password"] {
  border-radius: 0;
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: #fff;
  padding-bottom: 0;
  width: 100%;
}

.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/*Fields*/
.field-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}

.widget-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}

.field-area {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 4px;
  text-align: left;
  justify-content: flex-start;
  align-items: flex-start;
}

.field-label {
  width: 100%;
  font-size: 16px;
  color: #383838;
  display: block;
}

.warning-field {
  display: flex;
  border-radius: 8px;
  flex-direction: row;
  width: 100%;
  gap: 12px;
  color: #9e0505 !important;
  font-size: 16px;
  border: 1px solid #ff9e9e;
  background-color: #ffebeb;
  padding: 8px 12px;
  align-items: center;
  justify-content: flex-start;
}

.warning-field svg {
  width: 18px;
  height: 18px;
}

.warning-field div,
.warning-field span,
.warning-field p {
  color: #9e0505 !important;
  line-height: 21px !important;
  flex: 1;
  font-size: 14px;
}

.info-field {
  display: flex;
  border-radius: 8px;
  flex-direction: row;
  width: 100%;
  gap: 12px;
  color: #1172eb !important;
  font-size: 16px;
  border: 1px solid #0053c2;
  background-color: #eaf3ff;
  padding: 8px 12px;
  align-items: center;
  justify-content: flex-start;
}

.info-field svg {
  width: 18px;
  height: 18px;
}

.info-field div,
.info-field span,
.info-field p {
  color: #1172eb !important;
  line-height: 21px !important;
  flex: 1;
  font-size: 14px;
}

.observation-container {
  border-radius: 8px;
  border: 1px solid #fedf89;
  background-color: #fffaeb;
  color: #9e3d05;
  justify-content: flex-start;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
}

.observation-container svg {
  width: 48px;
}

.field-area > .observation-container > p {
  text-align: left;
}

.field-box {
  display: flex;
  flex-direction: row;
  padding: 0;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  box-sizing: border-box;
  border-radius: 8px;
  height: 44px;
  width: 100%;
  overflow: hidden;
}

.field-box input {
  border: none;
  box-shadow: none;
  outline: none;
  height: 100%;
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  color: #000000;
}

.box-text {
  position: static;
  /*width: 368px;*/
  height: 23px;
  left: 16px;
  top: 16px;

  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 21px;

  letter-spacing: -0.01em;

  color: rgba(0, 0, 0, 0.6);

  flex: none;
  align-self: center;
}

.switch-form {
  width: 100%;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  color: var(--secondary-color);
  text-align: center;
  text-decoration: underline;
}

.recover-text {
  width: 100%;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 27px;
  text-align: center;
  letter-spacing: -0.02em;
  color: #323232;
  margin: 0;
}

.passwords-area {
  position: relative;
  width: 100%;
  height: 21px;
  left: 0px;
  top: 0px;

  flex: none;
  align-self: center;
  margin-bottom: 8px;
}

.forgot-password-link {
  width: 100%;
  text-align: left;

  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: -0.01em;

  color: var(--secondary-color);

  flex: none;
  align-self: center;
}

.forgot-password-link a {
  font-weight: 700;
  font-size: 14px;
  color: #00779d;
  text-decoration: underline;
}

::placeholder {
  position: static;
  /*width: 368px;*/
  height: 21px;
  left: 16px;
  top: 16px;

  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 21px;

  letter-spacing: -0.01em;

  color: rgba(0, 0, 0, 0.2);

  flex: none;
  align-self: center;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
}

/*Keep me*/
.keep-me-area {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.keep-me-text {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 143%; /* 20.02px */
  letter-spacing: 0.15px;
  color: #344054;
}

/*Submit button*/
.submit-btn {
  display: flex;
  flex-direction: row;
  padding: 16px 40px;
  width: 100%;
  justify-content: center;

  position: static;
  height: 43px;
  left: 0;
  top: 278px;

  background: var(--primary-color);
  border-radius: 8px;

  flex: none;
  align-self: center;
  border-width: 0;
  margin-right: auto;
  margin-left: auto;
}

.submit-btn:hover {
  cursor: pointer;
}

.submit-btn:disabled,
.submit-btn[disabled] {
  background: #cddffa;
  cursor: initial;
}

.submit-text {
  position: static;
  /*width: 320px;*/
  height: 21px;
  left: 40px;
  top: 16px;

  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 21px;

  text-align: center;
  letter-spacing: -0.02em;

  color: #ffffff;

  flex: none;
  align-self: center;
}

/*Wrong credentials*/
.wrong-credential {
  position: static;
  left: 32px;
  top: 7.5px;

  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 21px;

  letter-spacing: -0.01em;

  color: #f04438;

  flex: none;
  order: 1;
  align-self: center;
  margin: 8px 0px;
  white-space: unset;
  width: 100%;
}

.warning-field {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 8px;
  color: #f04438;
  font-size: 16px;
}

.wrong-credential-box {
  border: 2px solid #f04438;
}

/*Recover password errors*/
.reset-error-title {
  font-style: normal;
  font-weight: normal;
  font-size: 27px;
  line-height: 27px;
  margin-bottom: 20px;

  text-align: center;
  letter-spacing: -0.02em;

  color: #f04438;

  flex: none;
  order: 0;
  align-self: flex-start;
}

.reset-success-title {
  font-style: normal;
  font-weight: normal;
  font-size: 27px;
  line-height: 27px;
  margin-bottom: 20px;

  text-align: center;
  letter-spacing: -0.02em;

  color: #35964f;

  flex: none;
  order: 0;
  align-self: flex-start;
}

.reset-text {
  position: static;
  left: 0px;
  top: 0px;

  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 17px;

  text-align: justify;
  letter-spacing: -0.02em;

  color: rgba(0, 0, 0, 0.6);

  flex: none;
  order: 0;
  align-self: flex-start;
}

/*Login divider*/
.login-divider {
  display: flex;
  align-items: center;
  width: 100%;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e4e4e4;
}

.login-divider-text {
  padding: 0 16px;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 21px;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
}

/*Google sign in btn*/

.google-btn {
  display: flex;
  height: 43px;
  width: 100%;
  padding: 10px 16px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid #c6c6c6;
  background: #fff;
  box-shadow: none;
}

.google-icon-wrapper {
  width: 40px;
  height: 40px;
}

.btn-text {
  margin: 0 10px 0 0;
  align-self: center;
  color: #344054;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.15px;
}
.google-btn:hover,
.google-btn:hover .google-icon-wrapper {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02)),
    #ffffff;
}
.google-btn:active,
.google-btn:active .google-icon-wrapper {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)),
    #ffffff;
}

.login-terms-links {
  display: flex;
  gap: 16px;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.login-terms-links .link {
  color: #4f4f4f !important;
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  cursor: pointer;
}

/* CSS Loader */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;

  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #00779d;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
}

#loader-message {
  margin-top: 16px;
  font-size: 14px;
  color: #323232;
  text-align: center;
  padding: 0 8px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
