/* Reset cục bộ cho component này */
        .dlc-wrapper * {
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        }

        /* Container chính (thay cho .container của Bootstrap) */
        .dlc-wrapper {
            width: 100%;
            max-width: 1170px;
            margin: 0 auto; /* Căn giữa */
            padding: 20px;
        }

        /* GRID LAYOUT */
        #dlc-list {
            display: grid;
            /* grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));  */
            gap: 24px;
            width: 100%;
        }

        /* Card Style (thay cho .card) */
        .dlc-card {
            background: #fff;
            border-radius: 12px;
            padding: 20px;
            display: flex;
            gap: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            position: relative;
            overflow: hidden;
            height: 100%; 
            border: 1px solid #eee; /* Thêm border nhẹ để tách biệt nếu nền web trắng */
        }

        .dlc-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        /* Hình ảnh Cover */
        .dlc-cover {
            flex-shrink: 0;
            width: 130px;
            height: 180px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            background-color: #eee;
        }

        .dlc-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
            display: block; /* Fix lỗi khoảng trắng dưới ảnh */
        }

        .dlc-card:hover .dlc-cover img {
            transform: scale(1.05);
        }

        /* Nội dung bên phải */
        .dlc-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            min-width: 0; /* Fix lỗi flex item bị tràn text trên 1 số trình duyệt */
        }

        /* Header */
        .dlc-header {
            margin-bottom: 12px;
        }

        .dlc-title {
            font-size: 18px;
            font-weight: 700;
            color: #2c3e50;
            line-height: 1.3;
            margin: 0 0 5px 0; /* Reset margin mặc định */
            
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .dlc-meta {
            font-size: 13px;
            color: #7f8c8d;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        .dlc-meta span {
            display: inline-block;
            background: #f1f2f6;
            padding: 2px 8px;
            border-radius: 4px;
        }

        /* Mô tả */
        .dlc-desc {
            font-size: 14px;
            color: #57606f;
            line-height: 1.5;
            margin: 0 0 20px 0;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Footer */
        .dlc-footer {
            margin-top: auto;
            border-top: 1px solid #eee;
            padding-top: 15px;
        }

        /* Nút bấm */
        .dlc-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        /* Style chung cho nút host (tránh trùng .btn) */
        .dlc-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 6px;
            color: white !important; /* Force màu chữ trắng đè lên style link mặc định */
            font-size: 12px;
            font-weight: 600;
            text-decoration: none !important;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 2px 4px rgba(0,0,0,0.15);
            line-height: normal;
        }

        .dlc-btn:hover {
            filter: brightness(1.1);
            transform: translateY(-1px);
        }
        
        .dlc-btn i {
            font-size: 14px;
        }

        /* Màu riêng - dùng class riêng biệt */
        .dlc-bg-rapid { background: linear-gradient(135deg, #ff9f43, #ee5a24); }
        .dlc-bg-kat { background: linear-gradient(135deg, #0984e3, #00cec9); }
        .dlc-bg-fik { background: linear-gradient(135deg, #2f3542, #57606f); }
        .dlc-bg-krak { background: linear-gradient(135deg, #574b90, #303952); }
        .dlc-bg-mexa { background: linear-gradient(135deg, #27ae60, #16a085); }
        .dlc-bg-cloud { 
            background: linear-gradient(135deg, #74b9ff, #0984e3); 
            padding: 6px 10px;
        }

        /* Responsive */
        @media (max-width: 600px) {
            .dlc-card {
                flex-direction: column;
                align-items: center;
                height: auto;
            }
            
            .dlc-cover {
                width: 160px;
                height: 220px;
                margin-bottom: 10px;
            }

            .dlc-content {
                width: 100%;
            }

            .dlc-title {
                text-align: center;
            }
            
            .dlc-meta {
                justify-content: center;
            }

            .dlc-buttons {
                justify-content: center;
            }
        }

        /* ===== Download Pagination ===== */
        .dl-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 24px;
            padding: 12px 20px;
            gap: 12px;
            flex-wrap: wrap;
        }

        .dl-pagination-top {
            margin-top: 16px;
            margin-bottom: 0;
        }

        .dl-pagination-bottom {
            margin-top: 16px;
        }

        .dl-pagination-buttons {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }

        .dl-page-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 36px;
            height: 36px;
            padding: 0 10px;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            background: #fff;
            color: #2c3e50;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .dl-page-btn:hover {
            background: #e9ecef;
            border-color: #ced4da;
            transform: translateY(-1px);
        }

        .dl-page-btn.active {
            background: linear-gradient(135deg, #0984e3, #00cec9);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 2px 8px rgba(9, 132, 227, 0.3);
        }

        .dl-page-btn i {
            font-size: 12px;
        }

        .table-download {
            transition: opacity 0.3s ease;
        }

        @media (max-width: 600px) {
            .dl-pagination {
                flex-direction: column;
                text-align: center;
            }
            .dl-pagination-buttons {
                justify-content: center;
            }
        }