/* ==========================================================================
   PulseAI Engineered Console Theme ("Pro Light" & "Pro Dark" v2.0)
   Scoped strictly to html[data-pulse-pro="true"] so Classic themes remain
   100% untouched and data-bs-theme="light|dark" stays compatible with all
   charts, maps, and JS observers.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS — PRO LIGHT (DAYLIGHT SLATE CONSOLE)
   -------------------------------------------------------------------------- */
html[data-pulse-pro="true"][data-bs-theme="light"] {
    --pro-bg-canvas: #f1f5f9;
    --pro-bg-surface: #ffffff;
    --pro-bg-elevated: #f8fafc;
    --pro-bg-subtle: #e2e8f0;
    --pro-navbar-bg: #ffffff;
    --pro-navbar-glass-bg: rgba(255, 255, 255, 0.85);
    --pro-navbar-scrolled-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
    --pro-border: #e2e8f0;
    --pro-border-strong: #cbd5e1;
    --pro-border-hover: #0284c7;
    --pro-text-primary: #0f172a;
    --pro-text-secondary: #475569;
    --pro-text-muted: #64748b;
    --pro-accent: #0284c7;
    --pro-accent-hover: #0369a1;
    --pro-accent-subtle: rgba(2, 132, 199, 0.08);
    --pro-accent-border: rgba(2, 132, 199, 0.24);
    --pro-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.05);
    --pro-shadow-hover: 0 4px 12px rgba(15, 23, 42, 0.08);
    --pro-table-header-bg: #f8fafc;
    --pro-table-row-hover: #f1f5f9;

    /* Bootstrap 5 Variable & RGB Overrides (critical for .bg-body, .bg-body-tertiary, etc.) */
    --bs-body-bg: #f1f5f9;
    --bs-body-bg-rgb: 241, 245, 249;
    --bs-body-color: #0f172a;
    --bs-body-color-rgb: 15, 23, 42;
    --bs-secondary-color: #475569;
    --bs-tertiary-bg: #f8fafc;
    --bs-tertiary-bg-rgb: 248, 250, 252;
    --bs-secondary-bg: #e2e8f0;
    --bs-secondary-bg-rgb: 226, 232, 240;
    --bs-card-bg: #ffffff;
    --bs-border-color: #cbd5e1;
    --bs-border-color-translucent: rgba(15, 23, 42, 0.10);
    --bs-primary: #0284c7;
    --bs-primary-rgb: 2, 132, 199;
    --bs-link-color: #0284c7;
    --bs-link-hover-color: #0369a1;
}

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS — PRO DARK (OBSIDIAN SLATE CONSOLE)
   -------------------------------------------------------------------------- */
html[data-pulse-pro="true"][data-bs-theme="dark"] {
    --pro-bg-canvas: #070a12;
    --pro-bg-surface: #0f1624;
    --pro-bg-elevated: #162033;
    --pro-bg-subtle: #1e293b;
    --pro-navbar-bg: #0b101d;
    --pro-navbar-glass-bg: rgba(11, 16, 29, 0.82);
    --pro-navbar-scrolled-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(56, 189, 248, 0.14);
    --pro-border: #1e293b;
    --pro-border-strong: #283548;
    --pro-border-hover: #38bdf8;
    --pro-text-primary: #f1f5f9;
    --pro-text-secondary: #94a3b8;
    --pro-text-muted: #64748b;
    --pro-accent: #0ea5e9;
    --pro-accent-hover: #38bdf8;
    --pro-accent-subtle: rgba(56, 189, 248, 0.10);
    --pro-accent-border: rgba(56, 189, 248, 0.28);
    --pro-shadow-card: inset 0 1px 0 0 rgba(255, 255, 255, 0.04), 0 2px 6px rgba(0, 0, 0, 0.4);
    --pro-shadow-hover: inset 0 1px 0 0 rgba(56, 189, 248, 0.15), 0 8px 20px rgba(0, 0, 0, 0.55);
    --pro-table-header-bg: #0b101d;
    --pro-table-row-hover: rgba(30, 41, 59, 0.65);

    /* Bootstrap 5 Variable & RGB Overrides */
    --bs-body-bg: #070a12;
    --bs-body-bg-rgb: 7, 10, 18;
    --bs-body-color: #f1f5f9;
    --bs-body-color-rgb: 241, 245, 249;
    --bs-secondary-color: #94a3b8;
    --bs-tertiary-bg: #162033;
    --bs-tertiary-bg-rgb: 22, 32, 51;
    --bs-secondary-bg: #1e293b;
    --bs-secondary-bg-rgb: 30, 41, 59;
    --bs-card-bg: #0f1624;
    --bs-border-color: #1e293b;
    --bs-border-color-translucent: rgba(148, 163, 184, 0.14);
    --bs-primary: #0ea5e9;
    --bs-primary-rgb: 14, 165, 233;
    --bs-link-color: #38bdf8;
    --bs-link-hover-color: #7dd3fc;
    --bs-list-group-bg: #0f1624;
    --bs-list-group-color: #f1f5f9;
    --bs-list-group-border-color: #1e293b;
}

/* --------------------------------------------------------------------------
   3. BASE TYPOGRAPHY, LINKS & RESET OF MATERIAL 2018 PURPLE (#bb86fc)
   -------------------------------------------------------------------------- */
html[data-pulse-pro="true"] body {
    background-color: var(--pro-bg-canvas) !important;
    color: var(--pro-text-primary) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.9rem;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
}

html[data-pulse-pro="true"][data-bs-theme="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item):not(.badge):not(.list-group-item) {
    color: var(--pro-accent-hover) !important;
}

html[data-pulse-pro="true"][data-bs-theme="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item):not(.badge):not(.list-group-item):hover {
    color: #7dd3fc !important;
}

/* Tame oversized marketing display headers into engineered console headers */
html[data-pulse-pro="true"] .display-4,
html[data-pulse-pro="true"] .display-5,
html[data-pulse-pro="true"] .display-6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    color: var(--pro-text-primary) !important;
}

html[data-pulse-pro="true"] h1,
html[data-pulse-pro="true"] .h1,
html[data-pulse-pro="true"] h2,
html[data-pulse-pro="true"] .h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    color: var(--pro-text-primary);
}

html[data-pulse-pro="true"] p.lead {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    color: var(--pro-text-secondary) !important;
}

html[data-pulse-pro="true"] code {
    font-family: 'JetBrains Mono', SFMono-Regular, Consolas, monospace;
    font-size: 0.78rem;
    color: var(--pro-accent) !important;
    background: var(--pro-accent-subtle);
    padding: 0.12rem 0.35rem;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   4. NAVBAR & DROPDOWN STACKING — STICKY GLASSMORPHIC & ACTIVE INDICATORS
   -------------------------------------------------------------------------- */
html[data-pulse-pro="true"] nav.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1080 !important;
    background-color: var(--pro-navbar-glass-bg, var(--pro-navbar-bg)) !important;
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid var(--pro-border-strong) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

html[data-pulse-pro="true"] nav.navbar.navbar-scrolled {
    box-shadow: var(--pro-navbar-scrolled-shadow) !important;
    border-bottom-color: var(--pro-accent-border) !important;
}

@keyframes pulse-overclock-shockwave {
    0% {
        box-shadow: 0 2px 12px rgba(14, 165, 233, 0.25), inset 0 -2px 0 rgba(56, 189, 248, 0.9);
        border-bottom-color: #38bdf8;
    }
    45% {
        box-shadow: 0 6px 28px rgba(14, 165, 233, 0.55), inset 0 -2px 0 #00d2ff;
        border-bottom-color: #00d2ff;
    }
    100% {
        box-shadow: var(--pro-navbar-scrolled-shadow);
        border-bottom-color: var(--pro-border-strong);
    }
}

html[data-pulse-pro="true"] nav.navbar.navbar-overclock-surge {
    animation: pulse-overclock-shockwave 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

html[data-pulse-pro="true"] nav.navbar.navbar-overclock-surge .navbar-brand .fa-bolt {
    transform: scale(1.28) rotate(-8deg) !important;
    filter: drop-shadow(0 0 12px #00d2ff) !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

html[data-pulse-pro="true"] nav.navbar .dropdown-menu {
    z-index: 1095 !important;
}

html[data-pulse-pro="true"] .navbar-brand {
    color: var(--pro-text-primary) !important;
}

html[data-pulse-pro="true"] .navbar-brand .fa-bolt {
    color: var(--pro-accent) !important;
    display: inline-block;
    transform-origin: center center;
    animation: gentle-bolt-pulse-pro 3.2s ease-in-out infinite;
    will-change: transform, filter;
}

@keyframes gentle-bolt-pulse-pro {
    0%, 100% {
        transform: scale(1);
        opacity: 0.92;
        filter: drop-shadow(0 0 0 rgba(0, 210, 255, 0));
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
        filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.5));
    }
}

html[data-pulse-pro="true"] .navbar-brand:hover .fa-bolt {
    transform: scale(1.14);
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.75));
    transition: transform 0.2s ease, filter 0.2s ease;
}

