/* Estilos generales */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
  height: 100%;
  background: linear-gradient(135deg, #5ea4f3, #bfb4f5);
}

.container {
  display: flex;
  height: 100vh;
  width: 100%;
}

/* Parte izquierda */
.left-side {
  flex: 1;
  padding: 50px 40px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo img {
  width: 150px; /* ajusta el tamaño del logo */
  margin-bottom: 30px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #111;
}

p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #333;
}

.error-message {
  color: #e74c3c;
  margin-bottom: 15px;
  font-weight: bold;
}

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #222;
}

form input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

form input:focus {
  border-color: #5ea4f3;
  outline: none;
}

button {
  width: 100%;
  padding: 15px;
  background-color: #5ea4f3;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #4a8de0;
}

.signin-text {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #222;
}

.signin-text a {
  color: #5ea4f3;
  text-decoration: none;
}

.signin-text a:hover {
  text-decoration: underline;
}

/* Parte derecha */
.right-side {
  flex: 1;
  background-image: url('../img/ladoderecho.jpg');
  background-size: cover;
  background-position: center;
  animation: gradientShift 15s ease infinite;
}


/* Animación de fondo */
@keyframes gradientShift {
  0% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(180deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .right-side {
    height: 250px;
  }
}
