.wgd-variation-field {
	float: left;
	margin-right: 15px;
}

.woogroupsdiscount-wrap .woogroupsdiscount-card {
	max-width: 100%;
	padding: 20px 24px;
	margin-top: 16px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.woogroupsdiscount-wrap .woogroupsdiscount-card h2 {
	margin-top: 0;
}

.woogroupsdiscount-wrap .nav-tab-wrapper {
	margin-top: 16px;
}

.woogroupsdiscount-wrap textarea#wgd-bothpricestext {
	max-width: 600px;
}

.woogroupsdiscount-matrix-scroll {
	margin-top: 12px;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	padding-bottom: 2px;
	scrollbar-width: thin;
	scrollbar-color: #8c8f94 #f0f0f1;
}

.woogroupsdiscount-matrix-scroll::-webkit-scrollbar {
	-webkit-appearance: none;
	height: 12px;
}

.woogroupsdiscount-matrix-scroll::-webkit-scrollbar-track {
	background: #f0f0f1;
	border-top: 1px solid #dcdcde;
}

.woogroupsdiscount-matrix-scroll::-webkit-scrollbar-thumb {
	background: #8c8f94;
	border-radius: 6px;
	border: 2px solid #f0f0f1;
}

.woogroupsdiscount-matrix-scroll::-webkit-scrollbar-thumb:hover {
	background: #50575e;
}

.woogroupsdiscount-matrix {
	margin: 0;
	border: 0;
	box-shadow: none;
	width: auto;
	min-width: 100%;
}

.woogroupsdiscount-matrix th,
.woogroupsdiscount-matrix td {
	vertical-align: middle;
	text-align: center;
	white-space: nowrap;
}

/* "Category" header cell: sticky in both axes so it stays anchored to the
   top-left while the user scrolls horizontally. */
.woogroupsdiscount-matrix thead tr:first-child th:first-child {
	text-align: left;
	position: sticky;
	left: 0;
	z-index: 3;
	background: #fff;
	box-shadow: 1px 0 0 #dcdcde;
}

/* Category names column in the body: sticky horizontally only. */
.woogroupsdiscount-matrix tbody th {
	text-align: left;
	position: sticky;
	left: 0;
	z-index: 2;
	background: #fff;
	box-shadow: 1px 0 0 #dcdcde;
}

.woogroupsdiscount-matrix tbody tr:nth-child(odd) th {
	background: #f6f7f7;
}

.woogroupsdiscount-matrix input.small-text {
	width: 90px;
}

.woogroupsdiscount-matrix-provider {
	background: #f6f7f7;
	text-align: center;
	font-weight: 600;
}

.woogroupsdiscount-provider-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 24px;
	padding-bottom: 6px;
	border-bottom: 1px solid #dcdcde;
}

.woogroupsdiscount-provider-badge {
	display: inline-block;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 500;
	color: #50575e;
	background: #f0f0f1;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.woogroupsdiscount-addons {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 12px;
}

.woogroupsdiscount-addon {
	padding: 16px;
	background: #fbfbfc;
	border: 1px solid #dcdcde;
	border-radius: 4px;
}

.woogroupsdiscount-addon h3 {
	margin: 0 0 8px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.woogroupsdiscount-addon p {
	color: #50575e;
	margin: 0 0 12px 0;
}

.woogroupsdiscount-addon-status {
	display: inline-block;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 500;
	background: #f0f0f1;
	color: #50575e;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.woogroupsdiscount-addon-status.installed {
	background: #d5f5e3;
	color: #1d6b3d;
}
