/**
 * efu-upload.css
 * Stijlen voor de TUS upload voortgangsbalk
 *
 * @package ElementorFTPUpload
 * @since   2.0.0
 */

.efu-progress-wrap {
    margin-top: 8px;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.efu-progress-bar-bg {
    background: #e0e0e0;
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 6px;
}

.efu-progress-bar {
    height: 100%;
    width: 0%;
    background: #0073aa;
    border-radius: 4px;
    transition: width 0.3s ease, background 0.3s ease;
}

.efu-progress-info {
    display: flex;
    gap: 16px;
    color: #555;
    margin-bottom: 4px;
}

.efu-progress-pct {
    font-weight: 600;
    min-width: 42px;
}

.efu-progress-speed,
.efu-progress-eta {
    color: #777;
}

.efu-progress-status {
    color: #333;
    line-height: 1.4;
}

.efu-file-indicators {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.efu-file-indicators:empty {
    display: none;
}

.efu-file-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f0f7f0;
    border: 1px solid #b2d8b2;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
}

.efu-file-indicator-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.efu-file-remove {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #888;
    padding: 0 2px;
    flex-shrink: 0;
}

.efu-file-remove:hover {
    color: #d32f2f;
}

/* Elementor thema override */
.elementor-field-type-efu_file_upload .efu-progress-bar {
    background: var(--e-global-color-primary, #0073aa);
}
