
/* Estilos Generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #1a1a1d;
  overflow: hidden;
  color: #fff;
}

/* Fondo de Dragón Animado */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('dragon.gif') no-repeat center;
  background-size: contain;
  opacity: 0.1; /* Semi-transparente */
  animation: dragonMovement 15s infinite linear;
  z-index: -1;
}

/* Animación del Dragón */
@keyframes dragonMovement {
  0% {
      transform: translateX(-50%) translateY(-20%);
  }
  50% {
      transform: translateX(50%) translateY(20%);
  }
  100% {
      transform: translateX(-50%) translateY(-20%);
  }
}

/* Contenedor de Login */
.container, .login-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.login-content {
  background: rgba(34, 40, 49, 0.8);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

/* Título */
.title {
  font-size: 2rem;
  color: #66fcf1;
  margin-bottom: 1.5rem;
}

/* Input Styles */
.input-div {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-bottom: 2px solid #66fcf1;
}

.input-div .i {
  margin-right: 0.5rem;
}

.input-div .input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  width: 100%;
  padding: 0.5rem;
}

/* Placeholder Animation */
.input-div h5 {
  position: absolute;
  left: 10px;
  top: 15px;
  color: #aaa;
  transition: 0.3s;
  pointer-events: none;
}

.input-div .input:focus ~ h5,
.input-div .input:not(:placeholder-shown) ~ h5 {
  top: -10px;
  font-size: 12px;
  color: #66fcf1;
}

/* Botón de Login */
.btn {
  background-color: #66fcf1;
  color: #1a1a1d;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background-color: #45a29e;
}

/* Ojo para Ver Contraseña */
.view .fas {
  color: #66fcf1;
  cursor: pointer;
  font-size: 1.2rem;
}

.view .fas:hover {
  color: #45a29e;
}

