/* "Create alert from this search" icon of the job filters. */
.workscout-alert-from-search[hidden] { display: none; }
.workscout-alert-from-search { margin: 10px 0 0; line-height: 0; }
.workscout-alert-from-search--corner { float: right; margin: 0 0 0 10px; }
.workscout-alert-from-search__button,
.workscout-alert-from-search__button:visited {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	box-sizing: border-box;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fff;
	color: var(--workscout-primary-color, #26ae61);
	font-size: 17px;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.workscout-alert-from-search__button:hover,
.workscout-alert-from-search__button:focus {
	background: var(--workscout-primary-color, #26ae61);
	border-color: var(--workscout-primary-color, #26ae61);
	color: #fff;
	text-decoration: none;
}
.workscout-alert-from-search__button i { line-height: 1; }
.workscout-alert-from-search__button::after {
	content: attr(data-tooltip);
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 999;
	width: max-content;
	max-width: 220px;
	padding: 8px 12px;
	border-radius: 4px;
	background: #333;
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	line-height: 18px;
	text-align: left;
	white-space: normal;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.workscout-alert-from-search__button:hover::after,
.workscout-alert-from-search__button:focus-visible::after {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* RTL: corner and tooltip on the left. */
[dir="rtl"] .workscout-alert-from-search--corner { float: left; margin: 0 10px 0 0; }
[dir="rtl"] .workscout-alert-from-search__button::after { right: auto; left: 0; text-align: right; }

/* Job alert form: saved custom field filters. */
.jm-alert-custom-filters__list { margin: 0 0 8px; padding-left: 18px; }
.jm-alert-custom-filters__clear { display: flex; align-items: center; gap: 8px; font-weight: normal; }
.jm-alert-custom-filters__clear input { width: auto; margin: 0; }
