/**
 * Steps File Append Styles
 * Styles for enhanced file upload display in steps popups
 *
 * @version 1.0.0
 */

.sfa-file-list {
    margin-top: 10px;
    padding: 0;
}

.sfa-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    margin: 4px 0;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.sfa-file-item:hover {
    background: #e9ecef;
}

.sfa-file-name {
    flex: 1;
    color: #28a745;
    word-break: break-word;
}

.sfa-file-size {
    color: #6c757d;
    font-size: 12px;
    white-space: nowrap;
    margin-right: 10px;
}

.sfa-remove-btn {
    background: transparent !important;
    color: #6c757d !important;
    border: 1px solid #6c757d !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    line-height: 1.5 !important;
    min-width: auto !important;
}

.sfa-remove-btn:hover {
    background: #6c757d !important;
    color: #fff !important;
}

/* Responsive */
@media (max-width: 480px) {
    .sfa-file-item {
        flex-wrap: wrap;
    }

    .sfa-file-name {
        width: 100%;
        margin-bottom: 5px;
    }

    .sfa-file-size {
        flex: 1;
    }
}
