/* Garante que os ícones tenham tamanho consistente */
.toggle-password i {
  width: 20px;
  height: 20px;
  display: block;
}

/* Garante que o input tenha padding suficiente para o botão */
.input-password {
  position: relative;
}

.input-password .auth-input {
  padding-right: 45px !important; /* Espaço para o botão do olho */
  width: 100%;
  box-sizing: border-box;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.toggle-password:hover {
  color: rgb(255 255 255 / 74%)
}


/* =========================================
   🔐 REGRAS DE SENHA (Django help_text)
   Estilo limpo, moderno e sem bullets
========================================= */

.password-rules {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Remove completamente o estilo de lista */
.password-rules ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Cada regra vira uma linha simples */
.password-rules li {
  margin-bottom: 6px;
  opacity: 0.9;
}

/* Última regra sem espaçamento extra */
.password-rules li:last-child {
  margin-bottom: 0;
}


/* =========================================
   🔘 BOTÃO LINK — AUTH (reset / sucesso)
   Força <a> a se comportar como botão
========================================= */

.auth-btn-link {
  /* Comportamento de botão */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Remove aparência de link */
  text-decoration: none !important;
  color: #fff !important;

  /* Dimensões e espaçamento */
  width: 100%;
  height: 51px;
  margin-top: 22px;

  /* Tipografia */
  font-size: 16px;
  font-weight: 600;

  /* Visual */
  background: var(--gradient-main);
  border-radius: 15px;
  border: none;

  /* Interação */
  cursor: pointer;
  user-select: none;
}
