
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f0f0f0, #ffffff);
  color: #2d2d2d;
}

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

.columna {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.izquierda {
  background-color: #4E2278;
  color: #fff;
  text-align: center;
  animation: fadeInLeft 1s ease-out;
}

.izquierda .logo {
  max-width: 100px;
  margin: 0 auto 20px;
}

.central {
  background-color: #ffffff;
  animation: fadeIn 1.5s ease-in;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.central h2 {
  text-align: center;
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 300px;
  margin: 0 auto;
}

input, select {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.input-icon {
  position: relative;
  margin-bottom: 15px;
}

.input-icon i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #4E2278;
  font-size: 1.1rem;
}

.input-icon input,
.input-icon select {
  padding-left: 35px;
  width: 100%;
  box-sizing: border-box;
}

.footer {
  margin-top: 20px;
  font-size: 12px;
  color: #aaa;
  text-align: center;
}

button {
  background-color: #7723D8;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

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

a {
  color: var(--color-acento);
  text-decoration: none;
  font-weight: bold;
  color: #f8690e;
  font-size: 14px;
}

a:hover {
  text-decoration: underline;
}

.error {
  color: red;
  text-align: center;
}

.periodo-help {
  margin: -4px 0 12px;
  font-size: 0.82rem;
  color: #6b5a8f;
  text-align: left;
}

.derecha {
  background-color: #f8f8f8;
  animation: fadeInRight 1s ease-out;
}

.derecha h3 {
  color: #7723D8;
  margin-bottom: 10px;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive Design */
@media (max-width: 900px) {
  .container {
      flex-direction: column;
      height: auto;
      margin: 2rem 0;
  }

  .columna {
      width: 100%;
      padding: 2rem 1.5rem;
      text-align: center;
  }

  .central {
      order: 2;
      border-top: 1px solid #ccc;
      border-bottom: 1px solid #ccc;
  }

  .izquierda {
      order: 1;
      border: none;
      background-color: #4E2278;
  }

  .derecha {
      order: 3;
      background-color: #f8f8f8;
  }

  .logo {
      max-width: 80px;
      margin-bottom: 1rem;
  }

  form {
      width: 100%;
      max-width: 100%;
      padding: 0 10px;
  }

  input, select {
      font-size: 1rem;
      padding: 14px;
  }

  button {
      font-size: 1rem;
      padding: 14px;
  }

  .input-icon i {
      font-size: 1rem;
  }
}
