/* taking other styles from pdf, jpg */
#compress-pdf-add-more-files-btn:enabled {
    display: block;
    background: #10b981;
    margin-top: 15px;
}

#compress-pdf-process-btn:enabled {
    display: block;
    background: linear-gradient(135deg, var(--primary-red) 0%, #dc2626 100%);
    margin-top: 15px;
}

#compress-pdf-output-area {
    display: flex;
    flex-direction: column;
    margin-top: 15px;

    a {
        background: #10b981;
        color: #fff;
        text-decoration: none;
        text-align: center;
    }

    #compress-pdf-back-to-upload-btn:enabled {
        background: #454b51;
    }
}

#compress-pdf-drop-zone {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
}

#compress-pdf-input-preview-grid {
    /* display: grid; */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    justify-items: center;
    gap: 15px;
    margin-top: 20px;
    height: 315px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-light);
    /* display: none; */
}

#compress-pdf-input-preview-grid .file-preview {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    background-color: #fff;
    width: 170px;
    height: 275px;
    align-items: stretch;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

    canvas {
        width: 120px;
    }

    div {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

}