/**
 * Admin styles for OMS Sync for WooCommerce.
 *
 * Scoped to the .oms-sync-status-box component rendered
 * on the WooCommerce order detail screen.
 */

.oms-sync-status-box {
	margin-top: 20px;
	padding: 12px 16px;
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
}

.oms-sync-status-box h3 {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: #23282d;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.oms-sync-status-label {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 10px;
	border-radius: 3px;
	font-weight: 600;
	font-size: 13px;
}

.oms-sync-status-success {
	background: #d4edda;
	color: #155724;
}

.oms-sync-status-failed {
	background: #f8d7da;
	color: #721c24;
}

.oms-sync-status-pending {
	background: #fff3cd;
	color: #856404;
}

.oms-sync-synced-at,
.oms-sync-error {
	margin: 6px 0;
	font-size: 12px;
	color: #555;
}

.oms-sync-error {
	color: #a00;
}

.oms-sync-response {
	margin: 10px 0;
}

.oms-sync-response summary {
	cursor: pointer;
	font-size: 12px;
	color: #666;
}

.oms-sync-response pre {
	margin-top: 6px;
	padding: 8px;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 11px;
	max-height: 120px;
	overflow-y: auto;
	white-space: pre-wrap;
	word-break: break-all;
}

.oms-sync-retry-btn {
	margin-top: 10px;
}

.oms-sync-retry-result {
	font-size: 12px;
	font-weight: 600;
}
