@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
}
html {
  height: 100%;
  
}

body {
  min-height: 100vh;   /* full screen en todos los devices */
  margin: 0;
  justify-content: center;
  background: #111;
  padding: 20px env(safe-area-inset-bottom) 20px;
  display: flex;
  flex-direction: column;   /* apilamos header‑main‑footer */
  overflow-x: hidden;
  touch-action: pan-y;
}



.ring {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  padding: 1rem;
  min-height: 100vh; /* ¡aquí está la magia del centrado vertical! */
  box-sizing: border-box;
}

.ring > i {
  position: absolute;
  inset: 0;
  border: 2px solid #fff;
  transition: 0.5s;
}
.ring > i:nth-child(1) {
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  animation: animate 6s linear infinite;
}
.ring > i:nth-child(2) {
  border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
  animation: animate 4s linear infinite;
}
.ring > i:nth-child(3) {
  border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
  animation: animate2 10s linear infinite;
}
.ring:hover > i {
  border: 6px solid var(--clr);
  filter: drop-shadow(0 0 20px var(--clr));
}
@keyframes animate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes animate2 {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
/* styles.css o sobrescribe en un bloque <style> */
.login {
  position: relative;
  max-width: 320px;
  width: 100%;
  padding: 1.5rem;
  background: #1a1a1a;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}


.login h2 {
  font-size: 2em;
  color: #fff;
}
.login .inputBx {
  position: relative;
  width: 100%;
}
.login .inputBx input {
  position: relative;
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 40px;
  font-size: 1.2em;
  color: #fff;
  box-shadow: none;
  outline: none;
}
.login .inputBx input[type="submit"] {
  width: 100%;
  background: #9c27b0;
  background: linear-gradient(45deg, #9c27b0, #7b1fa2);
  border: none;
  cursor: pointer;
}
.login .inputBx input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}
.login .links {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.login .links a {
  color: #fff;
  text-decoration: none;
}

.error {
    color: #ff0057; /* Rojo llamativo */
    font-weight: bold;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2); /* Fondo semitransparente */
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}


.mensaje {
    color: #00ff0a; /* Verde brillante para que destaque */
    font-weight: bold;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1); /* Fondo semitransparente */
    padding: 10px;
    border-radius: 5px;
}
.logo {
    width: 160px;
    margin: 30px auto;
    display: block;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(142, 45, 226, 0.5);
}

h2 {
    margin: 0 auto; /* Opcional: Centra el elemento h2 horizontalmente */
    text-align: center;
}

#eyeIcon {
    color: #9c27b0;
    animation: none !important;
    transition: none !important;
}
#loading i {
    color: #9c27b0;
    font-size
}