/* General reset and body styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f4f8;
}

.container {
  display: flex;
  flex-direction: row;
  width: 800px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.5s ease;
}

/* Ajuste en la animación del cuadro verde */
.left-section {
  width: 50%;
  background: linear-gradient(135deg, #335b5f 50%, #4a868c 50%);
  padding: 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  animation: moveUp 1s ease-out forwards;
}

/* Animación actualizada usando margin-top */
@keyframes moveUp {
  0% {
    margin-top: 0;
  }
  100% {
    margin-top: -30px;
  }
}

.left-section h1 {
  font-size: 40px;
  margin-bottom: 20px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.left-section .illustration img {
  width: 100%;
  max-width: 250px;
  margin-bottom: 20px;
}

.left-section p {
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

.right-section {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  font-size: 14px;
  color: #666;
  display: block;
  margin-bottom: 5px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  color: white;
  background-color: #48c6ef;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: #6f86d6;
}

.links {
  margin-top: 15px;
  text-align: center;
}

.links a {
  text-decoration: none;
  color: #48c6ef;
  font-size: 14px;
  margin: 0 5px;
}

.links a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    width: 90%;
  }

  .left-section {
    width: 100%;
    height: 200px;
    animation: moveUpMobile 1s ease-out forwards;
  }

  .right-section {
    width: 100%;
    padding: 20px;
  }
}
/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    width: 90%;
  }

  .left-section {
    width: 100%;
    height: 200px;
    margin-top: 0;
    animation: moveUpMobile 1s ease-out forwards;
  }

  .right-section {
    width: 100%;
    padding: 20px;
  }
}

/* Animación móvil ajustada */
@keyframes moveUpMobile {
  0% {
    margin-top: 0;
  }
  100% {
    margin-top: -20px;
  }
}

.button-group {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  margin-top: 20px;
}

.forgot-password {
  color: #4a868c;
  text-decoration: none;
  font-size: 14px;
}

.forgot-password:hover {
  text-decoration: underline;
}


