                /* Contents styles */
        .list-box {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

        .no-documents-message {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            font-size: 16px;
            color: var(--text-color-1);
            margin-top: 50px;
        }

        .no-documents-message i {
            font-size: 120px;
            background: var(--no-doc-icon-color);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: pulse 2s infinite;
            text-shadow: 0 0 0px rgba(255, 77, 77, 0.5);
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.2);
            }
            100% {
                transform: scale(1);
            }
        }

        .no-msg-text {
            font-size: 20px;
            color: var(--text-color-1);
            font-weight: bold;
            margin-top: 50px;
        }

        /* ====================================
         * Document Card (DOCUMENT LISTINGS)
         * ==================================== */
        .document-card {
            width: 97%;
            margin: 0.5% 1.5%;
            display: flex;
            align-items: stretch;
            cursor: pointer;
            text-decoration: none;
            padding-bottom: 7px;
            position: relative;
        }

        .document-card:hover {
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        }

        .document-thumbnail {
            width: 90px;
            border-top-left-radius: 18px;
            border-bottom-left-radius: 18px;
            overflow: hidden;
            box-shadow: -4px 4px 8px 2px rgba(0, 0, 0, 0.2), -6px 6px 20px 0 rgba(0, 0, 0, 0.19);
            position: relative;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .document-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .document-info {
            flex: 1;
            background-color: var(--bg-color-2);
            color: var(--text-color-1);
            box-shadow: 4px 4px 8px 2px rgba(0, 0, 0, 0.2), 6px 6px 20px 0 rgba(0, 0, 0, 0.19);
            border-top-right-radius: 18px;
            border-bottom-right-radius: 18px;
            padding: 3px;
        }

        .document-title {
            font-size: 14px;
            font-weight: 800;
            text-transform: capitalize;
            margin-bottom: 4px;
            padding-left: 2px;
        }

        .document-meta {
            font-size: 13px;
            font-weight: 500;
            text-transform: capitalize;
           color: var(--text-color-1);
            display: flex;
            align-items: center;
            gap: 6px;
            padding-left: 4px;
        }

        .meta-label {
            color: var(--text-color-1);
        }

        .meta-value {
            color: var(--blue-text);
        }

        .document-price-info {
            display: flex;
            align-items: center;
            margin-top: 5px;
            font-size: 11px;
            color: var(--green-text);
            font-weight: 600;
            gap: 8px;
            padding-left: 4px;
        }

        .timestamp {
            color: #888;
            margin-left: auto;
        }

        /* Document price tag - PRICE BUTTON */
        .price-tag {
            color: var(--orange-text);
            font-weight: bold;
            font-size: 14px;
            letter-spacing: 0.5px;
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            padding-right: 5px;
        }

        .price-tag i {
            font-size: 16px;
        }

        .price-tag:hover {
            transform: translateY(-1px);
            box-shadow: none;
        }

        /* ==============================================
           RESPONSIVE STYLES FOR DOCUMENT CARDS
           ============================================== */

        /* Mobile view (up to 480px) */
        @media (max-width: 480px) {

            .document-card {
                flex-direction: row;
                align-items: stretch;
            }

            .document-thumbnail {
                width: 80px;
            }

            .document-info {
                padding: 3px 5px;
            }

            .document-title {
                font-size: 13.5px;
                margin-bottom: 3px;
                font-weight: bold;
                padding-left: 0.5px;
            }

            .document-meta {
                font-size: 12px;
                gap: 4px;
                margin-bottom: 1px;
                padding-left: 2px;
            }

            .document-price-info {
                font-size: 10px;
                gap: 5px;
                margin-top: 3px;
                padding-left: 2px;
            }

            .timestamp {
                margin-left: auto;
                font-size: 9px;
            }

            .price-tag {
                font-size: 12.5px;
                padding: 2px 4px;
            }

            .price-tag i {
                font-size: 14px;
            }
        }

        /* Very small mobile (up to 320px) */
        @media (max-width: 320px) {

            .document-card {
                flex-direction: row;
                align-items: stretch;
            }

            .document-thumbnail {
                width: 78px;
            }

            .document-info {
                padding: 2px 4px;
            }

            .document-title {
                font-size: 13px;
                margin-bottom: 3px;
                font-weight: bold;
                padding-left: 0.5px;
            }

            .document-meta {
                font-size: 11.5px;
                gap: 4px;
                margin-bottom: 1px;
                padding-left: 1.5px;
            }

            .document-price-info {
                font-size: 10px;
                gap: 5px;
                margin-top: 3px;
                padding-left: 2px;
            }

            .timestamp {
                margin-left: auto;
                font-size: 9px;
            }

            .price-tag {
                font-size: 12px;
                padding: 2px 4px;
            }

            .price-tag i {
                font-size: 14px;
            }
        }

        /* Very very small mobile (up to 260px) */
        @media (max-width: 260px) {

            .document-card {
                flex-direction: row;
                align-items: stretch;
            }

            .document-thumbnail {
                width: 70px;
            }

            .document-info {
                padding: 2px 4px;
            }

            .document-title {
                font-size: 12px;
                margin-bottom: 3px;
                font-weight: bold;
                padding-left: 0.5px;
            }

            .document-meta {
                font-size: 11px;
                gap: 4px;
                margin-bottom: 1px;
                padding-left: 1px;
            }

            .document-price-info {
                font-size: 10px;
                gap: 5px;
                margin-top: 3px;
                padding-left: 1px;
            }

            .timestamp {
                margin-left: auto;
                font-size: 9px;
            }

            .price-tag {
                font-size: 11px;
                padding: 2px 4px;
            }

            .price-tag i {
                font-size: 14px;
            }
        }
        
        
        .document-thumbnail {
    width: 90px;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    overflow: hidden;
    box-shadow: -4px 4px 8px 2px rgba(0, 0, 0, 0.2), -6px 6px 20px 0 rgba(0, 0, 0, 0.19);
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback thumbnail styles */
.fallback-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px;
}

.fallback-thumbnail i {
    font-size: 32px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.fallback-thumbnail span {
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Hide image on error */
.document-thumbnail img.image-error {
    display: none;
}


/* --------------------------------------------
   INFO BUTTON - TOP RIGHT POSITION
   -------------------------------------------- */
.document-info-btn {
    width: 30px;
    height: 30px;
    background: var(--bg-color-1);
    border: 1px solid var(--btns-border);
    border-radius: 12px;
    color: grey;
    box-shadow: var(--cards-shadow);
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
    visibility: visible;
}

.document-info-btn i {
    font-size: 16px;
    transition: all 0.3s ease;
}

.document-info-btn:hover {
    border-color: var(--link-color);
    color: var(--link-color);
}