html[data-pulse-pro="true"] .brand-title-nav {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    color: var(--pro-text-primary) !important;
}

html[data-pulse-pro="true"] .brand-slogan-nav {
    color: var(--pro-accent) !important;
    font-size: 0.54rem;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

/* Quick Tenant Switcher (Ctrl+K) — sleek 6px command bar trigger */
html[data-pulse-pro="true"] #quickTenantSwitcherBtn {
    border-radius: 6px !important;
    background-color: var(--pro-bg-elevated) !important;
    border: 1px solid var(--pro-border-strong) !important;
    color: var(--pro-text-primary) !important;
    box-shadow: none !important;
    font-size: 0.78rem;
    padding: 0.25rem 0.55rem !important;
}

html[data-pulse-pro="true"] #quickTenantSwitcherBtn:hover {
    border-color: var(--pro-accent) !important;
    background-color: var(--pro-accent-subtle) !important;
}

html[data-pulse-pro="true"] #quickTenantSwitcherBtn .fa-building {
    color: var(--pro-accent) !important;
}

html[data-pulse-pro="true"] #quickTenantSwitcherBtn .badge {
    background-color: var(--pro-bg-surface) !important;
    color: var(--pro-text-secondary) !important;
    border: 1px solid var(--pro-border-strong) !important;
    font-weight: 500;
}

/* Neutralize rainbow navbar links & icons while keeping status badges intact */
html[data-pulse-pro="true"] .navbar-nav .nav-link,
html[data-pulse-pro="true"] .navbar-nav .nav-link.text-primary,
html[data-pulse-pro="true"] .navbar-nav .nav-link.text-info,
html[data-pulse-pro="true"] .navbar-nav .nav-link.text-warning,
html[data-pulse-pro="true"] .navbar-nav .nav-link.text-success {
    position: relative;
    color: var(--pro-text-secondary) !important;
    font-size: 0.82rem;
    font-weight: 500 !important;
    padding: 0.35rem 0.55rem !important;
    border-radius: 6px;
    transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

html[data-pulse-pro="true"] .navbar-nav .nav-link:hover,
html[data-pulse-pro="true"] .navbar-nav .nav-link:focus,
html[data-pulse-pro="true"] .navbar-nav .nav-link.show {
    color: var(--pro-text-primary) !important;
    background-color: var(--pro-bg-elevated) !important;
}

/* Soft tinted pill + 2px cyan bottom accent indicator for active route */
html[data-pulse-pro="true"] .navbar-nav .nav-link.active,
html[data-pulse-pro="true"] .navbar-nav .nav-link.active.text-primary,
html[data-pulse-pro="true"] .navbar-nav .nav-link.active.text-info,
html[data-pulse-pro="true"] .navbar-nav .nav-link.active.text-warning,
html[data-pulse-pro="true"] .navbar-nav .nav-link.active.text-success {
    color: var(--pro-text-primary) !important;
    background-color: var(--pro-accent-subtle) !important;
    font-weight: 600 !important;
}

html[data-pulse-pro="true"] .navbar-nav .nav-link.active:not(.navbar-icon-btn)::before {
    content: "";
    position: absolute;
    left: 0.45rem;
    right: 0.45rem;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background-color: var(--pro-accent);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.45);
    pointer-events: none;
}

html[data-pulse-pro="true"] .navbar-nav .nav-link > i,
html[data-pulse-pro="true"] .navbar-nav .nav-link > i.text-success,
html[data-pulse-pro="true"] .navbar-nav .nav-link > i.text-warning,
html[data-pulse-pro="true"] .navbar-nav .nav-link > i.text-info,
html[data-pulse-pro="true"] .navbar-nav .nav-link > i.text-primary {
    color: var(--pro-text-muted) !important;
    font-size: 0.8rem;
    transition: color 0.15s ease;
}

html[data-pulse-pro="true"] .navbar-nav .nav-link:hover > i,
html[data-pulse-pro="true"] .navbar-nav .nav-link.show > i,
html[data-pulse-pro="true"] .navbar-nav .nav-link.active > i {
    color: var(--pro-accent) !important;
}

/* Sleek compact navbar utility icon button */
html[data-pulse-pro="true"] .navbar-icon-btn {
    width: 32px;
    height: 32px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--pro-text-secondary) !important;
    background: transparent;
    border: none;
    transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
html[data-pulse-pro="true"] .navbar-icon-btn:hover,
html[data-pulse-pro="true"] .navbar-icon-btn.show {
    color: var(--pro-text-primary) !important;
    background-color: var(--pro-bg-elevated) !important;
}
html[data-pulse-pro="true"] .navbar-icon-btn.active {
    color: var(--pro-accent) !important;
    background-color: var(--pro-accent-subtle) !important;
    box-shadow: inset 0 -2px 0 0 var(--pro-accent);
}

/* Dropdown Menus */
html[data-pulse-pro="true"] .dropdown-menu {
    background-color: var(--pro-bg-surface) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-radius: 8px !important;
    box-shadow: var(--pro-shadow-hover) !important;
    padding: 0.35rem;
    z-index: 1090 !important;
}

html[data-pulse-pro="true"] .dropdown-item {
    border-radius: 5px;
    font-size: 0.82rem;
    color: var(--pro-text-primary) !important;
    padding: 0.4rem 0.7rem;
    transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

html[data-pulse-pro="true"] .dropdown-item:hover,
html[data-pulse-pro="true"] .dropdown-item:focus {
    background-color: var(--pro-bg-elevated) !important;
    color: var(--pro-text-primary) !important;
}

html[data-pulse-pro="true"] .dropdown-item.active,
html[data-pulse-pro="true"] .dropdown-item.active-route {
    background-color: var(--pro-accent-subtle) !important;
    color: var(--pro-text-primary) !important;
    font-weight: 600;
    box-shadow: inset 2.5px 0 0 var(--pro-accent);
}

/* --------------------------------------------------------------------------
   5. FLOATING FEEDBACK BUTTON — LOW-PROFILE CONSOLE TRIGGER
   -------------------------------------------------------------------------- */
html[data-pulse-pro="true"] .pulse-feedback-fab {
    background-color: var(--pro-bg-surface) !important;
    color: var(--pro-text-secondary) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-radius: 6px !important;
    box-shadow: var(--pro-shadow-card) !important;
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
    font-weight: 500 !important;
}

html[data-pulse-pro="true"] .pulse-feedback-fab #pulseFabIcon {
    color: var(--pro-accent) !important;
}

html[data-pulse-pro="true"] .pulse-feedback-fab:hover {
    background-color: var(--pro-bg-elevated) !important;
    color: var(--pro-text-primary) !important;
    border-color: var(--pro-accent) !important;
    box-shadow: var(--pro-shadow-hover) !important;
    transform: translateY(-1px) !important;
}

/* --------------------------------------------------------------------------
   6. GLOBAL CARDS, HEADERS & CONTAINERS (OVERRIDING .border-0, .bg-body, .rounded-4)
   -------------------------------------------------------------------------- */
