
/* Overlay que bloquea el fondo */
.overlay-emailVerification {
  display: none; /* mientras probamos, luego lo pones en none */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* semi-transparente */
  z-index: 9998; /* detrás del cuadro */
}

/* Contenedor del cuadro de verificación */
#emailVerificationBox {
  display: none; /* mientras probamos */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centra perfectamente */
  width: 350px; /* ancho fijo o adaptativo */
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  z-index: 9999; /* encima del overlay */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Texto principal del cuadro */
#verifyEmailText {
  margin-bottom: 8px;
  font-weight: 600;
}

/* Input de código de verificación */
#verificationCode {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 2px solid #052a51;
  margin-bottom: 10px;
  font-size: 14px;
  text-align: center;
}

#verificationCode:focus{
  border: none;
}

/* Botón de verificar código */
#verifyCodeBtn {
  width: 100%;
  padding: 10px;
  background: #052a51;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

/* Opcional: hover para el botón */
#verifyCodeBtn:hover {
  background: #031a32;
}

/* Botón de reenviar código */
#resendCodeBtn {
  width: 100%;
  padding: 10px;
  background: #ccc; /* gris cuando está deshabilitado */
  color: #333;
  border: none;
  border-radius: 6px;
  cursor: not-allowed; /* cursor distinto mientras está deshabilitado */
  font-weight: 600;
  margin-top: 8px;
  transition: background 0.3s, color 0.3s;
}

/* Cuando está habilitado */
#resendCodeBtn:enabled {
  background: #052a51;
  color: white;
  cursor: pointer;
}

#resendCodeBtn:enabled:hover {
  background: #031a32;
}
