@import url("./styles.css");
@import url("./header.css");
@import url("./footer.css");
@import url("./dark-mode.css");

.s-hero-login {
  background-color: var(--orange);
  padding-block: 22.3rem 8rem;
  position: relative;

  @media (max-width: 1023px) {
    padding-block: 12rem 4rem;
  }
}

.s-hero-login::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background: white;
  width: 100%;
  height: 16.1rem;
}

.s-hero-login .container .area-form {
  width: 100%;
  max-width: 82.7rem;
  margin: 0 auto;
  position: relative;
}

.s-hero-login .container .area-form .content-forms {
  width: 100%;
  max-width: 56rem;
  background-color: var(--black);
  margin: 0 auto;
  border-radius: 3.2rem;
  padding: 4rem;
  position: relative;
  z-index: 2;

  @media (max-width: 1023px) {
    padding: 2rem;
  }
}

.s-hero-login .container .area-form form .top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4rem;
  margin-bottom: 2.4rem;

  @media (max-width: 767px) {
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
  }
}

.s-hero-login .container .area-form form .top fieldset label {
  color: white;
}

.s-hero-login .container .area-form form fieldset .item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.s-hero-login .container .area-form form .group label,
.s-hero-login .container .area-form form .group input {
  display: block;
}

.s-hero-login .container .area-form form .group label {
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 140%;
}

.s-hero-login .container .area-form form .group.login {
  margin-bottom: 2.4rem;
}

.s-hero-login .container .area-form form input {
  width: 100%;
  padding: 1.1rem 1.6rem;
  border-radius: 2.4rem;
  background-color: white;
  color: var(--Cinza-Escuro, #5b5b5b);
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
}

.s-hero-login .container .area-form form .group a {
  color: var(--Branco, #fff);
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  margin-top: 5px;

  display: inline-block;
}

.s-hero-login .container .area-form form button[type="submit"] {
  padding: 1rem 1.6rem;
  background-color: var(--orange);
  width: 100%;
  color: var(--Branco, #fff);
  font-size: 20px;
  font-weight: 500;
  border-radius: 4.5rem;
  line-height: 140%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 4rem;
}

.s-hero-login .container .area-form form input[type="submit"]:hover {
  background-color: var(--orange-01);
}

.s-hero-login .container .area-form form .bottom {
  margin-top: 3.2rem;
  padding-top: 3.2rem;
  border-top: 1px solid white;
}

.s-hero-login .container .area-form form .bottom p {
  color: var(--Branco, #fff);
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 140%;
  margin-bottom: 0;
}

.s-hero-login .container .area-form form .bottom a {
  padding: 1rem 1.6rem;
  border-radius: 4.5rem;
  color: var(--orange);
  border: 1px solid var(--orange);
  font-size: 20px;
  font-weight: 500;
  line-height: 140%;
  text-align: center;
  display: inline-block;
  transition: all 0.3s ease;
  width: 100%;
}

.s-hero-login .container .area-form form .bottom a:hover {
  background-color: var(--orange);
  color: white;
}

.s-hero-login .container .area-form img:nth-child(1) {
  position: absolute;
  right: 43px;
  top: -60px;
  z-index: 4;

  @media (max-width: 767px) {
    display: none;
  }
}

.s-hero-login .container .area-form img.frame-bottom {
  position: absolute;
  left: -40px;
  bottom: 0;

  @media (max-width: 767px) {
    display: none;
  }
}

.s-hero-login .container .area-form h5,
.s-hero-login .container .area-form p {
  color: white;
}

.s-hero-login .container .area-form h5 {
  margin-bottom: 1.2rem;
  font-size: 2.4rem;
}

.s-hero-login .container .area-form p {
  margin-bottom: 2.4rem;
}

body.dark-mode .s-hero-login {
  background-color: var(--black);
}

body.dark-mode .s-hero-login::before {
  background-color: var(--black);
}

/* Redefinir a senha */

.s-hero-login .area-form .content-forms .buttons .secondary {
  margin-top: 2.4rem;
  width: 100%;
}

/* Autenticação de 2 fatores */

.s-hero-login.auth h1 {
  color: white;
  text-align: center;
  margin-bottom: 5.6rem;
}

.s-hero-login .label-title {
  text-align: center;
  color: white;
  text-align: center;
  margin-bottom: 1.6rem;
  display: block;
}

.s-hero-login.auth h2 {
  text-align: center;
  color: white;
  margin-bottom: 4rem;
}

.s-hero-login.auth .container .area-form form .otp-box {
  width: 100%;
  max-width: 4.4rem;
  border-radius: 12px;
  height: 4.4rem;
}

.s-hero-login.auth .container .area-form form button {
  display: block;
  margin-bottom: 8px;
}

.form-check-remember-device {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.form-check-remember-device label {
  color: white;
}

.form-check-remember-device #rememberDevice {
  appearance: none;
  background-color: white;
  /* Remove o estilo padrão do navegador */
  width: 2rem;
  height: 2rem;
  border: 1px solid orange;
  /* Define a borda laranja */
  border-radius: 50%;
  cursor: pointer;
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.form-check-remember-device #rememberDevice:checked,
.form-check-remember-device #rememberDevice.active {
  background-color: orange;
}

.form-check-remember-device #rememberDevice::before {
  content: "✔";
  font-size: 14px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.s-hero-login .container .area-form .content-forms label {
  margin-bottom: 8px;
}

.s-hero-login .container .area-form .form-text-resend {
  color: var(--Branco, #fff);
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 19.6px */
}

.s-hero-login .container .area-form #resendButton {
  background-color: transparent;
  padding: 0;
  margin: 0;
  color: var(--Laranja, #f19019);
  font-family: Poppins;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  max-width: fit-content;
}

.s-hero-login.auth .container .area-form .bottom .buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3.2rem;
}

.s-hero-login .container .area-form #countdownMessage {
  color: var(--Branco, #fff);
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  display: block !important;
  font-weight: 400;
  line-height: 140%;
  /* 19.6px */
  margin-bottom: 0;
}

.s-hero-login .container .area-form .alert span {
  color: white;
  display: block;
  margin-bottom: 1.2rem;
}

/* obs --> pós refatoração devemos ajustar isso e remover */
.alert_l {
  position: relative;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  border: 3px solid transparent;
  border-radius: 0.75rem;
  font-size: 1.5rem;
  line-height: 1.5;
  text-shadow: none;
}

.alert-success_l {
  color: white;
  background-color: var(--orange);
}

.alert-danger_l {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-danger_l a,
.alert-danger_l a:hover {
  color: #491217;
  font-weight: bold;
  text-decoration: underline;
}

.s-hero-login .nav-status-form {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 2.4rem;
  gap: 1rem;
}

.s-hero-login .nav-status-form a {
  color: var(--Branco, #fff);
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  border: 1px solid white;
  padding: 1rem;
  border-radius: 1rem;

  &.active {
    background-color: white;
    color: var(--orange);
  }
}
