.myyse-search-agent-save {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0;
	padding: 10px 14px;
	border: 1px solid currentColor;
	border-radius: 4px;
	font-size: 1.125rem;
	font-weight: 600;
	text-decoration: none;
}

.myyse-search-agent-live-action {
	display: block;
	padding: 8px 12px;
}

.myyse-search-agent-save img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.myyse-search-agent-icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	background-color: currentColor;
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 352c-79.5 0-144-64.5-144-144S128.5 64 208 64s144 64.5 144 144-64.5 144-144 144z"/></svg>');
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 352c-79.5 0-144-64.5-144-144S128.5 64 208 64s144 64.5 144 144-64.5 144-144 144z"/></svg>');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.woocommerce-MyAccount-navigation-link--myyse-search-agent::before {
	content: "" !important;
	display: inline-block !important;
	width: 18px !important;
	height: 18px !important;
	margin-right: 2px !important;
	margin-top: -5px;
	vertical-align: middle !important;
	background-color: currentColor !important;
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 352c-79.5 0-144-64.5-144-144S128.5 64 208 64s144 64.5 144 144-64.5 144-144 144z"/></svg>') !important;
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 352c-79.5 0-144-64.5-144-144S128.5 64 208 64s144 64.5 144 144-64.5 144-144 144z"/></svg>') !important;
	-webkit-mask-repeat: no-repeat !important;
	mask-repeat: no-repeat !important;
	-webkit-mask-size: contain !important;
	mask-size: contain !important;
}

.myyse-search-agent-form,
.myyse-search-agent-preview,
.myyse-search-agent-list {
	margin: 0 0 24px;
}

.myyse-search-agent-form label {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.myyse-search-agent-form input,
.myyse-search-agent-form select {
	min-width: 220px;
}

.myyse-search-agent-conditions {
	display: grid;
	gap: 12px;
	margin-bottom: 12px;
}

.myyse-search-agent-condition {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: end;
	padding: 12px;
	border: 1px solid #ddd;
}

.myyse-search-agent-and {
	text-align: center;
	font-weight: 600;
}

.myyse-search-agent-condition label {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.myyse-search-agent-condition [hidden] {
	display: none !important;
}

.myyse-search-agent-condition-template {
	display: none;
}

.myyse-search-agent-delete {
	display: inline;
	margin-left: 8px;
}

.myyse-search-agent-preview ul.products {
	list-style: none;
}