  .list-group-item {
            border: none;
            border-bottom: 1px solid #eee;
            padding: 0.35rem 0.6rem;
            background: transparent;
        }

        /* Menu Title */
        .menu-title1 {
            font-weight: 600;
            font-size: 0.95rem;
            color: #333;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .menu-title1 i {
            font-size: 0.6rem;
            color: #999;
        }

        /* Permissions Container */
        .permissions-container {
            background: #f9f9f9;
            border-radius: 6px;
            padding: 2px 5px;
            margin-top: 2px;
            margin-left: 20px;
            transition: all 0.3s ease;
        }

        .permissions-container label {
            font-size: 0.80rem;
            color: #555;
        }

        /* Compact Checkboxes */
        .form-check-inline {
            margin-right: 8px;
            margin-bottom: 4px;
        }

        .form-check-label {
            font-size: 0.82rem;
            color: #444;
        }

        /* Toggle Switch (Modern & Responsive) */
        .menu-toggle,
        .submenu-toggle {
            width: 2.4em;
            height: 1.3em;
            appearance: none;
            background-color: #ccc;
            border-radius: 1.3em;
            position: relative;
            outline: none;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
            flex-shrink: 0;
        }

        .menu-toggle:checked,
        .submenu-toggle:checked {
            background-color: #28a745;
        }

        .menu-toggle::before,
        .submenu-toggle::before {
            content: "";
            position: absolute;
            width: 1.05em;
            height: 1.05em;
            top: 0.125em;
            left: 0.125em;
            background: white;
            border-radius: 50%;
            box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
        }

        .menu-toggle:checked::before,
        .submenu-toggle:checked::before {
            transform: translateX(1.1em);
        }

        /* Nested List (Submenus) */
        ul.list-group ul.list-group {
            margin-top: 5px;
            margin-left: 15px;
            border-left: 1px dashed #ccc;
            padding-left: 10px;
        }

        /* 🌿 Responsive Adjustments */
        @media (max-width: 768px) {
            .menu-title1 {
                font-size: 0.9rem;
            }

            .permissions-container {
                font-size: 0.8rem;
                padding: 5px 8px;
            }

            .form-check-inline {
                margin-right: 5px;
            }
        }

        /* Hover Highlight */
        .list-group-item:hover {
            background-color: #fdfdfd;
        }
