/* file-uploader.css — bare-bones, override as needed */

.fu-root
{
	max-width: 100%;
}

.fu-drop
{
	border: 1px dashed #aaa;
	border-radius: 6px;
	padding: 24px;
	text-align: center;
	background: #fafafa;
	transition: background 0.15s, border-color 0.15s;
}
.fu-drop-over
{
	background: #eef6ff;
	border-color: #3a7bd5;
}

.fu-drop-label
{
	margin: 0;
}

.fu-pick
{
	background: none;
	border: none;
	color: #3a7bd5;
	cursor: pointer;
	text-decoration: underline;
	font: inherit;
	padding: 0;
}

.fu-list
{
	list-style: none;
	margin: 12px 0;
	padding: 0;
}

.fu-item
{
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-bottom: 6px;
	background: #fff;
}

.fu-preview
{
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	background: #eee;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: bold;
	color: #555;
	overflow: hidden;
}

.fu-preview img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fu-meta
{
	flex: 1 1 auto;
	min-width: 0;
}

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

.fu-size {
	color: #777;
	font-size: 12px;
}

.fu-progress
{
	height: 4px;
	background: #eee;
	border-radius: 2px;
	margin-top: 4px;
	overflow: hidden;
}

.fu-progress-bar
{
	height: 100%;
	width: 0%;
	background: #3a7bd5;
	transition: width 0.2s;
}

.fu-error
{
	color: #c0392b;
	font-size: 12px;
	margin-top: 2px;
}

.fu-remove
{
	flex: 0 0 auto;
	background: none;
	border: none;
	font-size: 20px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 0 6px;
}

.fu-remove:hover
{
	color: #c0392b;
}

.fu-submit
{
	padding: 8px 16px;
	border: 1px solid #3a7bd5;
	background: #3a7bd5;
	color: #fff;
	border-radius: 4px;
	cursor: pointer;
	float: right;
}

.fu-submit:disabled
{
	opacity: 0.6;
	cursor: default;
}

.fu-global-error
{
	display: none;
	margin-top: 8px;
	padding: 8px;
	background: #fdecea;
	color: #b71c1c;
	border-radius: 4px;
	white-space: pre-line;
}
