
        :root {
            --primary-color: #4361ee;
            --secondary-color: #3f37c9;
            --sidebar-bg: #2b2d42;
            --sidebar-active: #4361ee;
            --content-bg: #f8f9fa;
            --header-height: 60px;
        }
        /* Sidebar */
        #sidebar {
            background: var(--sidebar-bg);
            color: #fff;
            height: 100vh;
            position: fixed;
            transition: all 0.3s;
            z-index: 1000;
            left: 0;
            transform: translateX(0);
            box-shadow: 3px 0 15px rgba(0, 0, 0, 0.1);
            max-width: 250px;
            width: 250px;
        }
        
        .sidebar-header {
            padding: 15px 20px;
            background: rgba(0, 0, 0, 0.2);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .sidebar-header h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 0;
            display: flex;
            align-items: center;
        }
        
        .sidebar-header h3 i {
            margin-right: 10px;
        }
        
        .close-sidebar {
            display: none;
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .close-sidebar:hover {
            color: #fff;
        }
        
        .sidebar-menu {
            padding: 20px 0;
            height: calc(100vh - 60px);
            overflow-y: auto;
        }
        
        .sidebar-menu .nav-link {
            color: rgba(255, 255, 255, 0.7);
            padding: 5px 20px;
            margin: 5px 0;
            border-radius: 0;
            transition: all 0.2s;
            display: flex;
            align-items: center;
        }
        
        .sidebar-menu .nav-link:hover,
        .sidebar-menu .nav-link.active {
            color: #fff;
            background: var(--sidebar-active);
        }
        
        .sidebar-menu .nav-link i {
            margin-right: 10px;
            font-size: 1.1rem;
            width: 24px;
            text-align: center;
        }
        
        /* Main Content */
        #content {
            margin-left: 250px;
            width: calc(100% - 250px);
            transition: all 0.3s;
            min-height: 100vh;
        }
        
        /* Overlay para móviles */
        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
        }
        
        /* Top Bar */
        .topbar {
            background: #fff;
            height: var(--header-height);
            box-shadow: 0 1px 15px rgba(0, 0, 0, 0.04);
            padding: 0 20px;
            display: flex;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 99;
        }
        
        .toggle-btn {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #495057;
            cursor: pointer;
            display: none;
            margin-right: 15px;
        }
        
        /* Page Content */
        .main-content {
            padding: 20px;
            min-height: calc(100vh - var(--header-height));
        }
        
        /* Cards */
        .stat-card {
            border-radius: 10px;
            overflow: hidden;
            border: none;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s;
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
        }
        
        .stat-card .card-icon {
            font-size: 2.5rem;
            opacity: 0.2;
            position: absolute;
            right: 20px;
            top: 20px;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            #sidebar {
                width: 80px;
                text-align: center;
            }
            
            #sidebar .sidebar-header h3 span,
            #sidebar .nav-link span {
                display: none;
            }
            
            #sidebar .nav-link i {
                margin-right: 0;
                font-size: 1.3rem;
            }
            
            #content {
                margin-left: 80px;
                width: calc(100% - 80px);
            }
        }
        
        @media (max-width: 768px) {
            #sidebar {
                width: 250px;
                transform: translateX(-100%);
            }
            
            #sidebar.active {
                transform: translateX(0);
            }
            
            #sidebar .sidebar-header h3 span,
            #sidebar .nav-link span {
                display: inline;
            }
            
            #sidebar .nav-link i {
                margin-right: 10px;
            }
            
            #content {
                margin-left: 0;
                width: 100%;
            }
            
            .toggle-btn {
                display: block;
            }
            
            .close-sidebar {
                display: block;
            }
        }
        
        /* Dashboard widgets */
        .dashboard-widget {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            padding: 20px;
            margin-bottom: 20px;
        }
        
        .dashboard-widget h5 {
            font-size: 1.1rem;
            color: #495057;
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
            padding-bottom: 10px;
        }
        
        .recent-activity .activity-item {
            display: flex;
            padding: 10px 0;
            border-bottom: 1px solid #f1f1f1;
        }
        
        .recent-activity .activity-item:last-child {
            border-bottom: none;
        }
        
        .recent-activity .activity-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(67, 97, 238, 0.1);
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .recent-activity .activity-content {
            flex-grow: 1;
        }
        
        .recent-activity .activity-time {
            font-size: 0.8rem;
            color: #6c757d;
        }
        
        /* Table styling */
        .custom-table th {
            background: #f8f9fa;
            font-weight: 600;
            color: #495057;
        }
        
        .custom-table tr:hover {
            background-color: rgba(67, 97, 238, 0.03);
        }
        
        /* Status badges */
        .badge-pending {
            background: #ffc107;
            color: #000;
        }
        
        .badge-completed {
            background: #198754;
        }
        
        .badge-processing {
            background: #0dcaf0;
        }
        
        /* Footer */
        .footer {
            background: #fff;
            padding: 20px;
            text-align: center;
            color: #6c757d;
            border-top: 1px solid #eee;
        }
