/* VMNet: colours and Poppins from the supplied Brand Visual Guideline.
   Presentation-only overrides. GLPI controls and state colours are retained. */
@font-face { font-family: 'VMNet Poppins'; src: url('../fonts/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'VMNet Poppins'; src: url('../fonts/Poppins-Bold.ttf') format('truetype'); font-weight: 600 900; font-style: normal; font-display: swap; }
:root, [data-bs-theme], [data-glpi-theme] {
    --vmnet-navy: #0d2135;
    --vmnet-blue: #395aff;
    --vmnet-cyan: #2ec4ff;
    --vmnet-mint: #2effaf;
    --tblr-primary: #395aff;
    --tblr-primary-rgb: 57, 90, 255;
    --tblr-link-color: #395aff;
    --tblr-link-hover-color: #2945d5;
    --tblr-font-sans-serif: 'VMNet Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --tblr-body-font-family: var(--tblr-font-sans-serif);
}
body, .tooltip, .popover { font-family: var(--tblr-font-sans-serif); }
.btn-primary {
    --tblr-btn-bg: #395aff;
    --tblr-btn-border-color: #395aff;
    --tblr-btn-hover-bg: #2945d5;
    --tblr-btn-hover-border-color: #2945d5;
    --tblr-btn-active-bg: #2945d5;
    --tblr-btn-color: #fff;
    background-color: #395aff;
    border-color: #395aff;
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus-visible { background-color: #2945d5; border-color: #2945d5; color: #fff; }
.form-control:focus, .form-select:focus { border-color: #395aff; box-shadow: 0 0 0 .2rem rgba(57,90,255,.16); }
.form-check-input:checked { background-color: #395aff; border-color: #395aff; }
.glpi-logo {
    content: normal !important;
    display: inline-block;
    background-image: url('../images/logo-dark.svg') !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 180px;
    height: 48px;
}
.glpi-logo::before, .glpi-logo::after { content: none !important; background: none !important; }
.sidebar.navbar-vertical {
    background: #0d2135 !important;
    color: #e2ebf5;
    --tblr-navbar-bg: #0d2135;
    --tblr-navbar-color: #e2ebf5;
    --tblr-navbar-active-color: #fff;
    --tblr-navbar-hover-color: #fff;
    border-right: 0;
}
.sidebar .navbar-brand { padding: 22px 16px; }
.sidebar .glpi-logo, .navbar-dark .glpi-logo { background-image: url('../images/logo-light.svg') !important; }
.sidebar .nav-link, .sidebar .dropdown-item, .sidebar .menu-label, .sidebar .nav-link-icon { color: #d6e4f2 !important; }
.sidebar .dropdown-menu { background: #142e46 !important; }
.sidebar .nav-link:hover, .sidebar .dropdown-item:hover { background-color: #18354f !important; color: #fff !important; }
.sidebar .nav-link.active, .sidebar .nav-item.active > .nav-link, .sidebar .dropdown-item.active {
    background-color: #1a3a55 !important;
    color: #fff !important;
    box-shadow: inset 3px 0 #2ec4ff;
}
.sidebar .reduce-menu { color: #d6e4f2; }
body.navbar-collapsed .sidebar .glpi-logo { width: 38px; height: 42px; background-image: url('../images/emblem.svg') !important; }
body.navbar-collapsed .sidebar .navbar-brand { padding: 20px 8px; }
[data-glpi-theme-dark='1'] .page-wrapper { --tblr-link-color: #91a3ff; }
[data-glpi-theme-dark='1'] .navbar-light .glpi-logo { background-image: url('../images/logo-light.svg') !important; }
/* Login: full navy surface, the original VMNet logo and one focused form. */
body.welcome-anonymous {
    background: #0d2135 !important;
    min-height: 100vh;
    color: #0d2135;
}
.welcome-anonymous .page-anonymous { position: relative; isolation: isolate; }
.welcome-anonymous .page-anonymous::before {
    content: '';
    position: fixed;
    right: -100px; bottom: -200px;
    width: 650px; height: 680px;
    background: url('../images/emblem.svg') center/contain no-repeat;
    opacity: .055; pointer-events: none; z-index: -1;
}
.welcome-anonymous .container-tight { max-width: 510px !important; padding: 36px 20px !important; }
.welcome-anonymous .glpi-logo { background-image: url('../images/logo-light.svg') !important; width: 300px; max-width: 100%; height: 79px; margin-bottom: 8px !important; }
.vmnet-login-label { color: #bfd1e2; font-size: 13px; letter-spacing: .12em; margin-bottom: 28px; }
.welcome-anonymous .main-content-card { background: #fff; color: #0d2135; --tblr-body-color: #0d2135; --tblr-bg-forms: #fff; --tblr-border-color: #dce3eb; color-scheme: light; border: 0; border-radius: 14px; box-shadow: 0 18px 60px rgba(0,0,0,.16); }
.welcome-anonymous .main-content-card > .card-body { padding: 34px 38px; }
.welcome-anonymous form .col-md-5 { width: 100%; max-width: none; }
.welcome-anonymous form h2 { font-size: 22px; color: #0d2135; font-weight: 700; }
.welcome-anonymous form .card-header { padding: 0; border: 0; }
.welcome-anonymous .form-label { font-size: 13px; font-weight: 600; }
.welcome-anonymous .form-control { min-height: 43px; border-radius: 7px; }
.welcome-anonymous .btn-primary { min-height: 44px; border-radius: 7px; font-weight: 600; }
.welcome-anonymous .copyright { color: #a8bdd0 !important; font-size: 10px; }
.welcome-anonymous .text-muted.mt-3 { color: #a8bdd0 !important; }
@media (max-width: 575px) {
    .welcome-anonymous .container-tight { padding: 20px 18px !important; }
    .welcome-anonymous .main-content-card > .card-body { padding: 26px 24px; }
    .welcome-anonymous .glpi-logo { width: 250px; height: 66px; }
    .welcome-anonymous .page-anonymous::before { display: none; }
}
@media print {
    .glpi-logo { background-image: url('../images/logo-dark.svg') !important; }
}
