/* RxCompliant WooCommerce widget — matches Shopify embed (rxcompliant.js) */
.rxcofowo-wc.rxc {
	--c: #2563eb;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	margin: 12px 0;
}

.rxc-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 10px;
	border-radius: 20px;
	margin-bottom: 10px;
}

.rxc-card {
	border: 1.5px solid #e5e7eb;
	border-radius: 12px;
	background: #fafafa;
}

.rxc-head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 18px 12px;
}

.rxc-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--c) 12%, white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.rxc-title {
	font-size: 14px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 2px;
}

.rxc-sub {
	font-size: 11px;
	color: #6b7280;
	margin: 0;
}

.rxc-desc {
	font-size: 13px;
	color: #374151;
	margin: 0 16px 14px;
	line-height: 1.55;
}

.rxc-zone {
	border: 2px dashed #d1d5db;
	border-radius: 10px;
	margin: 0 14px 14px;
	position: relative;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.rxc-zone:hover,
.rxc-zone.rx-dragover {
	border-color: var(--c);
	background: color-mix(in srgb, var(--c) 6%, white);
}

.rxc-fi {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.rxc-lbl {
	display: block;
	cursor: pointer;
	width: 100%;
}

.rxc-idle {
	padding: 22px;
	text-align: center;
}

.rxc-iu {
	font-size: 28px;
	color: #9ca3af;
	margin-bottom: 6px;
}

.rxc-idle p {
	margin: 0 0 3px;
	font-size: 13px;
	color: #374151;
}

.rxc-lk {
	color: var(--c);
	font-weight: 600;
	text-decoration: underline;
}

.rxc-ht {
	font-size: 11px !important;
	color: #9ca3af !important;
}

.rxc-prog {
	padding: 20px;
	text-align: center;
	font-size: 13px;
	color: #374151;
}

.rxc-sp {
	width: 26px;
	height: 26px;
	border: 3px solid #e5e7eb;
	border-top-color: var(--c);
	border-radius: 50%;
	animation: rxc-spin 0.7s linear infinite;
	margin: 0 auto 8px;
}

@keyframes rxc-spin {
	to {
		transform: rotate(360deg);
	}
}

.rxc-pb {
	height: 4px;
	background: #e5e7eb;
	border-radius: 2px;
	margin-top: 8px;
}

.rxc-pf {
	height: 100%;
	background: var(--c);
	border-radius: 2px;
	width: 0;
	transition: width 0.3s;
}

.rxc-ok {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: #f0fdf4;
}

.rxc-ck {
	width: 32px;
	height: 32px;
	background: #059669;
	border-radius: 50%;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
}

.rxc-ot {
	font-size: 13px;
	font-weight: 700;
	color: #065f46;
	margin: 0 0 2px;
}

.rxc-of {
	font-size: 11px;
	color: #6b7280;
	margin: 0;
	word-break: break-all;
}

.rxc-rm {
	margin-left: auto;
	flex-shrink: 0;
	background: transparent;
	border: 1px solid #86efac;
	color: #15803d;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 6px;
	cursor: pointer;
	line-height: 1;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.rxc-rm:hover,
.rxc-rm:focus {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #b91c1c;
	outline: none;
}

.rxc-rm[disabled],
.rxc-rm.is-busy {
	opacity: 0.55;
	cursor: not-allowed;
}

.rxc-change {
	display: block;
	width: calc(100% - 28px);
	margin: 0 14px 12px;
	padding: 10px;
	text-align: center;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	color: #374151;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.rxc-change:hover {
	border-color: var(--c);
	background: color-mix(in srgb, var(--c) 6%, white);
	color: var(--c);
}

.rxc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 14px 12px;
}

.rxc-chip {
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 12px;
}

.rxc-chip.ok {
	background: #ecfdf5;
	color: #059669;
}

.rxc-chip.warn {
	background: #fef3c7;
	color: #d97706;
}

.rxc-chip.bad {
	background: #fef2f2;
	color: #dc2626;
}

.rxc-err {
	margin: 0 14px 12px;
	padding: 10px 12px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	font-size: 12px;
	color: #b91c1c;
}

.rxc-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 14px 14px;
	font-size: 11px;
	color: #9ca3af;
}
