        :root {
            --sidebar-width: 260px;
            --sidebar-collapsed-width: 80px;
            --primary-color: #123F68;
            --accent-color: #36b9cc;
            --bg-color: #f8f9fc;
            --text-dark: #5a5c69;
            --card-blue: #4e73df;
            --transition-speed: 0.4s;
            --transition-curve: cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-dark);
            overflow-x: hidden;
            margin: 0;
        }

        #dashboard-section {
            display: flex;
            min-height: 100vh;
            position: relative;
        }

        /* Sidebar - ICON & TEXT DIKECILKAN */
        .sidebar {
            width: var(--sidebar-width);
            background-color: var(--primary-color);
            color: white;
            display: flex;
            flex-direction: column;
            position: fixed;
            height: 100vh;
            z-index: 1050;
            box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
            transition: all var(--transition-speed) var(--transition-curve);
            overflow: hidden;
            white-space: nowrap;
        }

        .sidebar-brand {
            padding: 20px;
            font-size: 1.2rem;
            font-weight: 700;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: flex-start;
            height: 80px;
            transition: all var(--transition-speed) var(--transition-curve);
        }

        .brand-logo-bg {
            background: white;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            min-width: 40px;
            padding: 4px;
            transition: margin var(--transition-speed);
        }

        .brand-logo-bg img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .brand-text,
        .nav-link-text,
        .logout-text {
            opacity: 1;
            transition: opacity 0.2s ease-in-out;
            transition-delay: 0.1s;
        }

        /* ✅ KECILKAN MENU - Font size & padding lebih kecil */
        .nav-link-custom {
            padding: 12px 20px;  /* Dikecilkan dari 16px 25px */
            cursor: pointer;
            transition: 0.3s;
            color: rgba(255, 255, 255, 0.75);
            text-decoration: none;
            display: flex;
            align-items: center;
            font-weight: 500;
            font-size: 0.875rem;  /* ✅ DIKECILKAN */
        }

        .nav-link-custom:hover,
        .nav-link-custom.active {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border-left: 5px solid var(--accent-color);
        }

        /* ✅ KECILKAN ICON */
        .nav-icon {
            width: 24px;  /* Dikecilkan dari 30px */
            text-align: center;
            margin-right: 10px;
            font-size: 1rem;  /* ✅ DIKECILKAN dari 1.2rem */
            min-width: 24px;
            transition: margin var(--transition-speed);
        }

        .sidebar-footer {
            padding: 20px;
            margin-top: auto;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .sidebar-toggler {
            background: rgba(255, 255, 255, 0.15);
            border: none;
            color: white;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            margin-bottom: 20px;
            transition: 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sidebar-toggler:hover {
            background: var(--accent-color);
            transform: scale(1.1);
        }

        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            padding: 25px 35px;
            width: calc(100% - var(--sidebar-width));
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            transition: margin-left var(--transition-speed) var(--transition-curve), width var(--transition-speed) var(--transition-curve);
        }

        /* Top Bar - SAMA DENGAN DAFTAR STASIUN */
        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 35px;
            background: white;
            padding: 10px 30px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        }

        #mobile-toggle {
            font-size: 1.5rem;
            color: var(--primary-color);
            cursor: pointer;
            margin-right: 15px;
            display: none;
        }

        .user-dropdown-toggle {
            cursor: pointer;
            padding: 5px 10px;
            border-radius: 10px;
            transition: background 0.3s;
        }

        .user-dropdown-toggle:hover {
            background-color: #f1f3f9;
        }

        /* Table Custom Header - EXACT DARI MANAJEMEN USER */
        .table-custom-header th {
            background-color: var(--primary-color) !important;
            color: white !important;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            border-bottom: none;
        }

        .table-hover tbody tr:hover {
            background-color: rgba(54, 185, 204, 0.05);
        }

        .table tbody td {
            padding: 1.2rem 1rem;
            vertical-align: middle;
            border-bottom: 1px solid #e3e6f0;
            font-size: 0.9rem;
        }

        .badge {
            padding: 0.45rem 0.85rem;
            font-weight: 600;
            font-size: 0.75rem;
            border-radius: 6px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .font-monospace {
            font-family: 'Courier New', monospace;
            font-size: 0.875rem;
            font-weight: 600;
        }

        .card {
            border-radius: 1rem;
            border: none;
        }

        .hidden {
            display: none !important;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }


        /* Mobile Responsive */
        @media (max-width: 992px) {
            .sidebar {
                transform: translateX(-100%);
            }

            .main-content {
                margin-left: 0;
                width: 100%;
                padding: 20px 15px;
            }

            #mobile-toggle {
                display: block;
            }

            .sidebar-toggler {
                display: none;
            }

            body.show-sidebar .sidebar {
                transform: translateX(0);
            }

            body.show-sidebar::after {
                content: '';
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.5);
                z-index: 1040;
                animation: fadeIn 0.3s;
            }
        }

        /* MOBILE FIXES */
        @media (max-width: 768px) {
            .top-bar {
                padding: 15px 20px !important;
            }

            #page-title {
                font-size: 0.95rem;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                max-width: 150px;
            }

            #mobile-toggle {
                margin-right: 12px !important;
            }

            .top-bar .dropdown {
                margin-left: auto;
            }

            .table-responsive {
                font-size: 0.85rem;
            }

            .btn-sm {
                font-size: 0.75rem;
                padding: 0.25rem 0.5rem;
            }
        }

        /* Desktop Collapsed Sidebar */
        @media (min-width: 993px) {
            body.sb-collapsed .sidebar {
                width: var(--sidebar-collapsed-width);
            }

            body.sb-collapsed .main-content {
                margin-left: var(--sidebar-collapsed-width);
                width: calc(100% - var(--sidebar-collapsed-width));
            }

            body.sb-collapsed .brand-text,
            body.sb-collapsed .nav-link-text,
            body.sb-collapsed .logout-text {
                opacity: 0;
                visibility: hidden;
                width: 0;
            }

            body.sb-collapsed .sidebar-brand {
                justify-content: center;
                padding: 20px 0;
            }

            body.sb-collapsed .brand-logo-bg {
                margin: 0;
            }

            body.sb-collapsed .nav-link-custom {
                justify-content: center;
                padding: 12px 0;
            }

            body.sb-collapsed .nav-icon {
                margin: 0;
                font-size: 1rem;
            }
        }
