body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #fff0f5;
      margin: 0;
      padding: 0;
    }

    .login-wrapper {
      max-width: 400px;
      margin: 4rem auto;
      background: #ffe4ec;
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      padding: 2rem;
      animation: fadeInUp 0.7s ease forwards;
      transform: translateY(20px);
      opacity: 0;
    }

    @keyframes fadeInUp {
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .cabecera {
      text-align: center;
      margin-bottom: 1.2rem;
    }

    .cabecera img {
      width: 90px;
      border-radius: 50%;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      margin-bottom: 0.5rem;
    }

    h1 {
      font-size: 1.7rem;
      color: #ad1457;
      margin-bottom: 1rem;
      text-align: center;
    }

    label {
      display: block;
      margin-top: 1rem;
      font-weight: bold;
      color: #880e4f;
    }

    input {
      width: 100%;
      padding: 0.8rem;
      margin-top: 0.4rem;
      border-radius: 8px;
      border: 1px solid #ccc;
      font-size: 1rem;
      background: #fff;
    }

    input:focus {
      border-color: #ec407a;
      outline: none;
    }

    .password-wrapper {
      position: relative;
    }

.toggle-pass {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.toggle-pass img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.toggle-pass img.cambiando {
  transform: scale(0.6);
  opacity: 0;
}

    .cambiando {
      transform: scale(0.6);
      opacity: 0;
    }

    button[type="submit"] {
      margin-top: 1.5rem;
      padding: 0.8rem;
      background-color: #f06292;
      border: none;
      color: white;
      border-radius: 10px;
      width: 100%;
      cursor: pointer;
      font-size: 1rem;
      transition: background 0.3s ease;
    }

    button[type="submit"]:hover {
      background-color: #ec407a;
    }

    @keyframes sacudir {
      0% { transform: translateX(0); }
      25% { transform: translateX(-5px); }
      50% { transform: translateX(5px); }
      75% { transform: translateX(-5px); }
      100% { transform: translateX(0); }
    }

    .sacudir {
      animation: sacudir 0.4s ease;
    }

    @keyframes saltito {
      0% { transform: scale(1); }
      20% { transform: scale(1.05); }
      40% { transform: scale(1); }
      60% { transform: scale(1.1); }
      100% { transform: scale(1); }
    }

    .mensaje-bienvenida {
      margin-top: 1.5rem;
      text-align: center;
      font-style: italic;
      color: #555;
      opacity: 0;
    }

    .salto-alegre {
      animation: saltito 1s ease forwards;
      opacity: 1;
    }

    .google-login {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.registro-info {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #880e4f;
}

.registro-info a {
  color: #ec407a;
  text-decoration: none;
  font-weight: bold;
  margin-left: 0.3rem;
}

.registro-info a:hover {
  text-decoration: underline;
}

.registro-info a {
  color: #ec407a;
  text-decoration: none;
  font-weight: bold;
  margin-left: 0.3rem;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.registro-info a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #ec407a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.registro-info a:hover {
  color: #ad1457;
  transform: translateY(-2px);
}

.registro-info a:hover::after {
  transform: scaleX(1);
}

main > a img {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10;
}

main > a img:hover {
  transform: scale(1.1) rotate(-5deg);
}
main > a img {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10;
}

main > a img:hover {
  transform: scale(1.1) rotate(-5deg);
}

/* 📱 Responsive para pantallas pequeñas */
@media (max-width: 480px) {
  main > a img {
    top: 15px;
    left: 15px;
    width: 40px;
  }
}
