body.cybnova-login-page {
  background:
    radial-gradient(circle at 78% 20%, rgba(14, 165, 233, .18), transparent 30%),
    radial-gradient(circle at 15% 85%, rgba(255, 122, 26, .18), transparent 28%),
    linear-gradient(135deg, #070b14 0%, #0b1220 45%, #111827 100%) !important;
  min-height: 100vh;
}

body.cybnova-login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(148, 163, 184, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .10) 1px, transparent 1px);
  background-size: 42px 42px;
}

#cybnova-login-brand {
  position: relative;
  z-index: 2;
  width: min(620px, 92vw);
  max-width: 620px;
  margin: 0 auto 1.4rem;
  text-align: center;
}

#cybnova-login-brand img {
  display: block;
  width: min(520px, 88vw);
  max-width: 520px;
  height: auto;
  margin: 0 auto .55rem;
  filter:
    drop-shadow(0 8px 22px rgba(0, 0, 0, .35))
    drop-shadow(0 0 15px rgba(255, 122, 26, .12));
}

#cybnova-login-brand p {
  margin: .2rem 0 0;
  color: #94a3b8;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .025em;
}

body.cybnova-login-page .card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 122, 26, .25) !important;
  border-radius: 12px !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(255, 255, 255, .025);
}

body.cybnova-login-page .form-control:focus,
body.cybnova-login-page .form-select:focus {
  border-color: #ff7a1a !important;
  box-shadow: 0 0 0 .2rem rgba(255, 122, 26, .18) !important;
}

/* =========================================================
   CYBNOVA — LOGIN GLPI 11
   Ocultar completamente logo original GLPI
   ========================================================= */

.page-anonymous .glpi-logo,
body.cybnova-login-page .glpi-logo,
body.cybnova-login-page span.glpi-logo {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;

    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: none !important;
    background-image: none !important;
}

/* Evitar que el contenedor del logo deje espacio vacío */
.page-anonymous .navbar-brand:has(.glpi-logo),
body.cybnova-login-page .navbar-brand:has(.glpi-logo) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Nuestro logo Cybnova */
#cybnova-login-brand {
    display: block !important;
    width: min(560px, 90vw);
    margin: 0 auto 24px !important;
    padding: 0 !important;
    text-align: center;
}

#cybnova-login-brand img {
    display: block !important;
    width: min(480px, 85vw);
    height: auto !important;
    margin: 0 auto 8px !important;
}

/* =========================================================
   CYBNOVA - ELIMINAR LOGO NATIVO GLPI DEL LOGIN
   ========================================================= */

html body .page-anonymous .glpi-logo {
    --logo: none !important;

    content: none !important;

    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;

    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: none !important;
    background-image: none !important;
}

/* Por si GLPI usa pseudo-elementos */
html body .page-anonymous .glpi-logo::before,
html body .page-anonymous .glpi-logo::after {
    content: none !important;
    display: none !important;
}