/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #07c13f, #1f8498);
}

/* ===== CONTENEDOR GENERAL ===== */
.login-container {
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== CAJA LOGIN ===== */
.login-box {
  width: 100%;
  max-width: 1150px; /* MAS GRANDE */
  min-height: 650px; /* MAS ALTO */
  background: #fff;
  border-radius: 25px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.8s ease-in-out;
}

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

/* ===== PANEL IZQUIERDO ===== */
.welcome-section {
  background: linear-gradient(160deg, #0b8a3d, #16c172);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
  text-align: center;
}

.welcome-section img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
  border: 5px solid rgba(255, 255, 255, 0.4);
}

.sistemaSiembra {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  color: #eaff7b;
  margin-bottom: 0.5rem;
}

.datosIngreso {
  font-size: 1rem;
  opacity: 0.9;
}

/* ===== PANEL DERECHO ===== */
.form-section {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bienvenido {
  font-family: 'Great Vibes', cursive;
  font-size: 2.6rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

/* ===== FORMULARIO ===== */
.form-group {
  margin-bottom: 1.4rem;
}

.input-icon-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #c7e9d1;
  border-radius: 14px;
  padding: 0.7rem 1rem;
  transition: all 0.3s ease;
}

.input-icon-wrapper:focus-within {
  border-color: #16c172;
  box-shadow: 0 0 0 3px rgba(22, 193, 114, 0.25);
}

.input-icon {
  color: #16c172;
  margin-right: 0.6rem;
  font-size: 1.1rem;
}

.input-icon-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
}

.toggle-password {
  cursor: pointer;
  color: #666;
  font-size: 1.1rem;
}

/* ===== BOTÓN ===== */
.login-button {
  margin-top: 2rem;
  padding: 0.9rem;
  border-radius: 18px;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  background: linear-gradient(135deg, #16c172, #0b8a3d);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 850px) {
  .login-box {
    grid-template-columns: 1fr;
  }

  .welcome-section {
    padding: 2rem 1.5rem;
  }

  .sistemaSiembra {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  .welcome-section img {
    width: 120px;
    height: 120px;
  }

  .bienvenido {
    font-size: 2.1rem;
  }

  .form-section {
    padding: 2rem 1.5rem;
  }
}