html[data-pulse-pro="true"] .card,
html[data-pulse-pro="true"] .card.border-0,
html[data-pulse-pro="true"] .card.bg-body,
html[data-pulse-pro="true"] .card.rounded-4,
html[data-pulse-pro="true"] .bs-stats-card,
html[data-pulse-pro="true"] .tether-card,
html[data-pulse-pro="true"] .license-card {
    background-color: var(--pro-bg-surface) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-radius: 8px !important;
    box-shadow: var(--pro-shadow-card) !important;
}

html[data-pulse-pro="true"] .card-header,
html[data-pulse-pro="true"] .card-header.bg-body,
html[data-pulse-pro="true"] .card-header.border-0 {
    background-color: var(--pro-bg-surface) !important;
    border-bottom: 1px solid var(--pro-border) !important;
}

/* Nav Tabs inside Cards (e.g. MikroTik Inventory Tabs) */
html[data-pulse-pro="true"] .nav-tabs .nav-link {
    color: var(--pro-text-secondary) !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.04em;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
}

html[data-pulse-pro="true"] .nav-tabs .nav-link:hover {
    color: var(--pro-text-primary) !important;
    background-color: var(--pro-bg-elevated) !important;
}

html[data-pulse-pro="true"] .nav-tabs .nav-link.active {
    color: var(--pro-accent) !important;
    border-bottom: 2px solid var(--pro-accent) !important;
    background-color: var(--pro-accent-subtle) !important;
}

/* --------------------------------------------------------------------------
   7. GLOBAL BUTTONS & TOOLBARS — KILL .rounded-pill & RAINBOW TOOLBARS
   -------------------------------------------------------------------------- */
html[data-pulse-pro="true"] .btn,
html[data-pulse-pro="true"] .btn.rounded-pill,
html[data-pulse-pro="true"] .btn-group.rounded-pill,
html[data-pulse-pro="true"] .input-group.rounded-pill {
    border-radius: 6px !important;
}

html[data-pulse-pro="true"] .btn-primary {
    background: var(--pro-accent) !important;
    border: 1px solid var(--pro-accent) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: none !important;
}

html[data-pulse-pro="true"] .btn-primary:hover {
    background: var(--pro-accent-hover) !important;
    border-color: var(--pro-accent-hover) !important;
}

/* De-Skittle Secondary / Action Toolbar Buttons & Table Row Buttons */
html[data-pulse-pro="true"] .card-header .btn:not(.btn-primary),
html[data-pulse-pro="true"] .table td .btn-group .btn {
    background-color: var(--pro-bg-elevated) !important;
    border: 1px solid var(--pro-border-strong) !important;
    color: var(--pro-text-secondary) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-weight: 500 !important;
}

html[data-pulse-pro="true"] .card-header .btn:not(.btn-primary):hover,
html[data-pulse-pro="true"] .table td .btn-group .btn:hover {
    background-color: var(--pro-accent-subtle) !important;
    border-color: var(--pro-accent) !important;
    color: var(--pro-text-primary) !important;
}

html[data-pulse-pro="true"] .card-header .btn i,
html[data-pulse-pro="true"] .table td .btn-group .btn i {
    color: var(--pro-accent) !important;
}

/* --------------------------------------------------------------------------
   8. ORGANIZATION DASHBOARD & WORKSPACE SELECTOR (HIGH-SPECIFICITY DE-SKITTLING)
   -------------------------------------------------------------------------- */
html[data-pulse-pro="true"] .category-header {
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--pro-text-secondary) !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 0.9rem !important;
    border-bottom: 1px solid var(--pro-border-strong) !important;
}

html[data-pulse-pro="true"] .category-header::after {
    display: none !important;
}

html[data-pulse-pro="true"] .category-header i {
    color: var(--pro-accent) !important;
}

/* Search Input Bars & Filter Controls */
html[data-pulse-pro="true"] .search-input-group,
html[data-pulse-pro="true"] .search-container .input-group {
    border-radius: 6px !important;
    border: 1px solid var(--pro-border-strong) !important;
    background-color: var(--pro-bg-surface) !important;
    box-shadow: var(--pro-shadow-card) !important;
}

html[data-pulse-pro="true"] .search-input-group:focus-within,
html[data-pulse-pro="true"] .search-container .input-group:focus-within {
    border-color: var(--pro-accent) !important;
    box-shadow: 0 0 0 3px var(--pro-accent-subtle) !important;
}

html[data-pulse-pro="true"] .search-input,
html[data-pulse-pro="true"] #orgSearch,
html[data-pulse-pro="true"] #moduleSearch {
    border: none !important;
    border-radius: 6px !important;
    background-color: transparent !important;
    color: var(--pro-text-primary) !important;
    font-size: 0.86rem;
    box-shadow: none !important;
}

html[data-pulse-pro="true"] .search-container .btn-group.rounded-pill {
    border-radius: 6px !important;
    background-color: var(--pro-bg-surface) !important;
    border: 1px solid var(--pro-border-strong) !important;
}

html[data-pulse-pro="true"] .filter-pill-btn {
    border-radius: 5px !important;
    font-size: 0.78rem !important;
}

html[data-pulse-pro="true"] .filter-pill-btn.active#btnFilterAll,
html[data-pulse-pro="true"] .filter-pill-btn.active#btnFilterLicensed {
    background-color: var(--pro-accent) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Override rainbow left-borders and bouncy hover jumps on Module & Org cards */
html[data-pulse-pro="true"] .module-card[class],
html[data-pulse-pro="true"] .org-card[class] {
    background-color: var(--pro-bg-surface) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-left: 1px solid var(--pro-border-strong) !important;
    border-radius: 8px !important;
    box-shadow: var(--pro-shadow-card) !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease !important;
}

html[data-pulse-pro="true"] .module-card[class]:hover,
html[data-pulse-pro="true"] .org-card[class]:hover {
    transform: translateY(-2px) !important;
    border-color: var(--pro-border-hover) !important;
    border-left-color: var(--pro-border-hover) !important;
    box-shadow: var(--pro-shadow-hover) !important;
}

/* Uniform Console Icon Box — beats Bootstrap .bg-success / .text-info !important */
html[data-pulse-pro="true"] .module-card .module-icon[class],
html[data-pulse-pro="true"] .org-card .org-icon-bg[class],
html[data-pulse-pro="true"] .bs-stats-card .stats-icon[class] {
    width: 34px !important;
    height: 34px !important;
    border-radius: 6px !important;
    background-color: var(--pro-accent-subtle) !important;
    color: var(--pro-accent) !important;
    border: 1px solid var(--pro-accent-border) !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.65rem !important;
}

html[data-pulse-pro="true"] .module-card .module-icon[class] i,
html[data-pulse-pro="true"] .org-card .org-icon-bg[class] i,
html[data-pulse-pro="true"] .bs-stats-card .stats-icon[class] i {
    color: var(--pro-accent) !important;
}

/* Uniform Crisp Card Titles — beats Bootstrap .text-info / .text-danger !important */
html[data-pulse-pro="true"] .module-card .card-title[class],
html[data-pulse-pro="true"] .org-card .card-title[class] {
    color: var(--pro-text-primary) !important;
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.015em;
}

html[data-pulse-pro="true"] .module-card .card-text,
html[data-pulse-pro="true"] .org-card .card-text {
    color: var(--pro-text-secondary) !important;
    font-size: 0.8rem !important;
    line-height: 1.45;
}

/* Uniform Sleek Console Action Buttons inside Module & Org Cards */
html[data-pulse-pro="true"] .module-card .btn[class]:not(.btn-outline-warning),
html[data-pulse-pro="true"] .org-card .btn[class] {
    border-radius: 6px !important;
    background-color: var(--pro-bg-elevated) !important;
    color: var(--pro-text-primary) !important;
    border: 1px solid var(--pro-border-strong) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    padding: 0.4rem 0.8rem !important;
    box-shadow: none !important;
    transition: all 0.15s ease !important;
}

