.file-list {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.file-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.file-badge {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.file-row div:not(.row-actions) {
    display: grid;
    min-width: 0;
}

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

.file-info {
    color: var(--muted-foreground);
    font-size: 13px;
}

.row-actions {
    display: flex;
    gap: 4px;
}

.icon-button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: var(--foreground);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.icon-button:hover {
    background: var(--muted);
}

.pages-input {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: var(--foreground);
    font: inherit;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
