body {
  background: linear-gradient(135deg, #191919 0%, #075e94 100%);
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Arial, sans-serif;
}

#login {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: #fff;
  padding: 2.7em 2.2em 2.2em 2.2em;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.15);
  min-width: 320px;
  max-width: 370px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s;
}

.login-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
}

.login-logo {
  width: 70px;
  margin-bottom: 1em;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(76,175,80,0.10);
}

.login-card h1 {
  margin-bottom: 1.2em;
  color: #007bff;
  font-size: 2em;
  letter-spacing: 1px;
  font-weight: 700;
}

.login-card label {
  display: block;
  margin: 0.7em 0 0.2em 0;
  text-align: left;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.login-card input[type="text"],
.login-card input[type="password"] {
  width: 100%;
  padding: 0.7em;
  border: 1.5px solid #b2dfdb;
  border-radius: 6px;
  margin-bottom: 0.7em;
  font-size: 1em;
  background: #f8fafd;
  transition: border 0.2s, box-shadow 0.2s;
}

.login-card input[type="text"]:focus,
.login-card input[type="password"]:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px #b2dfdb55;
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2em;
  color: #888;
  transition: color 0.2s;
  user-select: none;
}

.toggle-password:hover {
  color: #007bff;
}

.btn-login {
  width: 100%;
  padding: 0.9em;
  background: linear-gradient(90deg, #007bff 60%, #4caf50 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.1em;
  margin-top: 1em;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(76,175,80,0.07);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
  background: linear-gradient(90deg, #0056b3 60%, #388e3c 100%);
  box-shadow: 0 4px 16px rgba(76,175,80,0.13);
}

.login-error {
  color: #f44336;
  margin-top: 1em;
  font-weight: bold;
  background: #ffeaea;
  border-radius: 5px;
  padding: 0.7em;
  font-size: 1em;
  letter-spacing: 0.5px;
  border: 1px solid #f44336;
  box-shadow: 0 1px 4px #f4433622;
}

@media (max-width: 500px) {
  .login-card {
    min-width: 90vw;
    max-width: 98vw;
    padding: 1.5em 0.5em 1.2em 0.5em;
  }
  .login-card h1 {
    font-size: 1.3em;
  }
}
/* ...tu CSS existente arriba... */

.login-split-container {
  display: flex;
  min-height: 100vh;
  width: 100vw;
}

.login-left, .login-right {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-right {
  background: linear-gradient(135deg, #191919 0%, #075e94 100%);
  border-left: 2px solid #808280;
}

.brand-title {
  font-size: 3em;
  color: #17c51d;
  font-weight: 900;
  letter-spacing: 3px;
  text-align: center;
  text-shadow: 0 2px 8px #4caf5022;
  user-select: none;
}

@media (max-width: 900px) {
  .brand-title {
    font-size: 2em;
  }
}

@media (max-width: 700px) {
  .login-split-container {
    flex-direction: column;
  }
  .login-left, .login-right {
    width: 100vw;
    min-height: 45vh; 
    border: none;
  } 
  .login-right {
    border-left: none;
    border-top: 2px solid #787878;
    justify-content: flex-start;
    padding-top: 2em;
  }
  .brand-title {
    font-size: 1.5em;
  }
}