/* --------- RESET GLOBAL --------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --------- CHANGE PASSWORD PAGE --------- */
.baya-auth-page.reset {
  background-image: url('/wp-content/plugins/bayamais-core/assets/images/rio-alterar-senha.svg');
  background-repeat: no-repeat;
  background-size: 100% 75%;
  background-position: bottom;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Caixa de alteração de senha */
.baya-auth-page.reset .login-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  text-align: center;
  margin-top: 5%;
  max-width: 600px;
  width: 100%;
}

/* Título */
.baya-auth-page.reset .login-box h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 30px;
}

/* Formulário (todos os passos) */
.baya-auth-page.reset form {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Grupo de inputs */
.baya-auth-page.reset .input-group,
.baya-auth-page.reset .password-group {
  display: flex;
  flex-direction: column;
  width: 626px;
}

.baya-auth-page.reset .input-group p,
.baya-auth-page.reset .password-group p {
  width: 320px;
  text-align: center;
  align-self: center;
}

/* Labels */
.baya-auth-page.reset .input-group label,
.baya-auth-page.reset .password-group label {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
  text-align: center;
  align-self: center;
  line-height: 130%;
  width: 500px;
}

/* --------- INPUTS DE TEXTO, EMAIL E SENHA --------- */
.baya-auth-page input[type="text"],
.baya-auth-page input[type="email"],
.baya-auth-page input[type="password"] {
  width: 100%;
  padding: 16px 35px;
  border-radius: 30px;
  border: 1px solid #9A9A9A;
  background: var(--off-white, #f8f8f8);
  font-size: 15px;
  box-sizing: border-box;
  outline: none;
}

/* --------- WRAPPER DE SENHA COM ÍCONE DE OLHO --------- */
.baya-auth-page .password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 30px;
  border: 1px solid #9A9A9A;
  background: var(--off-white, #f8f8f8);
  font-size: 15px;
  box-sizing: border-box;
}

/* Ícone para mostrar/ocultar senha */
.baya-auth-page .toggle-password {
  position: absolute;
  right: 16px;
  cursor: pointer;
  width: 24px;
  height: 24px;
}

/* Botão */
.baya-auth-page.reset .btn-login {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 35px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: var(--black, #020202);
  color: white;
  border: 2px solid var(--black, #020202);
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  align-self: center;
}

/* Texto de reenvio de código */
.baya-auth-page.reset .resend-text {
  font-size: 14px;
  margin-top: 6px;
  text-align: center;
  color: black;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.baya-auth-page.reset .resend-text a {
  color: black;
  font-weight: 500;
  text-decoration: underline;
  white-space: nowrap;
}

/* Etapas */
.baya-auth-page.reset .step {
  display: none;
}

.baya-auth-page.reset .step.active {
  display: block;
}
