            :root {
                --bg-light: #f4f7f9;
                --card-bg: #ffffff;
                --text-dark: #1e293b;
                --text-muted: #64748b;
                --border-color: #e2e8f0;
                --sidebar-bg: #1e293b;
                --sidebar-text: #cbd5e1;
                --sidebar-hover: rgba(59, 130, 246, 0.1);
                --primary-blue: #3b82f6;
                --sidebar-width: 280px;
                --kpi-box-bg: #cae6f8;

                /* Status Color System */
                --status-safe-color: #16a34a;
                /* Dark Green */
                --status-safe-bg: #dcfce7;
                --status-low-color: #f59e0b;
                /* Yellow */
                --status-low-bg: #fef9c3;
                --status-high-color: #f97316;
                /* Orange */
                --status-high-bg: #ffedd5;
                --status-critical-color: #dc2626;
                /* Red */
                --status-critical-bg: #fee2e2;
            }

            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
                font-family: "Quicksand", sans-serif
            }

            body {
                font-family: "Quicksand", sans-serif;
                background-color: var(--bg-light);
                color: var(--text-dark);
                min-height: 100vh;
                overflow-x: hidden;
                position: relative;
            }

            h1,
            h2,
            h3 {
                font-family: "Yatra One", system-ui;
            }

            body::before {
                content: '';
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-image: linear-gradient(var(--border-color) 1px, transparent 1px), linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
                background-size: 40px 40px;
                opacity: 0.5;
                z-index: -1;
                animation: pan-grid 60s linear infinite;
            }

            @keyframes pan-grid {
                from {
                    background-position: 0 0;
                }

                to {
                    background-position: 40px 40px;
                }
            }

            .page-header {
                text-align: center;
                margin-bottom: 2rem;
                width: 100%;
            }

            /* --- ADD THESE NEW RULES BELOW IT --- */
            .page-header h1 {
                font-size: 3.5rem;
                /* Increased from the default size */
                line-height: 1.2;
                /* Adjusts spacing for the larger text */
                margin-bottom: 0.75rem;
                /* Adds a bit more space below the heading */
            }

            .page-header p {
                font-size: 1.2rem;
                /* Increased paragraph size for better readability */
                max-width: 800px;
                /* Optional: increase max-width for the longer text */
                font-family: "Quicksand", sans-serif;
            }

            /* NEW: Fixed Logo Container */
            .fixed-logo-container {
                position: fixed;
                top: 1.5rem;
                left: 1.5rem;
                z-index: 999;
                transition: opacity 0.4s ease;
            }

            .fixed-logo-container img {
                max-width: 150px;
                height: auto;
            }

            /* Keyframes for the animated gradient background */
            @keyframes animate-gradient {
                0% { background-position: 0% 50%; }
                50% { background-position: 100% 50%; }
                100% { background-position: 0% 50%; }
            }

            header {
                position: fixed;
                top: 0;
                left: 0;
                height: 100vh;
                width: var(--sidebar-width);
                z-index: 1000;
                transition: transform 0.4s ease;
                display: flex;
                flex-direction: column;

                /* --- ANIMATED GRADIENT BACKGROUND --- */
                background: linear-gradient(-45deg, #5c4a9a, #9d2f7d, #1f705e, #306b88, #d5834c);
                background-size: 400% 400%;
                animation: animate-gradient 25s ease infinite;

                /* 3D Depth Effect */
                box-shadow: 5px 0px 30px rgba(0, 0, 0, 0.35);
                border-right: 1px solid rgba(0, 0, 0, 0.2);
            }

            body.sidebar-collapsed header {
                transform: translateX(calc(-1 * var(--sidebar-width)));
            }

            #main-nav {
                display: flex;
                flex-direction: column;
                padding: 1.5rem 0; /* Adjusted padding for top/bottom */
                height: 100%;
            }

            /* NEW: Style for the top logo */
            .top-logo {
                text-align: center;
                padding: 0 1.5rem 1.5rem;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            }
            .top-logo img {
                max-width: 120px;
                opacity: 0.8;
                transition: opacity 0.3s ease;
            }
            .top-logo a:hover img {
                opacity: 1;
            }

            /* UPDATED: Styling for the main CompliBear logo */
            .logo {
                padding: 1.5rem;
                margin-bottom: 0.5rem;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .logo a {
                font-family: "Yatra One", system-ui;
                font-size: 2rem; /* Larger font size like the image */
                font-weight: 700;
                color: #ffffff;
                text-decoration: none;
                display: flex;
                align-items: center;
                gap: 0.7rem;
                text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
            }

            .nav-container {
                flex-grow: 1;
                overflow-y: auto;
                /* Hide scrollbar */
                scrollbar-width: none; /* Firefox */
                -ms-overflow-style: none;  /* IE/Edge */
            }
            .nav-container::-webkit-scrollbar {
                display: none; /* Webkit */
            }

            .nav-links {
                list-style: none;
                padding: 0;
                margin: 0;
            }

            /* UPDATED: Styling for the navigation links with 3D effect */
            .nav-item>a {
                color: var(--sidebar-text);
                text-decoration: none;
                font-weight: 500;
                font-size: 1.1rem; /* Slightly larger font */
                padding: 1rem 2.25rem; /* Adjusted padding */
                display: block; /* Changed to block */
                border-left: 4px solid transparent; /* For active indicator */
                transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            }

            .nav-item>a:hover {
                color: #ffffff;
                background: rgba(0, 0, 0, 0.2);
                border-left-color: var(--primary-blue);
                transform: translateX(5px); /* Subtle lift effect */
            }

            /* 3D "Pressed" effect for the active link */
            .nav-item>a.active-nav { /* Renamed .active to .active-nav for clarity */
                color: #ffffff;
                font-weight: 700;
                background-color: rgba(0, 0, 0, 0.25);
                border-left-color: #ffffff; /* White active indicator */
                box-shadow: inset 4px 0px 8px rgba(0, 0, 0, 0.4);
            }
            

            main {
                margin-left: var(--sidebar-width);
                position: relative;
                width: calc(100% - var(--sidebar-width));
                min-height: 100vh;
                transition: margin-left 0.4s ease, width 0.4s ease;
            }

            body.sidebar-collapsed main {
                margin-left: 0;
                width: 100%;
            }

            #sidebar-toggle {
                position: fixed;
                top: 1.5rem;
                left: var(--sidebar-width);
                z-index: 1001;
                width: 45px;
                height: 45px;
                background: var(--card-bg);
                border: 1px solid var(--border-color);
                border-left: none;
                border-radius: 0 50% 50% 0;
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--text-muted);
                font-size: 1.1rem;
                cursor: pointer;
                box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
                transition: all 0.4s ease;
            }

            body.sidebar-collapsed #sidebar-toggle {
                left: 0;
            }

            .content-view {
                width: 100%;
                min-height: 100vh;
                display: flex;
                align-items: flex-start;
                justify-content: center;
                padding: 2rem;
                overflow-y: auto;
            }

            .page-container {
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 1rem;
                padding: 2rem 0;
            }

            .page-header {
                text-align: center;
                margin-bottom: 2rem;
                width: 100%;
            }

            .page-header p {
                font-size: 1.25rem;
                color: var(--text-muted);
                margin: 0 auto;
                font-style: italic;
            }

            /* --- Dark Themed KPI Boxes --- */
            .kpi-summary-wrapper {
                display: flex;
                flex-wrap: wrap;
                gap: 1.5rem;
                justify-content: center;
                width: 100%;
                max-width: 1200px;
                margin-bottom: 2.5rem;
            }

            .kpi-box {
                flex: 1;
                min-width: 220px;
                border-radius: 16px;
                padding: 1.5rem;
                text-align: center;
                color: #ffffff;
                position: relative;
                overflow: hidden;
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

            /* UPDATED: Enhanced Hover Effect */
            .kpi-box:hover {
                transform: translateY(-8px);
                box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
            }

            .kpi-icon {
                font-size: 2rem;
                color: #ffffff;
                margin-bottom: 0.75rem;
            }

            .kpi-label {
                font-family: "Roboto", sans-serif;
                display: block;
                font-size: 0.9rem;
                color: #e2e8f0;
                margin-bottom: 0.25rem;
            }

            .kpi-value {
                font-family: "Roboto", sans-serif;
                font-size: 2rem;
                font-weight: 700;
                color: #ffffff;
            }

            .kpi-box.kpi-blue {
                background: linear-gradient(145deg, #4c3a9a, #2c204d);
            }

            .kpi-box.kpi-gold {
                background: linear-gradient(145deg, #6d3b36, #d5834c);
            }

            .kpi-box.kpi-green {
                background: linear-gradient(145deg, #1f505e, #163944);
            }

            .kpi-box.kpi-pink {
                background: linear-gradient(145deg, #7c2f5d, #582243);
            }

            .kpi-box.kpi-shade {
                background: linear-gradient(145deg, #1f505e, #305b88);
            }


            .cards-wrapper {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 2rem;
                width: 100%;
            }

            .strategy-card {
                background: var(--card-bg);
                border: 1px solid var(--border-color);
                border-radius: 16px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
                padding: 1.5rem;
                width: 100%;
                max-width: 400px;
                display: flex;
                flex-direction: column;
                transition: all 0.3s ease;
                border-top: 4px solid var(--border-color);
            }

            .card-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 1rem;
                margin-bottom: 1rem;
            }

            .card-status-tag {
                padding: 0.25rem 0.85rem;
                border-radius: 9999px;
                font-size: 0.75rem;
                font-weight: 600;
                text-transform: uppercase;
            }

            .checklist {
                list-style: none;
                padding: 0;
                margin: 0;
                flex-grow: 1;
            }

            .checklist-item {
                padding: 1rem 0;
                border-bottom: 1px solid var(--border-color);
            }

            .item-header {
                display: flex;
                gap: 1rem;
                margin-bottom: 1rem;
            }

            .item-header .item-title {
                flex-grow: 1;

                white-space: normal;

                margin-right: 1rem; 
            }


            .item-header .item-percentage {
                margin-left: auto;
                font-size: 0.9rem;
                font-weight: 600;
            }

            .progress-bar-container {
                width: 100%;
                height: 6px;
                background-color: #e9ecef;
                border-radius: 999px;
            }

            .progress-bar-fill {
                height: 100%;
                border-radius: 999px;
                transition: width 0.8s ease;
            }

            .card-footer {
                display: flex;
                justify-content: flex-end;
                align-items: center;
                padding-top: 1rem;
                margin-top: 1rem;
                border-top: 1px solid var(--border-color);
            }

            /* --- NEW: Tooltip Styling --- */
            .info-icon-wrapper {
                position: relative;
                display: inline-flex;
                align-items: center;
                margin-left: 0.5rem;
                cursor: pointer;
            }

            .info-icon {
                color: #ccc;
                transition: color 0.3s ease;
            }

            .info-icon-wrapper:hover .info-icon {
                color: var(--primary-blue);
            }

            .tooltip-text {
                visibility: hidden;
                opacity: 0;
                width: 220px;
                background-color: var(--text-dark);
                color: #fff;
                text-align: center;
                border-radius: 6px;
                padding: 8px;
                position: absolute;
                z-index: 10;
                bottom: 150%;
                left: 50%;
                margin-left: -110px;
                /* Use half of the width to center */
                transition: opacity 0.3s;
                font-size: 0.85rem;
                font-family: "Quicksand", sans-serif;
                line-height: 1.4;
            }

            .tooltip-text::after {
                position: absolute;
                top: 100%;
                left: 50%;
                margin-left: -5px;
                border-width: 5px;
                border-style: solid;
            }

            .info-icon-wrapper:hover .tooltip-text {
                visibility: visible;
                opacity: 1;
            }

            .item-title {
                font-weight: 600;
            }

            .item-title-link {
                color: #007bff; /* A standard link blue */
                text-decoration: none;
                font-weight: 600;
                transition: color 0.2s ease, text-decoration 0.2s ease;
            }

            .item-title-link:hover,
            .item-title-link:focus {
                color: #0056b3; /* A darker blue on hover */
                text-decoration: underline;
                outline: none;
            }


            .item-title-link:hover,
            .item-title-link:focus {
                color: #0056b3;
                /* A standard link-hover blue */
                text-decoration: underline;
                outline: none;
            }


            .strategy-card.status-safe {
                border-top-color: var(--status-safe-color);
            }

            .status-safe .card-status-tag {
                background-color: var(--status-safe-bg);
                color: var(--status-safe-color);
            }

            .strategy-card.status-low {
                border-top-color: var(--status-low-color);
            }

            .status-low .card-status-tag {
                background-color: var(--status-low-bg);
                color: var(--status-low-color);
            }

            .strategy-card.status-high {
                border-top-color: var(--status-high-color);
            }

            .status-high .card-status-tag {
                background-color: var(--status-high-bg);
                color: var(--status-high-color);
            }

            .strategy-card.status-critical {
                border-top-color: var(--status-critical-color);
            }

            .status-critical .card-status-tag {
                background-color: var(--status-critical-bg);
                color: var(--status-critical-color);
            }

            .checklist-item.risk-safe .item-percentage {
                color: var(--status-safe-color);
            }

            .checklist-item.risk-safe .progress-bar-fill {
                background-color: var(--status-safe-color);
            }

            .checklist-item.risk-low .item-percentage {
                color: var(--status-low-color);
            }

            .checklist-item.risk-low .progress-bar-fill {
                background-color: var(--status-low-color);
            }

            .checklist-item.risk-high .item-percentage {
                color: var(--status-high-color);
            }

            .checklist-item.risk-high .progress-bar-fill {
                background-color: var(--status-high-color);
            }

            .checklist-item.risk-critical .item-percentage {
                color: var(--status-critical-color);
            }

            .checklist-item.risk-critical .progress-bar-fill {
                background-color: var(--status-critical-color);
            }

            .back-button {
                position: absolute;
                top: 2rem;
                left: 2rem;
                z-index: 20;
                width: 45px;
                height: 45px;
                background: var(--card-bg);
                border: 1px solid var(--border-color);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--text-muted);
                font-size: 1.1rem;
                text-decoration: none;
                transition: all 0.3s ease;
                box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            }

            .back-button:hover {
                transform: scale(1.05);
                color: var(--text-dark);
                border-color: #ccc;
            }

            .placeholder-content {
                background-color: var(--card-bg);
                border: 2px dashed var(--border-color);
                padding: 4rem;
                border-radius: 16px;
                text-align: center;
                color: var(--text-muted);
                width: 100%;
                max-width: 800px;
            }

            .placeholder-content i {
                font-size: 3rem;
                margin-bottom: 1rem;
                color: #bdc3c7;
            }

            .placeholder-content h3 {
                font-size: 1.5rem;
                color: var(--text-dark);
                margin-bottom: 0.5rem;
            }

            /* UPDATED: Widget Container with hover effect */
            .widget-container {
                width: 100%;
                padding: 2rem;
                background-color: var(--card-bg);
                border-radius: 16px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
                border: 1px solid var(--border-color);
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

            .widget-container:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            }

            .chart-grid-container {
                display: flex;
                flex-wrap: wrap;
                gap: 2rem;
                width: 100%;
                max-width: 1400px;
                align-items: center;
            }

            .chart-column {
                flex: 2;
                min-width: 350px;
            }

            .pie-chart-column {
                flex: 1;
                min-width: 350px;
            }

            .chart-wrapper {
                flex: 1;
                min-width: 400px;
            }

            .pie-chart-wrapper {
                max-width: 350px;
                margin: 0 auto;
                position: relative;
            }


            @media (max-width: 992px) {
                header {
                    transform: translateX(calc(-1 * var(--sidebar-width)));
                }

                body.sidebar-open header {
                    transform: translateX(0);
                }

                main {
                    margin-left: 0;
                    width: 100%;
                }

                #sidebar-toggle {
                    left: 0;
                }
            }

            .roboto-uniquifier {
                font-family: "Roboto", sans-serif;
                font-optical-sizing: auto;
                font-weight: weight;
                font-style: normal;
                font-variation-settings:
                    "wdth" 100;
            }
            /* --- NEW: GRADIENT HEADING STYLES --- */
            .gradient-heading {
                -webkit-background-clip: text;
                background-clip: text;
                color: transparent;
                text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
            }

            /* Modifier class for the PINK theme (Quality, HR, P2I) */
            .h1-gradient-pink {
                background-image: linear-gradient(145deg, #9d2f7d, #682243);
            }

            /* Modifier class for the SHADE theme */
            .h1-gradient-shade {
                background-image: linear-gradient(145deg, #306b88, #1f505e);
            }

            /* Modifier class for the BLUE theme */
            .h1-gradient-blue {
                background-image: linear-gradient(145deg, #5c4a9a, #3c204d);
            }

            /* Modifier class for the GOLD theme */
            .h1-gradient-gold {
                background-image: linear-gradient(145deg, #d5834c, #8d3b36);
            }

            /* Modifier class for the GREEN theme */
            .h1-gradient-green {
                background-image: linear-gradient(145deg, #1f705e, #165944);
            }
            .item-header .item-title {
                /* 1. Define a fixed width for the title container */
                width: 250px; 
                
                /* 2. Prevent the element from shrinking if the container is tight */
                flex-shrink: 0;

                /* 3. (Optional but recommended) Handle long titles gracefully */
                white-space: nowrap;      /* Prevents text from wrapping to the next line */
                overflow: hidden;         /* Hides any text that overflows the width */
                text-overflow: ellipsis;  /* Adds an elegant "..." at the end of hidden text */
            }
            .top-logo-link {
                display: block; /* Makes the whole area clickable */
                text-decoration: none; /* Removes underline from the link */
                padding: 0 1.5rem 1.5rem; /* Matches the original padding */
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            }

            /* This is the main change: the div becomes the logo via a background image */
            .top-logo {
                /* Set the logo image */
                background-image: url('ajalabs.png'); /* IMPORTANT: Ensure this path is correct */

                /* Control the image's appearance */
                background-repeat: no-repeat;
                background-position: center;
                background-size: contain; /* Ensures the whole logo fits without being cropped */
                
                /* Define the size of the logo area */
                width: 120px;
                height: 50px; /* Adjust height as needed */
                margin: 0 auto; /* Centers the logo container horizontally */

                /* Style for the hover effect */
                opacity: 0.8;
                transition: opacity 0.3s ease;
            }