html[data-pulse-pro="true"] .module-card:hover .btn[class]:not(.btn-outline-warning),
html[data-pulse-pro="true"] .org-card:hover .btn[class],
html[data-pulse-pro="true"] .module-card .btn[class]:not(.btn-outline-warning):hover,
html[data-pulse-pro="true"] .org-card .btn[class]:hover {
    background-color: var(--pro-accent) !important;
    border-color: var(--pro-accent) !important;
    color: #ffffff !important;
}

/* Locked / Upgrade button inside module cards */
html[data-pulse-pro="true"] .module-card .btn.btn-outline-warning {
    border-radius: 6px !important;
    background-color: transparent !important;
    border: 1px dashed rgba(245, 158, 11, 0.45) !important;
    color: #f59e0b !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

html[data-pulse-pro="true"] .module-card .btn.btn-outline-warning:hover {
    background-color: rgba(245, 158, 11, 0.12) !important;
    border-style: solid !important;
}

/* Fix "Access Restricted" (.alert-light) light-mode leak in Dark Mode */
html[data-pulse-pro="true"] .module-card .alert-light {
    background-color: var(--pro-bg-elevated) !important;
    color: var(--pro-text-muted) !important;
    border: 1px dashed var(--pro-border-strong) !important;
    border-radius: 6px !important;
    font-size: 0.76rem !important;
}

/* --------------------------------------------------------------------------
   9. ZERO TRUST SIDEBAR & TABLES (HIGH-DENSITY CONSOLE)
   -------------------------------------------------------------------------- */
html[data-pulse-pro="true"] #zeroTrustSidebar .card-header.bg-dark {
    background-color: var(--pro-table-header-bg) !important;
    color: var(--pro-text-primary) !important;
    border-bottom: 1px solid var(--pro-border-strong) !important;
}

html[data-pulse-pro="true"] #zeroTrustSidebar .list-group-item {
    background-color: var(--pro-bg-surface);
    color: var(--pro-text-secondary);
    border-color: var(--pro-border);
    font-size: 0.8125rem;
}

html[data-pulse-pro="true"] #zeroTrustSidebar .list-group-item i[class] {
    color: var(--pro-text-muted) !important;
}

html[data-pulse-pro="true"] #zeroTrustSidebar .list-group-item:hover {
    background-color: var(--pro-bg-elevated);
    color: var(--pro-text-primary);
}

html[data-pulse-pro="true"] #zeroTrustSidebar .list-group-item.active {
    background-color: var(--pro-accent-subtle) !important;
    color: var(--pro-accent) !important;
    border-left: 3px solid var(--pro-accent) !important;
    font-weight: 600;
}

html[data-pulse-pro="true"] #zeroTrustSidebar .list-group-item.active i[class],
html[data-pulse-pro="true"] #zeroTrustSidebar .list-group-item:hover i[class] {
    color: var(--pro-accent) !important;
}

/* Tables */
html[data-pulse-pro="true"] .table {
    border-color: var(--pro-border);
    font-size: 0.82rem;
}

html[data-pulse-pro="true"] .table thead th {
    background-color: var(--pro-table-header-bg) !important;
    color: var(--pro-text-secondary) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border-bottom: 1px solid var(--pro-border-strong) !important;
    padding: 0.65rem 0.75rem !important;
}

html[data-pulse-pro="true"] .table td,
html[data-pulse-pro="true"] .table th {
    color: var(--pro-text-primary);
    border-color: var(--pro-border);
    padding: 0.55rem 0.75rem;
    vertical-align: middle;
}

html[data-pulse-pro="true"][data-bs-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: rgba(15, 23, 42, 0.45);
}

html[data-pulse-pro="true"] .table-hover > tbody > tr:hover > * {
    --bs-table-hover-bg: var(--pro-table-row-hover);
}

html[data-pulse-pro="true"] .form-control,
html[data-pulse-pro="true"] .form-select {
    background-color: var(--pro-bg-elevated) !important;
    border: 1px solid var(--pro-border-strong) !important;
    color: var(--pro-text-primary) !important;
    border-radius: 6px !important;
    font-size: 0.84rem;
}

html[data-pulse-pro="true"] .form-control:focus,
html[data-pulse-pro="true"] .form-select:focus {
    background-color: var(--pro-bg-surface) !important;
    border-color: var(--pro-accent) !important;
    box-shadow: 0 0 0 3px var(--pro-accent-subtle) !important;
    color: var(--pro-text-primary) !important;
}

html[data-pulse-pro="true"] .modal-content {
    background-color: var(--pro-bg-surface) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-radius: 10px !important;
}

/* Fix hardcoded .bg-light / .text-dark utility leaks in Pro Dark mode */
html[data-pulse-pro="true"][data-bs-theme="dark"] .bg-light {
    background-color: var(--pro-bg-elevated) !important;
}

html[data-pulse-pro="true"][data-bs-theme="dark"] .bg-light .text-dark,
html[data-pulse-pro="true"][data-bs-theme="dark"] .swal2-popup .text-dark {
    color: var(--pro-text-primary) !important;
}

html[data-pulse-pro="true"] footer {
    background-color: var(--pro-navbar-bg) !important;
    border-top: 1px solid var(--pro-border-strong) !important;
}

/* --------------------------------------------------------------------------
   10. NOTIFICATIONS PANEL (NAVBAR LIVE FEED, SETTINGS MATRIX & CHANNELS)
   -------------------------------------------------------------------------- */
html[data-pulse-pro="true"] #pulseNotifBellIcon.has-unread {
    color: var(--pro-accent) !important;
}

html[data-pulse-pro="true"] .pulse-notif-dropdown {
    width: 410px;
    max-width: 94vw;
    padding: 0 !important;
    border-radius: 10px !important;
    background-color: var(--pro-bg-surface) !important;
    border: 1px solid var(--pro-border-strong) !important;
    box-shadow: var(--pro-shadow-hover) !important;
}

html[data-pulse-pro="true"] .pulse-notif-header {
    background-color: var(--pro-table-header-bg);
    border-bottom: 1px solid var(--pro-border-strong);
}

html[data-pulse-pro="true"] .pulse-notif-header-icon {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background-color: var(--pro-accent-subtle);
    color: var(--pro-accent);
    border: 1px solid var(--pro-accent-border);
    font-size: 0.72rem;
}

html[data-pulse-pro="true"] .pulse-notif-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--pro-text-primary);
    letter-spacing: -0.01em;
}

html[data-pulse-pro="true"] .pulse-notif-org-badge {
    background-color: var(--pro-accent-subtle);
    color: var(--pro-accent);
    border: 1px solid var(--pro-accent-border);
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.12rem 0.42rem;
    max-width: 135px;
}

html[data-pulse-pro="true"] .pulse-notif-action-btn,
html[data-pulse-pro="true"] .pulse-notif-icon-btn {
    background-color: var(--pro-bg-elevated) !important;
    border: 1px solid var(--pro-border-strong) !important;
    color: var(--pro-text-secondary) !important;
    border-radius: 5px !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    line-height: 1.2;
    box-shadow: none !important;
    transition: all 0.12s ease;
}

html[data-pulse-pro="true"] .pulse-notif-action-btn:hover,
html[data-pulse-pro="true"] .pulse-notif-icon-btn:hover,
html[data-pulse-pro="true"] .pulse-notif-icon-btn.is-active {
    background-color: var(--pro-accent-subtle) !important;
    border-color: var(--pro-accent) !important;
    color: var(--pro-accent) !important;
}

html[data-pulse-pro="true"] .pulse-notif-controls {
    background-color: var(--pro-bg-elevated);
    border-bottom: 1px solid var(--pro-border-strong);
}

html[data-pulse-pro="true"] .pulse-notif-switch-label {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--pro-text-primary);
}

html[data-pulse-pro="true"] .pulse-notif-perm-badge {
    font-size: 0.60rem;
    font-weight: 600;
    padding: 0.1rem 0.38rem;
    border-radius: 4px;
    border: 1px solid var(--pro-border-strong);
    background-color: var(--pro-bg-surface);
    color: var(--pro-text-secondary);
}

