    :root {
        --theme-black: #0f172a;       /* Deep Charcoal Slate Black */
        --theme-blue: #023672;        /* Premium Corporate Blue */
        --theme-blue-hover: #01234a;  /* Darker Blue for interactive states */
        --theme-red: #dc2626;         /* Vivid Crimson Accent Red */
        --theme-white: #ffffff;       /* Pure Crisp White */
        --theme-light-gray: #f8fafc;  /* Soft Background Gray */
        --theme-border: #e2e8f0;      /* clean structural dividing line */
        --text-muted: #64748b;        /* Readable Secondary Slate Text */
    }

    /* Navbar Structural Matrix */
    .main-navbar {
        background-color: var(--theme-black);
        border-bottom: 3px solid var(--theme-red);
        padding: 15px 20px;
    }

    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .brand-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: var(--theme-white);
        font-size: 20px;
        font-weight: 600;
        transition: opacity 0.2s;
    }

    .brand-logo:hover {
        opacity: 0.9;
    }

    .logo-icon {
        color: var(--theme-red);
    }

    .brand-accent {
        color: var(--theme-red);
        font-weight: 800;
    }

    .nav-status-badge {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: var(--theme-blue);
        color: var(--theme-white);
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: bold;
        letter-spacing: 0.5px;
    }

    .secure-icon {
        color: var(--theme-white);
    }

    /* Overview Hero Section Structural Frame */
    .overview-hero-card {
        background-color: var(--theme-white);
        border-bottom: 1px solid var(--theme-border);
        padding: 40px 20px;
        margin-bottom: 30px;
    }

    .hero-header-split {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
    }

    .hero-left-stack {
        max-width: 750px;
    }

    .pill-category-badge {
        display: inline-block;
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 4px 10px;
        border-radius: 4px;
        margin-bottom: 12px;
    }

    .page-title {
        color: var(--theme-black);
        font-size: 28px;
        font-weight: 800;
        margin: 0 0 8px 0;
        letter-spacing: -0.5px;
    }

    .page-subtitle {
        color: var(--text-muted);
        font-size: 15px;
        line-height: 1.6;
        margin: 0;
    }

    /* Dynamic Action Button Styling */
    .btn-secondary-link {
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background-color: var(--theme-blue);
        color: var(--theme-white);
        padding: 12px 20px;
        border-radius: 6px;
        font-weight: bold;
        font-size: 14px;
        transition: background-color 0.2s, transform 0.1s;
        white-space: nowrap;
        box-shadow: 0 4px 6px -1px rgba(2, 54, 114, 0.15);
    }

    .btn-secondary-link:hover {
        background-color: var(--theme-blue-hover);
        transform: translateY(-1px);
    }

    .btn-secondary-link:active {
        transform: translateY(0);
    }

    /* Breakpoint Adjustment Layer */
    @media (max-width: 768px) {
        .hero-header-split {
            flex-direction: column;
            align-items: flex-start;
            gap: 20px;
        }
    }/* CSS Document */

/* =======================================================
   REAL-TIME NOTIFICATION & PULSE SIGNAL SYSTEM ACCENTS
   ======================================================= */
.pulse-light-indicator {
    width: 8px;
    height: 8px;
    background-color: #16a34a;         /* Corporate operational green light marker */
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

/* Pulsing energy wave projection ring effect */
.pulse-light-indicator::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #16a34a;
    border-radius: 50%;
    animation: radarGlowPulse 2s infinite ease-out;
}

@keyframes radarGlowPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(3.5); opacity: 0; }
}

/* Incremental Navigation Menu Badge Count Marker */
.menu-counter-badge {
    background-color: #2563eb;         /* High-contrast brand accent blue bubble */
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: auto;                  /* Automatically pins to the far right edge of side layouts */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-counter-badge.bump-animate {
    transform: scale(1.3);
    background-color: #dc2626;         /* Momentarily shifts warning red on live updates catch */
}
/* =======================================================
   HORIZONTALLY STREAMLINED EXECUTIVE METRICS HUD BAR
   ======================================================= */
.dashboard-metrics-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr); /* Allocates slightly more width for the UGX currency text */
    gap: 16px;
    width: 100%;
    margin-bottom: 35px;
}

.metric-summary-card {
    background-color: #ffffff;          /* White-dominating corporate canvas */
    border: 1px solid #e2e8f0;          /* Clean structural edge boundary line */
    border-radius: 6px;
    padding: 12px 16px;                 /* Condensed padding footprint to save layout space */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: row;                /* Switches direction track to a horizontal side-by-side row flow */
    align-items: center;                /* Vertically centers numbers and text flush with each other */
    justify-content: space-between;     /* Automatically pushes titles left and counts right */
    gap: 12px;
}

.metric-summary-card.revenue-highlight-zone {
    border-left: 4px solid #2563eb;    /* Balanced corporate blue anchor point */
    background-color: #f8fafc;          /* Distinct clean tint background shade for the revenue track */
}

/* Typography Adjustments for Horizontal Balance */
.metric-card-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;                     /* Slate gray text matching professional guidelines */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-card-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;                     /* Pitch black text for strong statistical visibility */
    line-height: 1;
    white-space: nowrap;                /* Prevents currency prefixes from dropping to a second line */
}

.metric-card-value.small-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
}

/* =======================================================
   RESPONSIVE LAYOUT MATRIX CONSTRAINTS (< 992px)
   ======================================================= */
@media (max-width: 992px) {
    .dashboard-metrics-grid {
        grid-template-columns: repeat(2, 1fr); /* Switches to a tidy 2-column horizontal block layout */
        gap: 12px;
    }
}

@media (max-width: 550px) {
    .dashboard-metrics-grid {
        grid-template-columns: 1fr;           /* Flattens into a single stream list on tight mobile displays */
    }
}
