* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  /* Degradado inspirado en el logo de Multilegis (rosa a azul) */
  /*background: linear-gradient(135deg, #ec4899 0%, #3b82f6 100%);*/
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* === CONTENEDOR PRINCIPAL === */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* === TARJETA DE LOGIN === */
.login {
  background: #ffffff;
  padding: 40px 45px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 420px;
  text-align: center;
}

/* === LOGOS === */
.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.logos img {
  width: auto;
  object-fit: contain;
}

/* Logo Esumer - reducido */
.logo-esumer {
  height: 50px;
}

/* Logo Multilegis - MUCHO MÁS GRANDE */
.logo-legix {
  height: 95px; /* Significativamente más grande */
}

/* === TÍTULO === */
.login h1 {
  font-size: 28px;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 30px;
  font-weight: 400;
}

/* === GRUPO DE INPUTS === */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 16px;
}

.input-group .toggle-password {
  left: auto;
  right: 15px;
  cursor: pointer;
  transition: color 0.3s;
}

.input-group .toggle-password:hover {
  color: #ec4899;
}

/* === INPUTS === */
.login input[type="text"],
.login input[type="password"] {
  width: 100%;
  padding: 14px 45px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  color: #374151;
  background: #f9fafb;
  transition: all 0.3s ease;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus {
  border-color: #ec4899;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
  outline: none;
}

.login input::placeholder {
  color: #9ca3af;
}

/* === BOTÓN === */
.btn-submit {
  width: 100%;
  padding: 14px;
  /* Degradado igual al fondo y al logo */
  background: linear-gradient(#3b82f6);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

/* === TEXTO FOOTER === */
.footer-text {
  margin-top: 25px;
  font-size: 12px;
  color: #9ca3af;
  font-weight: 400;
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
  .login {
    padding: 30px 25px;
  }
  
  .logos {
    gap: 15px;
  }
  
  .logo-esumer {
    height: 40px;
  }
  
  .logo-legix {
    height: 80px; /* Mantiene la proporción grande en móvil */
  }
  
  .login h1 {
    font-size: 24px;
  }
  
  .subtitle {
    font-size: 13px;
  }
}