.upload-card {
	max-width: 720px;
}

.field-row {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1 1 160px;
}

.field-label {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--text-muted);
}

.field-input,
.field-select,
.field-file {
	height: 40px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	background: var(--surface);
	padding: 0 14px;
	font-size: 13.5px;
	font-family: inherit;
	color: var(--text);
	outline: none;
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.field-select {
	padding: 0 10px;
}

.field-file {
	padding: 7px 10px;
}

.field-input:focus,
.field-select:focus,
.field-file:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.field-grid {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.field-grid .field {
	flex: 1 1 180px;
}

.upload-submit-btn {
	flex-shrink: 0;
}

.upload-progress-wrap {
	margin-top: 22px;
}

.upload-progress-title {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.upload-progress {
	height: 8px;
	border-radius: 999px;
	background: var(--bg);
	overflow: hidden;
}

.upload-progress-fill {
	height: 100%;
	width: 0;
	background: var(--accent);
	border-radius: 999px;
	transition: width 0.2s ease;
}

.upload-progress-fill.is-converting {
	background: var(--success);
}

.alert-banner {
	display: none;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	font-size: 13px;
	line-height: 1.5;
}

.alert-banner.visible {
	display: flex;
}

.alert-banner a {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
}

.alert-banner.alert-success {
	background: var(--success-soft);
	color: #146c43;
}

.alert-banner.alert-danger {
	background: var(--danger-soft);
	color: #a3242b;
}

.alert-banner.alert-primary {
	background: var(--accent-soft);
	color: var(--accent-hover);
}

.alert-close {
	background: none;
	border: none;
	color: inherit;
	opacity: 0.6;
	cursor: pointer;
	font-size: 15px;
	line-height: 1;
	padding: 0;
	flex-shrink: 0;
}

.alert-close:hover {
	opacity: 1;
}
