a.woocommerce-button.wpcp-wc-open-box {
    display: table-cell;
}

.UseyourDrive.useyourdrive-modal.wpcp-woocommerce-upload-container .modal-dialog {
    max-width: 80vw;
}

.UseyourDrive.useyourdrive-modal.wpcp-woocommerce-upload-container .modal-content {
    max-height: 85vh;
    overflow: auto;
}

.UseyourDrive.useyourdrive-modal.wpcp-woocommerce-upload-container .useyourdrive-modal-body {
    padding: 0;
    min-height: 50vh;
}

.woocommerce-order-upload-box {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.woocommerce-order-description-box {
    flex: 0 1 300px;
}

.woocommerce-order-upload-box h2 {
    font-size: 30px;
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
}

.woocommerce-order-upload-box p {
    padding: 0;
    margin: 0;
}

.woocommerce-order-upload-box #UseyourDrive {
    height: 100%;
    flex: 1 0 min(500px, 100%);
}

.woocommerce-order-upload-box #UseyourDrive .ajax-filelist {
    background-image: none !important;
    min-height: unset;
}

ul.wpcp-uploads-list {
    list-style-type: disc;
    list-style-type: disclosure-closed;
    list-style-position: inside;
    margin: 10px 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

ul.wpcp-uploads-list li {
    padding: 0;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

ul.wpcp-uploads-list.wpcp-uploads-list-small {
    font-size: 70%;
}

@media only screen and (max-width : 768px) {
    .UseyourDrive.useyourdrive-modal.wpcp-woocommerce-upload-container .modal-dialog {
        max-width: 95%;
    }

    .woocommerce-order-upload-box h2 {
        display: none;
    }

    .woocommerce-order-upload-box p {
        display: none;
    }
}