/*
  Login UI - Gestión ERP
  - Diseño moderno, corporativo, sobrio
  - Sin dependencias externas (solo Bootstrap local)
*/

.login-body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%),
    radial-gradient(900px 520px at 80% 0%, rgba(255,255,255,.14), rgba(255,255,255,0) 52%),
    linear-gradient(135deg, #0d6efd, #0b5ed7);
}

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 14px;
}

.login-card {
  width: 100%;
  max-width: 460px;
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: .9rem;
  color: #6c757d;
}

.login-form .form-label {
  font-size: .88rem;
  font-weight: 600;
  color: #374151;
}

.login-form .input-group-text {
  border-radius: 12px 0 0 12px;
  background: #f8fafc;
  color: #64748b;
  border-color: rgba(0,0,0,.08);
}

.login-form .form-control {
  border-radius: 0 12px 12px 0;
  border-color: rgba(0,0,0,.10);
}

.login-form .form-control:focus {
  border-color: rgba(13,110,253,.55);
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.14);
}

#btnTogglePass {
  border-radius: 0 12px 12px 0;
  border-color: rgba(0,0,0,.10);
}

.btn.btn-primary.btn-lg {
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .2px;
}

.login-footer {
  text-align: center;
  margin-top: 16px;
  font-size: .85rem;
}

@media (max-width: 420px) {
  .login-card { padding: 24px 18px; }
  .brand-title { font-size: 1rem; }
}
