/* Image to PDF - extra styles (uses your existing theme for everything else) */

.file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    transition: box-shadow .15s, border-color .15s, opacity .15s;
}

.file-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.file-item.dragging {
    opacity: .4;
}

.file-item.drag-over {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, .25);
}

.file-handle {
    cursor: grab;
    color: #9ca3af;
    font-size: 18px;
    user-select: none;
}

.file-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    font-size: 13px;
    color: #6b7280;
}

.file-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.pdf-icon {
    font-size: 48px;
    line-height: 1;
}

@media (max-width: 576px) {
    .file-item {
        flex-wrap: wrap;
    }

    .file-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
