/* ==========================================================================
   RapidFact — colores de marca para el LOGIN del panel de administración
   Solo aplica a <html class="rf-system-auth"> (layout system/auth).
   No afecta el login de los clientes (tenants).
   ========================================================================== */

html.rf-system-auth body {
  background: #EEF3FA !important;
  font-family: 'Open Sans', system-ui, sans-serif;
}

/* Logo sobre el formulario */
html.rf-system-auth .rf-login-logo { text-align: center; margin-bottom: 24px; }
html.rf-system-auth .rf-login-logo img { width: 260px; max-width: 80%; height: auto; border-radius: 12px; }

/* Encabezado "Acceso al Sistema" */
html.rf-system-auth .rf-login-header {
  background: #0B3A8C !important;
  border: 0 !important;
  border-radius: 10px 10px 0 0 !important;
  box-shadow: inset 0 -4px 0 #34D399 !important;
}
html.rf-system-auth .rf-login-header .card-title { color: #FFFFFF !important; font-weight: 600; }

/* Tarjeta del formulario */
html.rf-system-auth .body-sign .card-body {
  background: #FFFFFF;
  border: 1px solid #DBE4F0 !important;
  border-top: 0 !important;
  border-radius: 0 0 10px 10px !important;
  box-shadow: 0 8px 24px rgba(11, 58, 140, .08) !important;
}
html.rf-system-auth .body-sign label { color: #0B3A8C; font-weight: 600; }
html.rf-system-auth .body-sign .form-control:focus { border-color: #0B3A8C !important; box-shadow: 0 0 0 3px rgba(11, 58, 140, .15) !important; }
html.rf-system-auth .body-sign .input-group-text { background: #DBEAFE !important; color: #0B3A8C !important; border-color: #ced4da; }

/* Botón Iniciar sesión */
html.rf-system-auth .body-sign .btn-primary {
  background: #34D399 !important;
  border-color: #34D399 !important;
  color: #0B3A8C !important;
  font-weight: 700;
  padding: 8px 18px;
}
html.rf-system-auth .body-sign .btn-primary:hover { background: #2BBF88 !important; border-color: #2BBF88 !important; }

/* Recordarme */
html.rf-system-auth .checkbox-custom input[type="checkbox"]:checked + label:after { color: #0B3A8C !important; }
html.rf-system-auth .checkbox-custom label { color: #374151; font-weight: 400; }

/* Mensajes de error y pie */
html.rf-system-auth .body-sign label.error { color: #B42318; }
html.rf-system-auth .body-sign p.text-muted { color: #5B6576 !important; }
