    
        .toc-container {
            position: fixed;
            right: 30px;
            top: 120px;
            width: 280px;
            max-height: 70vh;
            overflow-y: auto;
            background: rgba(255,255,255,.85);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,.5);
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 8px 32px rgba(31,38,135,.15);
            z-index: 1000;
            display: block;
            transition: transform .3s ease;
        }
        .toc-container.collapsed {
            transform: translateX(calc(100% + 60px));
        }
        .toc-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #2c3e50;
            padding-bottom: 12px;
            border-bottom: 2px solid #3498db;
        }
        .toc-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .toc-list ul {
            list-style: none;
            padding-left: 20px;
            margin: 8px 0;
        }
        .toc-link {
            display: block;
            padding: 10px 15px;
            text-decoration: none;
            color: #34495e;
            border-radius: 6px;
            transition: all .3s ease;
            font-size: 15px;
            margin: 5px 0;
            border-left: 3px solid transparent;
        }
        .toc-link:hover {
            background-color: rgba(52,152,219,.1);
            color: #2980b9;
            border-left: 3px solid #3498db;
            transform: translateX(3px);
        }
        .toc-link.active {
            background-color: rgba(52,152,219,.15);
            color: #2980b9;
            font-weight: 600;
            border-left: 3px solid #2980b9;
        }
        .toc-link.sub {
            font-size: 14px;
            color: #7f8c8d;
            padding-left: 25px;
        }
        .content {
            margin-right: 340px;
            transition: margin-right .3s ease;
        }
        .content.toc-collapsed {
            margin-right: 0;
        }
        h2 {
            color: #2c3e50;
            margin-top: 40px;
            margin-bottom: 25px;
            padding-bottom: 12px;
            border-bottom: 2px solid #ecf0f1;
            font-size: 28px;
            font-weight: 700;
        }
        h3 {
            color: #34495e;
            margin-top: 30px;
            margin-bottom: 18px;
            font-size: 22px;
            font-weight: 600;
        }
        .toc-toggle {
            position: fixed;
            right: 30px;
            top: 60px;
            width: 45px;
            height: 45px;
/*            background: #3498db;*/ 
			 background: rgba(0, 0, 0, 0.2); 
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            box-shadow: 0 4px 10px rgba(0,0,0,.1);
            z-index: 1002;
            transition: background .3s;
        }
        .toc-toggle:hover {
            background: #2980b9;
            transform: scale(1.05);
        }
        .back-to-top {
            position: fixed;
            right: 30px;
            bottom: 30px;
            width: 55px;
            height: 55px;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            box-shadow: 0 4px 15px rgba(52,152,219,.3);
            transition: all .3s ease;
            z-index: 1001;
        }
        .back-to-top:hover {
            background: #2980b9;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(52,152,219,.4);
        }
        html {
            scroll-behavior: smooth;
        }
        .toc-container::-webkit-scrollbar {
            width: 6px;
        }
        .toc-container::-webkit-scrollbar-track {
            background: rgba(241,241,241,.3);
            border-radius: 3px;
        }
        .toc-container::-webkit-scrollbar-thumb {
            background: #3498db;
            border-radius: 3px;
        }
        .toc-container::-webkit-scrollbar-thumb:hover {
            background: #2980b9;
        }
        @media (max-width: 768px) {
            .container {
                padding: 25px;
            }
            .toc-container {
                width: 260px;
                right: 20px;
                top: 80px;
            }
            .content {
                margin-right: 0;
            }
            h2 {
                font-size: 24px;
            }
            h3 {
                font-size: 20px;
            }
        }
   
