.post-file {
    align-items: flex-start;
}

.post-file ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-file li {
    min-width: 0;
}

.current-file {
    line-height: 1.6;
}

.current-file-list {
    display: grid;
    gap: 8px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.current-file-list strong {
    color: #344054;
    font-size: 14px;
}

.current-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 7px 9px;
    background: white;
    border: 1px solid #e6e9ef;
    border-radius: 4px;
    color: #344054;
    font-size: 14px;
}

.current-file-item span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.current-file-remove {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    color: #667085;
    background: #f2f4f7;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.current-file-remove:hover {
    color: #b42318;
    background: #fff1f1;
    border-color: #fecdca;
}
