
      
  
        
        .controls {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 30px;
            justify-content: center;
        }
        
        .control-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        label {
            font-weight: 600;
            color: #2c3e50;
        }
        
        input {
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            width: 150px;
        }
        
        button {
            background: #3498db;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            transition: background 0.3s;
        }
        
        button:hover {
            background: #2980b9;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 30px 0;
            flex-wrap: wrap;
        }
        
        .page-item {
            margin: 0 5px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .page-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 6px;
            background: #f8f9fa;
            color: #de4c4c;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            border: 1px solid #e9ecef;
        }
        
        .page-link:hover {
            background: #e9ecef;
            transform: translateY(-2px);
        }
        
        .page-link.active {
            background: #de4c4c;
            color: white;
            border-color: #de4c4c;
        }
        
        .page-link.disabled {
            color: #6c757d;
            pointer-events: none;
            background: #f8f9fa;
        }
        
        .ellipsis {
            padding: 0 10px;
            color: #6c757d;
        }
        
        .demo-area {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
        }
        
        .demo-title {
            font-size: 18px;
            color: #2c3e50;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .demo-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .code-container {
            background: #2c3e50;
            color: #ecf0f1;
            padding: 20px;
            border-radius: 8px;
            margin-top: 30px;
            overflow-x: auto;
        }
        
        .code-title {
            font-size: 18px;
            margin-bottom: 15px;
            color: #ecf0f1;
        }
        
        pre {
            white-space: pre-wrap;
            line-height: 1.5;
        }
        
        .highlight {
            color: #e74c3c;
            font-weight: 600;
        }
        
        @media (max-width: 600px) {
            .container {
                padding: 20px;
            }
            
            .controls {
                flex-direction: column;
                align-items: center;
            }
            
            .page-item {
                margin: 2px;
            }
        }
