:root {
            --bg-light: #f8f9fa;
            --bg-dark: #1e1e2f;
            --text-light: #333;
            --text-dark: #fff;
            --primary: #0d6efd;
            --sidebar-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
            --sidebar-dark-bg: linear-gradient(135deg, rgba(27, 27, 47, 0.7), rgba(15, 15, 35, 0.7)); /* Latar gelap untuk dark mode */
            --glass-bg: rgba(255, 255, 255, 0.1);
            --glass-dark-bg: rgba(0, 0, 0, 0.2);
        }

        body {
            background-color: var(--bg-light);
            color: var(--text-light);
            transition: background-color 0.3s ease, color 0.3s ease;
            margin: 0;
            padding: 0;
            font-family: 'Poppins', sans-serif;
        }

        .dark-mode {
            background-color: var(--bg-dark);
            color: var(--text-dark);
        }

        .timeline {
            position: relative;
        }
        .timeline-item {
            position: relative;
        }
        .timeline-item .dot {
            position: absolute;
            left: -9px;
            top: 4px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: var(--primary);
        }
        .timeline-item .content {
            position: relative;
            padding-left: 20px;
            border-left: 2px solid var(--primary);
        }
        .timeline-item .content p {
            font-size: 0.85rem;
        }
        
        /* Sidebar with Modern Glassmorphism */
        .sidebar {
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            width: 250px;
            background: var(--sidebar-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 20px 15px;
            overflow-y: auto;
            transition: all 0.3s ease;
            z-index: 1000;
            color: #333;
            box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
        }

        .dark-mode .sidebar {
            background: var(--sidebar-dark-bg); /* Latar gelap di dark mode */
            color: var(--text-dark);
        }
        
        .sidebar .logo {
            display: flex;
            align-items: center;
            justify-content: flex-start; /* Logo di kiri, teks di kanan */
            margin-bottom: 30px;
        }
        .sidebar .logo img {
            width: 70px;
            height: 70px;
            object-fit: cover;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.3);
            transition: transform 0.3s ease;
            margin-right: 10px; /* Jarak antara logo dan teks */
        }
        .sidebar .logo img:hover {
            transform: scale(1.1);
        }
        .sidebar .logo h6 {
            margin: 0;
            font-weight: 600;
            font-size: 1rem;
            color: #333;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
        }

        .dark-mode .sidebar .logo h6 {
            color: var(--text-dark);
        }
        
        /* Toggle Dark Mode Button */
        #darkModeToggle {
            position: fixed;
            top: 10px;
            right: 10px;
            background: var(--glass-bg);
            border: none;
            color: #333;
            padding: 8px 12px;
            border-radius: 8px;
            z-index: 2000;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            font-size: 0.85rem;
        }

        #darkModeToggle:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .dark-mode #darkModeToggle {
            background: var(--glass-dark-bg);
            color: var(--text-dark);
        }

        .dark-mode #darkModeToggle:hover {
            background: rgba(0, 0, 0, 0.3);
        }

        .sidebar .nav-link {
            color: #333;
            font-weight: 500;
            font-size: 0.875rem;
            padding: 10px 15px;
            border-radius: 8px;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }

        .dark-mode .sidebar .nav-link {
            color: var(--text-dark);
        }
        
        .sidebar .nav-link:hover {
            background: var(--glass-bg);
            transform: translateX(5px);
            color: #333;
        }

        .dark-mode .sidebar .nav-link:hover {
            background: var(--glass-dark-bg);
            color: var(--text-dark);
        }
        
        .sidebar .nav-link.active {
            background: rgba(255, 255, 255, 0.2);
            color: #333 !important;
            font-weight: 600;
        }

        .dark-mode .sidebar .nav-link.active {
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-dark) !important;
        }
        
        /* Content */
        .content {
            margin-left: 250px;
            padding: 20px;
            transition: all 0.3s ease;
        }

        .dark-mode .content {
            background-color: var(--bg-dark);
            color: var(--text-dark);
        }
        
        .card-icon {
            font-size: 20px;
            color: #fff;
            padding: 8px;
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        .bg-icon-primary { background-color: var(--primary); }
        .bg-icon-success { background-color: #198754; }
        .bg-icon-warning { background-color: #ffc107; }
        
        .card {
            background-color: #fff;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
            border: none;
            border-radius: 12px;
        }

        .dark-mode .card {
            background-color: #2a2a3d;
            border-color: #343a40;
            color: var(--text-dark);
        }

        .dark-mode .card-title,
        .dark-mode .text-muted {
            color: var(--text-dark) !important;
        }

        .dark-mode .btn-outline-danger {
            border-color: #dc3545;
            color: var(--text-dark);
        }

        .dark-mode .btn-outline-danger:hover {
            background-color: #dc3545;
            color: #fff;
        }

        .dark-mode .profile-card img {
            border-color: #343a40 !important;
        }

        @media (max-width: 768px) {
            .sidebar { transform: translateX(-100%); }
            .sidebar.active { transform: translateX(0); }
            .content { margin-left: 0; }
            #darkModeToggle { top: 10px; right: 10px; }
        }