html[data-pulse-pro="true"] .pulse-notif-perm-badge.is-active {
    background-color: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

html[data-pulse-pro="true"] .pulse-notif-perm-badge.is-danger {
    background-color: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

html[data-pulse-pro="true"] .pulse-notif-perm-badge.is-warning {
    background-color: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

html[data-pulse-pro="true"] .pulse-notif-perm-badge.is-muted {
    background-color: var(--pro-bg-surface);
    color: var(--pro-text-muted);
    border-color: var(--pro-border-strong);
}

html[data-pulse-pro="true"] .pulse-notif-segmented {
    display: inline-flex;
    background-color: var(--pro-bg-canvas);
    border: 1px solid var(--pro-border-strong);
    border-radius: 6px;
    padding: 2px;
    gap: 2px;
}

html[data-pulse-pro="true"] .pulse-notif-seg-btn {
    border: 1px solid transparent;
    background: transparent;
    color: var(--pro-text-secondary);
    font-size: 0.65rem;
    font-weight: 500;
    padding: 0.16rem 0.5rem;
    border-radius: 4px;
    transition: all 0.12s ease;
}

html[data-pulse-pro="true"] .pulse-notif-seg-btn:hover {
    color: var(--pro-text-primary);
}

html[data-pulse-pro="true"] .pulse-notif-seg-btn.active {
    background-color: var(--pro-bg-surface);
    color: var(--pro-accent);
    border-color: var(--pro-accent-border);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

html[data-pulse-pro="true"] .pulse-notif-sync {
    font-size: 0.60rem;
    color: var(--pro-text-muted);
}

html[data-pulse-pro="true"] .pulse-notif-list {
    max-height: 360px;
    background-color: var(--pro-bg-surface);
}

html[data-pulse-pro="true"] .pulse-notif-empty {
    background-color: var(--pro-bg-surface);
}

html[data-pulse-pro="true"] .pulse-notif-empty-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.28);
    font-size: 0.85rem;
}

html[data-pulse-pro="true"] .pulse-notif-empty-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pro-text-primary);
}

html[data-pulse-pro="true"] .pulse-notif-empty-sub {
    font-size: 0.72rem;
    color: var(--pro-text-muted);
}

html[data-pulse-pro="true"] .pulse-notif-item {
    background-color: var(--pro-bg-surface) !important;
    color: var(--pro-text-primary) !important;
    border: none !important;
    border-bottom: 1px solid var(--pro-border) !important;
    border-left: 3px solid transparent !important;
    padding: 0.65rem 0.85rem !important;
    transition: background-color 0.12s ease !important;
}

html[data-pulse-pro="true"] .pulse-notif-item:hover {
    background-color: var(--pro-bg-elevated) !important;
}

html[data-pulse-pro="true"] .pulse-notif-item.is-unread {
    background-color: var(--pro-accent-subtle) !important;
}

html[data-pulse-pro="true"] .pulse-notif-item.sev-critical {
    border-left-color: #ef4444 !important;
}

html[data-pulse-pro="true"] .pulse-notif-item.sev-warning {
    border-left-color: #f59e0b !important;
}

html[data-pulse-pro="true"] .pulse-notif-item.sev-feedback {
    border-left-color: var(--pro-accent) !important;
}

html[data-pulse-pro="true"] .pulse-notif-item.sev-success {
    border-left-color: #10b981 !important;
}

html[data-pulse-pro="true"] .pulse-notif-item.sev-info {
    border-left-color: var(--pro-border-strong) !important;
}

html[data-pulse-pro="true"] .pulse-notif-item-icon {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 1px solid var(--pro-border-strong);
    background-color: var(--pro-bg-elevated);
    color: var(--pro-text-secondary);
}

html[data-pulse-pro="true"] .pulse-notif-item.sev-critical .pulse-notif-item-icon,
html[data-pulse-pro="true"] .pulse-notif-item.sev-critical .pulse-notif-tag {
    background-color: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.28);
}

html[data-pulse-pro="true"] .pulse-notif-item.sev-warning .pulse-notif-item-icon,
html[data-pulse-pro="true"] .pulse-notif-item.sev-warning .pulse-notif-tag {
    background-color: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.28);
}

html[data-pulse-pro="true"] .pulse-notif-item.sev-feedback .pulse-notif-item-icon,
html[data-pulse-pro="true"] .pulse-notif-item.sev-feedback .pulse-notif-tag {
    background-color: var(--pro-accent-subtle);
    color: var(--pro-accent);
    border-color: var(--pro-accent-border);
}

html[data-pulse-pro="true"] .pulse-notif-item.sev-success .pulse-notif-item-icon,
html[data-pulse-pro="true"] .pulse-notif-item.sev-success .pulse-notif-tag {
    background-color: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.28);
}

html[data-pulse-pro="true"] .pulse-notif-item-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pro-text-primary);
}

html[data-pulse-pro="true"] .pulse-notif-item-time {
    font-size: 0.64rem;
    color: var(--pro-text-muted);
}

html[data-pulse-pro="true"] .pulse-notif-item-body {
    font-size: 0.72rem;
    color: var(--pro-text-secondary);
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html[data-pulse-pro="true"] .pulse-notif-tag,
html[data-pulse-pro="true"] .pulse-notif-swid,
html[data-pulse-pro="true"] .pulse-notif-repeat {
    font-size: 0.58rem;
    font-weight: 600;
    padding: 0.1rem 0.36rem;
    border-radius: 4px;
    border: 1px solid var(--pro-border-strong);
    background-color: var(--pro-bg-elevated);
    color: var(--pro-text-secondary);
}

html[data-pulse-pro="true"] .pulse-notif-new-badge {
    font-size: 0.56rem;
    font-weight: 700;
    padding: 0.1rem 0.36rem;
    border-radius: 4px;
    background-color: var(--pro-accent);
    color: #ffffff;
}

html[data-pulse-pro="true"] .pulse-notif-footer {
    background-color: var(--pro-table-header-bg);
    border-top: 1px solid var(--pro-border-strong);
}

html[data-pulse-pro="true"] .pulse-notif-footer-scope {
    font-size: 0.68rem;
    color: var(--pro-text-muted);
}

html[data-pulse-pro="true"] .pulse-notif-footer-scope i {
    color: var(--pro-accent);
}

html[data-pulse-pro="true"] .pulse-notif-footer-link {
    font-size: 0.71rem;
    font-weight: 600;
    color: var(--pro-accent) !important;
}

html[data-pulse-pro="true"] .pulse-notif-footer-link:hover {
    color: var(--pro-accent-hover) !important;
}

/* Notification Management Callout & Profile Notification Channel Cards */
html[data-pulse-pro="true"] .pulse-console-callout {
    background-color: var(--pro-bg-surface);
    border: 1px solid var(--pro-border-strong);
    border-left: 3px solid #f59e0b;
    border-radius: 8px;
    box-shadow: var(--pro-shadow-card);
}

html[data-pulse-pro="true"] .pulse-console-callout-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background-color: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.28);
    font-size: 0.95rem;
}

html[data-pulse-pro="true"] .pulse-notif-cat-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background-color: var(--pro-accent-subtle);
    color: var(--pro-accent);
    border: 1px solid var(--pro-accent-border);
    font-size: 0.95rem;
}

html[data-pulse-pro="true"] .pulse-notif-cat-row {
    background-color: var(--pro-bg-elevated) !important;
    border-color: var(--pro-border-strong) !important;
    border-radius: 6px !important;
}

html[data-pulse-pro="true"] .status-badge {
    border-radius: 4px !important;
    font-size: 0.62rem !important;
    padding: 0.2rem 0.5rem !important;
}

html[data-pulse-pro="true"] .profile-header {
    background: var(--pro-table-header-bg) !important;
    border-bottom: 1px solid var(--pro-border-strong) !important;
    color: var(--pro-text-primary) !important;
}

html[data-pulse-pro="true"] .form-section-title {
    color: var(--pro-text-secondary) !important;
}

