/* Tandix RFQ — list of files being uploaded to R2 (sits right under the dropzone) */
.td-r2-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	margin-top: 12px;
}
.td-r2-list[hidden],
.td-r2-note[hidden],
.td-r2-retry[hidden] {
	display: none;
}
.td-r2-item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto auto;
	align-items: center;
	column-gap: 12px;
	padding: 10px 12px 13px;
	border: 1px solid rgba(127, 127, 127, 0.35);
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.35;
	overflow: hidden;
}
.td-r2-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 600;
}
.td-r2-state {
	opacity: 0.75;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.td-r2-item.is-error .td-r2-state {
	color: #d92d20;
	opacity: 1;
	white-space: normal;
	text-align: right;
}
.td-r2-item.is-done .td-r2-state {
	opacity: 1;
}
.td-r2-retry,
.td-r2-remove {
	min-width: 32px;
	min-height: 32px;
	padding: 0 8px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
.td-r2-retry {
	text-decoration: underline;
}
.td-r2-remove {
	font-size: 20px;
	line-height: 1;
	opacity: 0.7;
}
.td-r2-retry:hover,
.td-r2-remove:hover,
.td-r2-retry:focus-visible,
.td-r2-remove:focus-visible {
	background: rgba(127, 127, 127, 0.18);
	color: inherit;
	opacity: 1;
}
.td-r2-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: rgba(127, 127, 127, 0.2);
}
.td-r2-bar i {
	display: block;
	width: 0;
	height: 100%;
	background: #ff6a28;
	transition: width 0.2s linear;
}
.td-r2-item.is-done .td-r2-bar i {
	background: #17a34a;
}
.td-r2-item.is-error .td-r2-bar i {
	background: #d92d20;
}
.td-r2-note {
	width: 100%;
	margin-top: 8px;
	color: #d92d20;
	font-size: 14px;
}
@media (max-width: 480px) {
	.td-r2-item {
		grid-template-columns: minmax(0, 1fr) auto auto;
	}
	.td-r2-state {
		grid-column: 1 / -1;
		grid-row: 2;
		white-space: normal;
	}
	.td-r2-item.is-error .td-r2-state {
		text-align: left;
	}
}
