/* PMT RFQ uploader */
.srfm-slug-drawings {
	display: none !important;
}

.pmt-rfq-upload {
	width: 100%;
	flex: 1 1 100%;
	grid-column: 1 / -1;
	margin: 0 0 20px;
	color: #1e293b;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
}

.pmt-rfq-label {
	display: block;
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	color: #1e293b;
}

.pmt-rfq-opt {
	font-weight: 400;
	font-size: 13px;
	color: #64748b;
}

.pmt-rfq-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 24px 16px;
	border: 2px dashed #cfe0e4;
	border-radius: 8px;
	background: #fbfdfd;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.pmt-rfq-drop:hover,
.pmt-rfq-drop:focus-visible {
	border-color: #1a7c8f;
	background: #f2fafb;
	outline: none;
}

.pmt-rfq-drop:focus-visible {
	box-shadow: 0 0 0 3px rgba(26, 124, 143, 0.25);
}

.pmt-rfq-drop.is-drag {
	border-color: #1a7c8f;
	background: #e9f8f9;
}

.pmt-rfq-drop input[type="file"] {
	display: none;
}

.pmt-rfq-drop svg {
	width: 28px;
	height: 28px;
	color: #1a7c8f;
	margin-bottom: 2px;
}

.pmt-rfq-main {
	font-size: 15px;
	color: #334155;
}

.pmt-rfq-browse {
	color: #1a7c8f;
	font-weight: 600;
	text-decoration: underline;
}

.pmt-rfq-sub {
	font-size: 12.5px;
	color: #64748b;
}

.pmt-rfq-list {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}

.pmt-rfq-item {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 0 8px;
	padding: 9px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
}

.pmt-rfq-name {
	flex: 1 1 160px;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #1e293b;
}

.pmt-rfq-size {
	color: #64748b;
	font-size: 13px;
	white-space: nowrap;
}

.pmt-rfq-status {
	font-size: 12.5px;
	color: #64748b;
	white-space: nowrap;
}

.pmt-rfq-item.is-done .pmt-rfq-status {
	color: #15803d;
}

.pmt-rfq-item.is-failed {
	border-color: #f3c6c6;
	background: #fff8f8;
}

.pmt-rfq-item.is-failed .pmt-rfq-status {
	color: #b91c1c;
}

.pmt-rfq-bar {
	flex: 1 1 100%;
	height: 4px;
	border-radius: 2px;
	background: #e9f1f2;
	overflow: hidden;
}

.pmt-rfq-bar i {
	display: block;
	height: 100%;
	width: 0;
	background: #1a7c8f;
	transition: width 0.2s ease;
}

.pmt-rfq-remove {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f1f5f9;
	color: #475569;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}

.pmt-rfq-remove:hover,
.pmt-rfq-remove:focus-visible {
	background: #e2e8f0;
	color: #b91c1c;
	outline: none;
}

.pmt-rfq-error {
	margin: 8px 0 0;
	padding: 10px 12px;
	border-radius: 6px;
	background: #fff5f5;
	border-left: 3px solid #dc2626;
	color: #b91c1c;
	font-size: 14px;
}

.pmt-rfq-error[hidden] {
	display: none;
}

@media (max-width: 480px) {
	.pmt-rfq-drop {
		padding: 20px 12px;
	}

	.pmt-rfq-item {
		gap: 6px 8px;
	}

	.pmt-rfq-name {
		flex: 1 1 100%;
		white-space: normal;
		word-break: break-word;
	}

	.pmt-rfq-status {
		margin-left: auto;
	}
}