html[data-pulse-pro="true"] .form-section-title::after {
    background: var(--pro-border-strong) !important;
}

/* ==========================================================================
   23. SWEETALERT2 POPUPS, TOASTS & BOOTSTRAP TOASTS (GLOBAL CONSOLE THEME)
   ========================================================================== */
html[data-pulse-pro="true"] .swal2-popup {
    background: var(--pro-bg-surface) !important;
    color: var(--pro-text-primary) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-radius: 10px !important;
    box-shadow: var(--pro-shadow-hover) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

html[data-pulse-pro="true"] .swal2-popup.swal2-toast {
    background: var(--pro-bg-surface) !important;
    color: var(--pro-text-primary) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-left: 3px solid var(--pro-accent) !important;
    border-radius: 8px !important;
    box-shadow: var(--pro-shadow-hover) !important;
    padding: 0.7rem 0.95rem !important;
}

html[data-pulse-pro="true"] .swal2-popup.swal2-toast:has(.swal2-success) {
    border-left-color: #10b981 !important;
}

html[data-pulse-pro="true"] .swal2-popup.swal2-toast:has(.swal2-error) {
    border-left-color: #ef4444 !important;
}

html[data-pulse-pro="true"] .swal2-popup.swal2-toast:has(.swal2-warning) {
    border-left-color: #f59e0b !important;
}

html[data-pulse-pro="true"] .swal2-popup .swal2-title {
    color: var(--pro-text-primary) !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
}

html[data-pulse-pro="true"] .swal2-popup.swal2-toast .swal2-title {
    color: var(--pro-text-primary) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin: 0.15rem 0.5rem !important;
}

html[data-pulse-pro="true"] .swal2-popup .swal2-html-container,
html[data-pulse-pro="true"] .swal2-popup .swal2-content {
    color: var(--pro-text-secondary) !important;
}

html[data-pulse-pro="true"] .swal2-popup.swal2-toast .swal2-html-container {
    color: var(--pro-text-secondary) !important;
    font-size: 0.76rem !important;
    margin: 0.1rem 0.5rem 0 !important;
}

/* Remove SweetAlert2's hardcoded white circular mask behind the animated success checkmark */
html[data-pulse-pro="true"] .swal2-icon.swal2-success [class^="swal2-success-circular-line"],
html[data-pulse-pro="true"] .swal2-icon.swal2-success .swal2-success-fix {
    background-color: transparent !important;
}

html[data-pulse-pro="true"] .swal2-input,
html[data-pulse-pro="true"] .swal2-file,
html[data-pulse-pro="true"] .swal2-textarea,
html[data-pulse-pro="true"] .swal2-select {
    background-color: var(--pro-bg-input) !important;
    color: var(--pro-text-primary) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

html[data-pulse-pro="true"] .swal2-input:focus,
html[data-pulse-pro="true"] .swal2-textarea:focus,
html[data-pulse-pro="true"] .swal2-select:focus {
    border-color: var(--pro-accent) !important;
    box-shadow: 0 0 0 3px var(--pro-accent-subtle) !important;
}

html[data-pulse-pro="true"] .swal2-validation-message {
    background-color: var(--pro-bg-elevated) !important;
    color: #ef4444 !important;
    border-top: 1px solid var(--pro-border) !important;
}

html[data-pulse-pro="true"] .swal2-timer-progress-bar-container {
    background: rgba(148, 163, 184, 0.12) !important;
}

html[data-pulse-pro="true"] .swal2-timer-progress-bar {
    background: var(--pro-accent) !important;
}

html[data-pulse-pro="true"] .swal2-close {
    color: var(--pro-text-muted) !important;
}

html[data-pulse-pro="true"] .swal2-close:hover {
    color: var(--pro-text-primary) !important;
}

html[data-pulse-pro="true"] .swal2-footer {
    border-top-color: var(--pro-border) !important;
    color: var(--pro-text-secondary) !important;
}

html[data-pulse-pro="true"] .swal2-styled.swal2-confirm {
    background-color: var(--pro-accent) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.84rem !important;
    box-shadow: none !important;
}

html[data-pulse-pro="true"] .swal2-styled.swal2-cancel {
    background-color: var(--pro-bg-elevated) !important;
    color: var(--pro-text-secondary) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.84rem !important;
    box-shadow: none !important;
}

/* Bootstrap Toasts */
html[data-pulse-pro="true"] .toast {
    background-color: var(--pro-bg-surface) !important;
    color: var(--pro-text-primary) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-radius: 8px !important;
    box-shadow: var(--pro-shadow-hover) !important;
}

html[data-pulse-pro="true"] .toast-header {
    background-color: var(--pro-table-header-bg) !important;
    color: var(--pro-text-primary) !important;
    border-bottom: 1px solid var(--pro-border) !important;
}

/* ==========================================================================
   24. STARRED / PINNED MODULES & TENANT-SCOPED GLOBAL SEARCH ENGINE
   ========================================================================== */
html[data-pulse-pro="true"] .pulse-nav-search-btn {
    background-color: var(--pro-bg-input) !important;
    color: var(--pro-text-secondary) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-radius: 7px !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    padding: 0.25rem 0.65rem !important;
    transition: all 0.14s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

html[data-pulse-pro="true"] .pulse-nav-search-btn:hover {
    background-color: var(--pro-bg-elevated) !important;
    color: var(--pro-text-primary) !important;
    border-color: var(--pro-accent-border) !important;
}

html[data-pulse-pro="true"] .pulse-nav-search-kbd {
    background-color: var(--pro-bg-surface);
    color: var(--pro-text-muted);
    border: 1px solid var(--pro-border-strong);
    border-radius: 4px;
    font-size: 0.63rem;
    padding: 0.05rem 0.35rem;
    font-family: 'JetBrains Mono', monospace;
}

html[data-pulse-pro="true"] .pulse-nav-pin-btn {
    background-color: var(--pro-bg-surface) !important;
    color: var(--pro-text-secondary) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-radius: 7px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.6rem !important;
    transition: all 0.14s ease !important;
}

html[data-pulse-pro="true"] .pulse-nav-pin-btn:hover,
html[data-pulse-pro="true"] .pulse-nav-pin-btn[aria-expanded="true"] {
    background-color: var(--pro-bg-elevated) !important;
    color: var(--pro-text-primary) !important;
    border-color: rgba(245, 158, 11, 0.45) !important;
}

html[data-pulse-pro="true"] .pulse-gsearch-modal .modal-content {
    background-color: var(--pro-bg-surface) !important;
    border: 1px solid var(--pro-border-strong) !important;
    border-radius: 12px !important;
    box-shadow: var(--pro-shadow-hover) !important;
    overflow: hidden;
}

html[data-pulse-pro="true"] .pulse-gsearch-header {
    background-color: var(--pro-table-header-bg) !important;
    border-bottom: 1px solid var(--pro-border-strong) !important;
    padding: 0.75rem 1rem !important;
}

html[data-pulse-pro="true"] .pulse-gsearch-input {
    background: transparent !important;
    border: none !important;
    color: var(--pro-text-primary) !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}

html[data-pulse-pro="true"] .pulse-gsearch-input::placeholder {
    color: var(--pro-text-muted) !important;
}

html[data-pulse-pro="true"] .pulse-gsearch-filter-bar {
    background-color: var(--pro-bg-elevated) !important;
    border-bottom: 1px solid var(--pro-border) !important;
    padding: 0.45rem 0.85rem !important;
}

html[data-pulse-pro="true"] .pulse-gsearch-tab {
    background: transparent;
    border: 1px solid transparent;
    color: var(--pro-text-secondary);
    border-radius: 6px;
    font-size: 0.71rem;
    font-weight: 600;
    padding: 0.18rem 0.55rem;
    transition: all 0.12s ease;
    white-space: nowrap;
}

html[data-pulse-pro="true"] .pulse-gsearch-tab:hover {
    color: var(--pro-text-primary);
    background-color: var(--pro-bg-surface);
}

html[data-pulse-pro="true"] .pulse-gsearch-tab.active {
    background-color: var(--pro-accent-subtle);
    color: var(--pro-accent);
    border-color: var(--pro-accent-border);
}

html[data-pulse-pro="true"] .pulse-gsearch-item {
    background-color: var(--pro-bg-surface) !important;
    color: var(--pro-text-primary) !important;
    border: none !important;
    border-bottom: 1px solid var(--pro-border) !important;
    border-left: 3px solid transparent !important;
    padding: 0.6rem 0.9rem !important;
    transition: background-color 0.1s ease !important;
    cursor: pointer;
}

html[data-pulse-pro="true"] .pulse-gsearch-item:hover,
html[data-pulse-pro="true"] .pulse-gsearch-item.is-selected {
    background-color: var(--pro-bg-elevated) !important;
    border-left-color: var(--pro-accent) !important;
}

html[data-pulse-pro="true"] .pulse-gsearch-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background-color: var(--pro-bg-elevated);
    border: 1px solid var(--pro-border-strong);
    flex-shrink: 0;
}

html[data-pulse-pro="true"] .pulse-gsearch-action-pill {
    font-size: 0.66rem;
    font-weight: 600;
    padding: 0.14rem 0.48rem;
    border-radius: 5px;
    border: 1px solid var(--pro-border-strong);
    background-color: var(--pro-bg-surface);
    color: var(--pro-text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.12s ease;
}

html[data-pulse-pro="true"] .pulse-gsearch-action-pill:hover {
    background-color: var(--pro-accent-subtle);
    color: var(--pro-accent);
    border-color: var(--pro-accent-border);
}

html[data-pulse-pro="true"] .pulse-gsearch-star-btn {
    border: 1px solid transparent;
    background: transparent;
    color: var(--pro-text-muted);
    width: 26px;
    height: 26px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    transition: all 0.12s ease;
}

html[data-pulse-pro="true"] .pulse-gsearch-star-btn:hover {
    color: #f59e0b;
    background-color: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
}

html[data-pulse-pro="true"] .pulse-gsearch-star-btn.is-pinned {
    color: #f59e0b;
}

html[data-pulse-pro="true"] .pulse-gsearch-footer {
    background-color: var(--pro-table-header-bg) !important;
    border-top: 1px solid var(--pro-border-strong) !important;
    padding: 0.5rem 0.9rem !important;
    font-size: 0.71rem !important;
    color: var(--pro-text-muted) !important;
}

/* ==========================================================================
   25. CONSOLE SHELL: SLIM TOP BAR, COLLAPSIBLE SIDEBAR, BREADCRUMB & MOBILE
   ========================================================================== */
html[data-pulse-pro="true"] #pulseMainNavbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1080 !important;
    min-height: 52px;
}

html[data-pulse-pro="true"] .pulse-app-shell {
    display: flex;
    flex: 1 1 auto;
    min-height: calc(100vh - 54px);
    width: 100%;
    position: relative;
}

/* Desktop Collapsible Left Sidebar */
html[data-pulse-pro="true"] .pulse-desktop-sidebar {
    width: 240px;
    flex: 0 0 240px;
    background-color: var(--pro-bg-surface);
    border-right: 1px solid var(--pro-border-strong);
    position: sticky;
    top: 52px;
    height: calc(100vh - 52px);
    z-index: 1030;
    transition: width 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), flex-basis 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}

html[data-pulse-pro="true"].pulse-sidebar-collapsed .pulse-desktop-sidebar {
    width: 60px;
    flex: 0 0 60px;
}

html[data-pulse-pro="true"] .pulse-sidebar-scroll {
    scrollbar-width: thin;
}

html[data-pulse-pro="true"] .pulse-sidebar-section-label {
    font-size: 0.63rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pro-text-muted);
    padding: 0.35rem 0.6rem 0.2rem;
    white-space: nowrap;
    overflow: hidden;
}

