.login-wrapper {
  height: 100vh;
  width: 100vw;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.login-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(99, 91, 255, 0.3);
}

.login-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.4rem;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.login-subtitle {
  text-align: center;
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 1.75rem;
}

/* campo con icono */
.input-icon {
  position: relative;
}

.input-icon > i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #adb5bd;
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
}

.input-icon .form-control {
  padding-left: 2.25rem;
  padding-right: 2.75rem;
  border-radius: 8px;
  border: 1.5px solid #dee2e6;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-icon .form-control:focus {
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

/* botón ojo */
.toggle-pass {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #adb5bd;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  z-index: 2;
  line-height: 1;
}

.toggle-pass:hover {
  color: #495057;
}

/* mensaje de error */
.error-message {
  font-size: 0.85rem;
  color: #dc3545;
  min-height: 1.2rem;
}

/* botón principal */
.login-card .btn-primary {
  background: #635bff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.1s;
}

.login-card .btn-primary:hover:not(:disabled) {
  background: #4f46e5;
  transform: translateY(-1px);
}

.login-card .btn-primary:active {
  transform: translateY(0);
}

.login-card .form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.35rem;
}