.smm-om-customer-heading {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.smm-om-customer-heading h2 {
	margin: 0;
}

.smm-om-login-required {
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 18px;
}

.smm-om-login-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.smm-om-open-link {
	margin-bottom: 6px;
	white-space: nowrap;
}

.smm-om-link-preview {
	color: #646970;
	display: block;
	font-size: 12px;
	overflow-wrap: anywhere;
}

.smm-om-customer-table-wrap {
	overflow-x: auto;
}

.smm-om-customer-table {
	font-size: 13px;
	min-width: 1280px;
}

.smm-om-customer-table th,
.smm-om-customer-table td {
	vertical-align: top;
}

.smm-om-customer-badge {
	border-radius: 999px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 6px 9px;
	white-space: nowrap;
}

.smm-om-status-completed {
	background: #e8f5e9;
	color: #1b5e20;
}

.smm-om-status-failed {
	background: #fdecea;
	color: #8a1f11;
}

.smm-om-status-processing,
.smm-om-status-in_progress {
	background: #e7f0ff;
	color: #0a4b78;
}

.smm-om-status-partial {
	background: #fff4e5;
	color: #7a3b00;
}

.smm-om-status-pending,
.smm-om-status-manual_check_required {
	background: #f0f0f1;
	color: #3c434a;
}

.smm-om-customer-progress {
	background: #e5e7eb;
	border-radius: 999px;
	height: 8px;
	margin-top: 8px;
	overflow: hidden;
	width: 100%;
}

.smm-om-customer-progress span {
	background: #2271b1;
	display: block;
	height: 100%;
}

.smm-om-status-completed + .smm-om-customer-progress span,
.smm-om-customer-badge.smm-om-status-completed ~ .smm-om-customer-progress span {
	background: #1b7f3a;
}

.smm-om-customer-waiting {
	color: #646970;
	font-size: 12px;
	margin-top: 8px;
}

.smm-om-view-order-tracking {
	margin-top: 28px;
}

.smm-om-tracking-cards {
	display: grid;
	gap: 14px;
}

.smm-om-tracking-card {
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 16px;
}

.smm-om-card-title {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.smm-om-tracking-card dl {
	display: grid;
	gap: 8px 16px;
	grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
	margin: 0 0 12px;
}

.smm-om-tracking-card dt {
	color: #646970;
	font-weight: 700;
}

.smm-om-tracking-card dd {
	margin: 0;
	overflow-wrap: anywhere;
}

@media (max-width: 782px) {
	.smm-om-customer-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.smm-om-customer-table {
		border: 0;
		min-width: 0;
	}

	.smm-om-customer-table thead {
		display: none;
	}

	.smm-om-customer-table,
	.smm-om-customer-table tbody,
	.smm-om-customer-table tr,
	.smm-om-customer-table td {
		display: block;
		width: 100%;
	}

	.smm-om-customer-table tr {
		border: 1px solid #dcdcde;
		border-radius: 8px;
		margin-bottom: 14px;
		padding: 12px;
	}

	.smm-om-customer-table td {
		border: 0;
		box-sizing: border-box;
		display: grid;
		gap: 8px;
		grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr);
		padding: 8px 0;
	}

	.smm-om-customer-table td::before {
		color: #646970;
		content: attr(data-label);
		font-weight: 700;
	}

	.smm-om-tracking-card dl {
		grid-template-columns: 1fr;
	}

	.smm-om-card-title {
		align-items: flex-start;
		flex-direction: column;
	}
}