html[data-pulse-pro="true"].pulse-sidebar-collapsed .pulse-desktop-sidebar .pulse-sidebar-section-label {
    text-align: center;
    padding: 0.35rem 0.2rem;
    font-size: 0;
    border-top: 1px solid var(--pro-border);
    margin-top: 0.25rem;
}

html[data-pulse-pro="true"].pulse-sidebar-collapsed .pulse-desktop-sidebar .pulse-sidebar-section-label .badge {
    display: none;
}

html[data-pulse-pro="true"] .pulse-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.44rem 0.65rem;
    border-radius: 6px;
    color: var(--pro-text-secondary);
    text-decoration: none;
    font-size: 0.81rem;
    font-weight: 500;
    transition: background-color 0.12s ease, color 0.12s ease;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 1px;
}

html[data-pulse-pro="true"] .pulse-sidebar-link:hover {
    background-color: var(--pro-bg-elevated);
    color: var(--pro-text-primary);
}

html[data-pulse-pro="true"] .pulse-sidebar-link.active {
    background-color: var(--pro-accent-subtle);
    color: var(--pro-accent) !important;
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--pro-accent);
}

html[data-pulse-pro="true"] .pulse-sidebar-ico {
    width: 18px;
    text-align: center;
    font-size: 0.86rem;
    flex-shrink: 0;
}

html[data-pulse-pro="true"] .pulse-sidebar-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html[data-pulse-pro="true"] .pulse-sidebar-badge {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 0.58rem !important;
    padding: 0.1rem 0.35rem !important;
}

html[data-pulse-pro="true"].pulse-sidebar-collapsed .pulse-desktop-sidebar .pulse-sidebar-link {
    justify-content: center;
    padding: 0.5rem 0;
    gap: 0;
}

html[data-pulse-pro="true"].pulse-sidebar-collapsed .pulse-desktop-sidebar .pulse-sidebar-label,
html[data-pulse-pro="true"].pulse-sidebar-collapsed .pulse-desktop-sidebar .pulse-sidebar-badge,
html[data-pulse-pro="true"].pulse-sidebar-collapsed .pulse-desktop-sidebar .pulse-sidebar-pin-star {
    display: none !important;
}

/* Docked Sidebar Footer Utility Bar (Copilot AI & Feedback) */
html[data-pulse-pro="true"] .pulse-sidebar-footer {
    background-color: var(--pro-table-header-bg);
    border-top-color: var(--pro-border-strong) !important;
}

html[data-pulse-pro="true"] .pulse-sidebar-util-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.42rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--pro-border-strong);
    background-color: var(--pro-bg-surface);
    color: var(--pro-text-primary);
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.14s ease;
    white-space: nowrap;
    overflow: hidden;
}

html[data-pulse-pro="true"] .pulse-sidebar-util-btn.is-ai:hover {
    border-color: var(--pro-accent-border);
    background-color: var(--pro-accent-subtle);
    color: var(--pro-accent);
}

html[data-pulse-pro="true"] .pulse-sidebar-util-btn.is-ai .pulse-sidebar-ico {
    color: var(--pro-accent);
}

html[data-pulse-pro="true"] .pulse-sidebar-util-btn.is-feedback:hover {
    border-color: rgba(245, 158, 11, 0.45);
    background-color: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

html[data-pulse-pro="true"] .pulse-sidebar-util-btn.is-feedback .pulse-sidebar-ico {
    color: #f59e0b;
}

html[data-pulse-pro="true"].pulse-sidebar-collapsed .pulse-desktop-sidebar .pulse-sidebar-util-btn {
    justify-content: center;
    padding: 0.48rem 0;
    gap: 0;
}

/* Main Content Column inside Shell */
html[data-pulse-pro="true"] .pulse-main-col {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Slim Contextual Breadcrumb + Recently Visited Strip */
html[data-pulse-pro="true"] .pulse-context-strip {
    background-color: var(--pro-bg-surface);
    border-bottom: 1px solid var(--pro-border);
    padding: 0.32rem 1rem;
    font-size: 0.73rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

html[data-pulse-pro="true"] .pulse-context-strip::-webkit-scrollbar {
    display: none;
}

html[data-pulse-pro="true"] .pulse-recent-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.12rem 0.48rem;
    border-radius: 5px;
    border: 1px solid var(--pro-border-strong);
    background-color: var(--pro-bg-elevated);
    color: var(--pro-text-secondary);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.12s ease;
}

html[data-pulse-pro="true"] .pulse-recent-pill:hover {
    color: var(--pro-accent);
    border-color: var(--pro-accent-border);
    background-color: var(--pro-accent-subtle);
}

/* Organization Dashboard Live Tenant Health Strip */
html[data-pulse-pro="true"] .pulse-health-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.95rem;
    border-radius: 8px;
    background-color: var(--pro-bg-surface);
    border: 1px solid var(--pro-border-strong);
    text-decoration: none;
    color: var(--pro-text-primary);
    transition: all 0.15s ease;
    height: 100%;
}

html[data-pulse-pro="true"] .pulse-health-tile:hover {
    border-color: var(--pro-accent-border);
    background-color: var(--pro-bg-elevated);
    transform: translateY(-1px);
}

html[data-pulse-pro="true"] .pulse-health-ico {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    border: 1px solid var(--pro-border-strong);
    background-color: var(--pro-bg-elevated);
}

html[data-pulse-pro="true"] .pulse-health-tile.state-success .pulse-health-ico {
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.28);
}

