
        :root {
            --sidebar-width: 250px;
            --sidebar-bg: #2c3e50;
            --sidebar-color: #ecf0f1;
            --sidebar-active-bg: #3498db;
            --sidebar-hover-bg: #34495e;
            --topnav-height: 60px;
            --footer-height: 50px;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
            overflow-x: hidden;
        }

        /* Sidebar Styles */
        .sidebar {
            width: var(--sidebar-width);
            height: 100vh;
            position: fixed;
            left: 0;
            top: 0;
            background-color: var(--sidebar-bg);
            color: var(--sidebar-color);
            transition: all 0.3s ease;
            z-index: 1000;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        }

        .sidebar.collapsed {
            left: calc(-1 * var(--sidebar-width));
        }

        .sidebar-header {
            padding: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .sidebar-logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .sidebar-logo i {
            font-size: 1.8rem;
            color: var(--sidebar-active-bg);
        }

        .sidebar-subtitle {
            font-size: 0.8rem;
            opacity: 0.8;
        }

        .sidebar-nav {
            height: calc(100vh - var(--topnav-height) - var(--footer-height));
            overflow-y: auto;
            padding: 15px 0;
        }

        .sidebar-nav::-webkit-scrollbar {
            width: 5px;
        }

        .sidebar-nav::-webkit-scrollbar-thumb {
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 5px;
        }

        .nav-link {
            color: var(--sidebar-color);
            padding: 10px 15px;
            margin: 2px 0;
            border-radius: 5px;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.2s;
        }

        .nav-link:hover {
            background-color: var(--sidebar-hover-bg);
            color: white;
        }

        .nav-link.active {
            background-color: var(--sidebar-active-bg);
            color: white;
        }

        .nav-link i {
            width: 20px;
            text-align: center;
        }

        .nav-section {
            padding: 15px 15px 5px;
        }

        .nav-section-title {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255, 255, 255, 0.5);
        }

        .nav-submenu {
            list-style: none;
            padding-left: 15px;
        }

        .nav-submenu .nav-link {
            padding: 8px 15px;
            font-size: 0.9rem;
        }

        .dropdown-toggle::after {
            margin-left: auto;
            transition: transform 0.2s;
        }

        .dropdown-toggle[aria-expanded="true"]::after {
            transform: rotate(180deg);
        }

        .sidebar-footer {
            position: absolute;
            bottom: 0;
            width: 100%;
            padding: 10px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            background-color: rgba(0, 0, 0, 0.1);
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 5px;
        }

        .user-avatar {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background-color: var(--sidebar-active-bg);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .user-details {
            flex: 1;
        }

        .user-name {
            font-size: 0.9rem;
            font-weight: 500;
        }

        .user-role {
            font-size: 0.7rem;
            opacity: 0.8;
        }

        /* Main Content Styles */
        .main-content {
            margin-left: var(--sidebar-width);
            min-height: calc(100vh - var(--footer-height));
            padding-top: var(--topnav-height);
            transition: all 0.3s ease;
        }

        .main-content.expanded {
            margin-left: 0;
        }

        /* Top Navigation Styles */
        .topnav {
            height: var(--topnav-height);
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            top: 0;
            right: 0;
            left: var(--sidebar-width);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding: 0 20px;
            transition: all 0.3s ease;
        }

        .topnav.expanded {
            left: 0;
        }

        .topnav-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: #e74c3c;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .notification-icon, .user-dropdown {
            position: relative;
            cursor: pointer;
        }

        .notification-dropdown, .user-dropdown-menu {
            position: absolute;
            right: 0;
            top: 100%;
            min-width: 300px;
            background-color: white;
            border-radius: 5px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            padding: 10px 0;
            z-index: 1000;
            display: none;
        }

        .notification-dropdown {
            width: 350px;
        }

        .notification-header, .user-dropdown-header {
            padding: 10px 15px;
            border-bottom: 1px solid #eee;
            font-weight: 500;
        }

        .notification-item {
            padding: 10px 15px;
            border-bottom: 1px solid #f5f5f5;
            transition: all 0.2s;
        }

        .notification-item:hover {
            background-color: #f9f9f9;
        }

        .notification-time {
            font-size: 0.7rem;
            color: #999;
        }

        .user-dropdown-menu {
            width: 200px;
        }

        .user-dropdown-item {
            padding: 8px 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.2s;
        }

        .user-dropdown-item:hover {
            background-color: #f5f5f5;
        }

        .user-dropdown-item i {
            width: 20px;
            text-align: center;
        }

        /* Footer Styles */
        .footer {
            height: var(--footer-height);
            background-color: white;
            border-top: 1px solid #eee;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            margin-left: var(--sidebar-width);
            transition: all 0.3s ease;
        }

        .footer.expanded {
            margin-left: 0;
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .sidebar {
                left: calc(-1 * var(--sidebar-width));
            }

            .sidebar.active {
                left: 0;
            }

            .main-content, .topnav, .footer {
                margin-left: 0;
            }

            .topnav {
                left: 0;
            }

            .sidebar-toggle {
                display: flex !important;
            }
        }

        /* Page Content Styles */
        .page-content {
            padding: 20px;
        }

        .card {
            border: none;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
        }

        .card-header {
            background-color: white;
            border-bottom: 1px solid #eee;
            font-weight: 500;
        }

        .sidebar-toggle {
            position: fixed;
            left: 20px;
            top: 13px;
            z-index: 1050;
            background: var(--sidebar-active-bg);
            color: white;
            border: none;
            border-radius: 5px;
            width: 40px;
            height: 40px;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }