:root {
            /* DJP Online Theme Palette */
            --primary: #1A3166;
            /* Deep Blue from DJP NavBar */
            --primary-dark: #11224D;
            --secondary: #2C3E50;
            --accent: #FBC02D;
            /* Golden Yellow from Banner/Table Header */
            --accent-light: #FFF0C1;
            /* Lighter yellow for hover/subtle backgrounds */

            --bg-body: #F4F6F9;
            /* Softer gray background */
            --bg-card: #FFFFFF;
            --bg-sidebar: #1A3166;
            /* Matching primary blue */

            --text-main: #333333;
            --text-muted: #555555;
            --text-light: #F8F9FA;

            --border: #E0E0E0;
            --input-bg: #FFFFFF;

            --success: #28A745;
            --warning: #FFC107;
            --danger: #DC3545;
            --info: #17A2B8;

            --radius: 6px;
            /* Slightly sharper edges, more professional */
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
            --shadow-md: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
            --transition: all 0.2s ease-in-out;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            line-height: 1.5;
            height: 100vh;
            display: flex;
            overflow: hidden;
            /* For sidebar layout */
        }

        /* Sidebar Styles */
        .sidebar {
            width: 280px;
            background-color: var(--bg-sidebar);
            color: var(--text-light);
            display: flex;
            flex-direction: column;
            height: 100%;
            overflow-y: auto;
            flex-shrink: 0;
            box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
            z-index: 50;
        }

        .sidebar-header {
            padding: 24px;
            background: rgba(255, 255, 255, 0.05);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            position: relative;
        }

        .logo {
            height: 60px;
            width: auto;
            margin-bottom: 12px;
        }

        .brand-title {
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            color: white;
            opacity: 0.9;
        }

        .nav-menu {
            padding: 20px 0;
            flex: 1;
        }

        .nav-item {
            padding: 12px 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 12px;
            color: rgba(255, 255, 255, 0.75);
            transition: var(--transition);
            font-size: 14px;
            font-weight: 500;
            border-left: 3px solid transparent;
        }

        .nav-item:hover {
            background-color: rgba(255, 255, 255, 0.05);
            color: var(--text-light);
        }

        .nav-item.active {
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            border-left-color: var(--accent);
        }

        .nav-icon {
            font-size: 16px;
            width: 20px;
            text-align: center;
        }

        /* Sidebar Footer Styles */
        .sidebar-footer {
            margin-top: auto;
            padding: 24px 20px;
            text-align: center;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
        }

        .developed-by {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: rgba(255, 255, 255, 0.35);
            font-weight: 500;
        }

        .developer-name {
            color: var(--accent);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.5px;
            cursor: default;
            transition: all 0.3s ease;
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .developer-name::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background-color: var(--accent);
            transition: width 0.3s ease;
            opacity: 0.5;
        }

        .sidebar-footer:hover .developer-name {
            color: white;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
        }

        .sidebar-footer:hover .developer-name::after {
            width: 100%;
            background-color: white;
        }

        /* Main Content */
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            position: relative;
            min-width: 0;
        }

        .top-bar {
            background-color: var(--primary);
            color: white;
            padding: 12px 32px;
            box-shadow: var(--shadow-md);
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 10;
            border-bottom: 4px solid var(--accent);
            /* DJP-style yellow strip */
        }

        .page-title {
            font-size: 18px;
            font-weight: 600;
            color: white;
            letter-spacing: 0.5px;
        }

        .global-actions {
            display: flex;
            gap: 12px;
        }

        .top-bar-main {
            display: flex;
            align-items: center;
            gap: 16px;
            min-width: 0;
        }

        .top-bar-titles {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }

        .page-title.brand {
            opacity: 0.85;
        }

        .page-title.context {
            padding-left: 10px;
            border-left: 1px solid rgba(255, 255, 255, 0.2);
        }