html[data-pulse-pro="true"] .pulse-health-tile.state-danger .pulse-health-ico {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
}

html[data-pulse-pro="true"] .pulse-health-tile.state-warning .pulse-health-ico {
    color: #f59e0b;
    background-color: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
}

html[data-pulse-pro="true"] .pulse-health-tile.state-info .pulse-health-ico {
    color: var(--pro-accent);
    background-color: var(--pro-accent-subtle);
    border-color: var(--pro-accent-border);
}

/* Mobile Offcanvas & 1-Thumb Mobile Bottom Navigation Bar (< 992px) */
html[data-pulse-pro="true"] #pulseMobileNavDrawer {
    width: 280px;
    max-width: 85vw;
    background-color: var(--pro-bg-surface) !important;
    border-right: 1px solid var(--pro-border-strong) !important;
}

html[data-pulse-pro="true"] .pulse-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1075;
    background-color: var(--pro-navbar-bg, var(--pro-bg-surface));
    border-top: 1px solid var(--pro-border-strong);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.25rem;
}

html[data-pulse-pro="true"] .pulse-mobile-nav-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.25rem 0.2rem;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: var(--pro-text-secondary);
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 600;
    position: relative;
}

html[data-pulse-pro="true"] .pulse-mobile-nav-item i {
    font-size: 0.95rem;
}

html[data-pulse-pro="true"] .pulse-mobile-nav-item.active,
html[data-pulse-pro="true"] .pulse-mobile-nav-item:hover {
    color: var(--pro-accent);
    background-color: var(--pro-accent-subtle);
}

@media (max-width: 991.98px) {
    html[data-pulse-pro="true"],
    html[data-pulse-pro="true"] body {
        overflow-x: clip !important;
        max-width: 100vw !important;
    }
    html[data-pulse-pro="true"] .pulse-app-shell,
    html[data-pulse-pro="true"] .pulse-main-col {
        max-width: 100vw !important;
        overflow-x: clip !important;
    }
    html[data-pulse-pro="true"] body.has-mobile-bottom-nav {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    }
    html[data-pulse-pro="true"] .pulse-context-strip {
        padding: 0.3rem 0.65rem;
    }
    html[data-pulse-pro="true"] .pulse-tenant-pill-text {
        max-width: 105px !important;
        font-size: 0.72rem !important;
    }
}
@media (min-width: 992px) {
    html[data-pulse-pro="true"] .pulse-tenant-pill-text {
        max-width: 165px;
    }
}

/* ==========================================================================
   26. SIDEBAR COLLAPSIBLE GROUPS, LIVE ALERT BADGES, SEARCH COMMANDS & MOBILE CARDS
   ========================================================================== */
html[data-pulse-pro="true"] .pulse-sidebar-group-toggle {
    cursor: pointer;
    border-radius: 5px;
    transition: color 0.12s ease, background-color 0.12s ease;
}

html[data-pulse-pro="true"] .pulse-sidebar-group-toggle:hover {
    color: var(--pro-text-primary);
    background-color: var(--pro-bg-elevated);
}

html[data-pulse-pro="true"] .pulse-sidebar-chevron {
    font-size: 0.58rem;
    transition: transform 0.16s ease;
    opacity: 0.65;
}

html[data-pulse-pro="true"] .pulse-sidebar-section.is-collapsed .pulse-sidebar-chevron {
    transform: rotate(-90deg);
}

html[data-pulse-pro="true"] .pulse-sidebar-section.is-collapsed .pulse-sidebar-group-items {
    display: none;
}

html[data-pulse-pro="true"].pulse-sidebar-collapsed .pulse-desktop-sidebar .pulse-sidebar-chevron {
    display: none !important;
}

html[data-pulse-pro="true"].pulse-sidebar-collapsed .pulse-desktop-sidebar .pulse-sidebar-section.is-collapsed .pulse-sidebar-group-items {
    display: block;
}

html[data-pulse-pro="true"] .pulse-sidebar-alert-badge.is-danger {
    background-color: rgba(239, 68, 68, 0.16);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 4px;
    font-weight: 700;
}

html[data-pulse-pro="true"] .pulse-sidebar-alert-badge.is-warning {
    background-color: rgba(245, 158, 11, 0.16);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 4px;
    font-weight: 700;
}

/* Global Search Recent Chips */
html[data-pulse-pro="true"] .pulse-gsearch-recent-bar {
    background-color: var(--pro-bg-surface);
    border-bottom: 1px solid var(--pro-border);
    padding: 0.4rem 0.85rem;
}

html[data-pulse-pro="true"] .pulse-gsearch-recent-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.14rem 0.52rem;
    border-radius: 5px;
    border: 1px solid var(--pro-border-strong);
    background-color: var(--pro-bg-elevated);
    color: var(--pro-text-secondary);
    font-size: 0.69rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.12s ease;
}

html[data-pulse-pro="true"] .pulse-gsearch-recent-chip:hover {
    color: var(--pro-accent);
    border-color: var(--pro-accent-border);
    background-color: var(--pro-accent-subtle);
}

/* MikroTik Devices Triage Filter Chips & Mobile Router Cards */
html[data-pulse-pro="true"] .pulse-triage-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.24rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--pro-border-strong);
    background-color: var(--pro-bg-surface);
    color: var(--pro-text-secondary);
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.13s ease;
    white-space: nowrap;
}

html[data-pulse-pro="true"] .pulse-triage-chip:hover {
    color: var(--pro-text-primary);
    background-color: var(--pro-bg-elevated);
}

html[data-pulse-pro="true"] .pulse-triage-chip.active {
    background-color: var(--pro-accent-subtle);
    color: var(--pro-accent);
    border-color: var(--pro-accent-border);
}

html[data-pulse-pro="true"] .pulse-triage-chip.active.is-danger {
    background-color: rgba(239, 68, 68, 0.14);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.38);
}

html[data-pulse-pro="true"] .pulse-triage-chip.active.is-warning {
    background-color: rgba(245, 158, 11, 0.14);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.38);
}

html[data-pulse-pro="true"] .pulse-mobile-router-card {
    background-color: var(--pro-bg-surface);
    border: 1px solid var(--pro-border-strong);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

html[data-pulse-pro="true"] .pulse-mobile-router-card.status-danger {
    border-left: 3px solid #ef4444;
}

html[data-pulse-pro="true"] .pulse-mobile-router-card.status-warning {
    border-left: 3px solid #f59e0b;
}

html[data-pulse-pro="true"] .pulse-mobile-router-card.status-success {
    border-left: 3px solid #10b981;
}

html[data-pulse-pro="true"] .pulse-mobile-router-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    padding-top: 0.45rem;
    border-top: 1px solid var(--pro-border);
}

html[data-pulse-pro="true"] .pulse-mobile-router-actions .btn {
    font-size: 0.7rem !important;
    padding: 0.3rem 0.25rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    white-space: nowrap;
}




