/**
 * Listing search UI: jobs, employers — empty state, filter chips, sort bar, top search.
 */
/* ========== Empty results (jobs + employers) ========== */
.jobsearch-typo-wrap .no-candidate-match-error,
.jobsearch-typo-wrap .no-employer-match-error {	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	padding: 28px 24px;
	margin: 8px 0 24px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #f8fafc;
	line-height: 1.45;
	box-sizing: border-box;
}

.jobsearch-typo-wrap .no-candidate-match-error strong,
.jobsearch-typo-wrap .no-employer-match-error strong {	display: block;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #1a202c;
	width: 100%;
}

.jobsearch-typo-wrap .no-candidate-match-error > span,
.jobsearch-typo-wrap .no-employer-match-error > span {	display: block;
	font-size: 14px;
	color: #64748b;
	width: 100%;
	line-height: 1.5;
}

.jobsearch-typo-wrap .no-candidate-match-error em,
.jobsearch-typo-wrap .no-employer-match-error em {	display: none;
	width: auto;
	font-style: normal;
}

.jobsearch-typo-wrap .no-candidate-match-error a,
.jobsearch-typo-wrap .no-employer-match-error a {	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 16px;
	margin: 4px 0 0;
	border: 1px solid var(--cfy-primary, #0a65fc);
	border-radius: 8px;
	background: var(--cfy-primary, #0a65fc);
	color: #fff !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-transform: none;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.jobsearch-typo-wrap .no-candidate-match-error a:hover,
.jobsearch-typo-wrap .no-candidate-match-error a:focus,
.jobsearch-typo-wrap .no-employer-match-error a:hover,
.jobsearch-typo-wrap .no-employer-match-error a:focus {	background: #0854d4;
	border-color: #0854d4;
	color: #fff !important;
}

/* ========== Active filters bar ========== */
.jobsearch-typo-wrap .jobsearch-filterable {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px 12px;
	width: 100%;
	margin-bottom: 20px;
	padding: 12px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
	box-sizing: border-box;
}

.jobsearch-typo-wrap .jobsearch-filterable h2 {
	float: none;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	line-height: 1.3;
}

.jobsearch-typo-wrap .jobsearch-filterable ul,
.jobsearch-typo-wrap .jobsearch-filterable ul.filtration-tags {
	float: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jobsearch-typo-wrap .jobsearch-filterable ul li {
	float: none;
	padding: 0;
	margin: 0;
	border: 0;
	list-style: none;
}

.jobsearch-typo-wrap .jobsearch-filterable ul li a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	color: #334155 !important;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	flex-direction: row;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.jobsearch-typo-wrap .jobsearch-filterable ul li a:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #1a202c !important;
}

.jobsearch-typo-wrap .jobsearch-filterable ul li a i,
.jobsearch-typo-wrap .jobsearch-filterable .filtration-tags li i {
	margin: 0;
	font-size: 12px;
	line-height: 1;
	color: #94a3b8;
	order: 1;
}

.jobsearch-typo-wrap .jobsearch-filterable .clear-tags {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	margin-left: auto;
	padding: 0 12px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	color: #64748b !important;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	text-transform: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.jobsearch-typo-wrap .jobsearch-filterable .clear-tags:hover,
.jobsearch-typo-wrap .jobsearch-filterable .clear-tags:focus {
	background: #fef2f2;
	border-color: #fecaca;
	color: #dc2626 !important;
}

@media (max-width: 768px) {
	.jobsearch-typo-wrap .jobsearch-filterable {
		padding: 12px;
	}

	.jobsearch-typo-wrap .jobsearch-filterable .clear-tags {
		margin-left: 0;
		width: 100%;
		min-height: 40px;
	}

	.jobsearch-typo-wrap .no-candidate-match-error,
	.jobsearch-typo-wrap .no-employer-match-error {
		padding: 20px 16px;
	}

	.jobsearch-typo-wrap .sortfiltrs-contner {
		padding: 12px;
	}

	.jobsearch-typo-wrap .jobsearch-topsort-holder {
		width: 100%;
		margin-left: 0;
	}

	.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section {
		width: 100%;
	}

	.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section > li {
		flex: 1 1 calc(50% - 4px);
		min-width: 0;
	}
}

/* ========== Sort / count toolbar ========== */
.jobsearch-typo-wrap .sortfiltrs-contner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	float: none;
	width: 100%;
	margin-bottom: 20px;
	padding: 14px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
	box-sizing: border-box;
}

.jobsearch-typo-wrap .sortfiltrs-contner .jobsearch-topfound-title {
	flex: 1 1 240px;
	min-width: 0;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.jobsearch-typo-wrap .sortfiltrs-contner .jobsearch-fltcount-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 6px;
	float: none;
	margin: 0;
	font-size: 16px !important;
	font-weight: 600;
	line-height: 1.35 !important;
	color: #1a202c;
}

.jobsearch-typo-wrap .sortfiltrs-contner .listing-counts-num {
	font-weight: 700;
	color: var(--cfy-primary, #0a65fc);
}

.jobsearch-typo-wrap .sortfiltrs-contner .listing-counts-numtxt {
	font-weight: 600;
	color: #1a202c;
}

.jobsearch-typo-wrap .sortfiltrs-contner .displayed-here {
	flex: 0 0 100%;
	float: none;
	padding: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: #64748b;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder {
	flex: 0 1 auto;
	margin-left: auto;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-filter-sortable {
	display: flex;
	align-items: center;
	float: none;
	width: auto;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-filter-sortable > h2:empty {
	display: none;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section > li {
	display: flex;
	align-items: center;
	float: none;
	position: relative;
	flex: 0 0 auto;
	width: auto;
	min-width: 124px;
	margin: 0;
	padding: 6px 30px 6px 12px;
	min-height: 36px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	list-style: none;
	box-sizing: border-box;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section > li:nth-child(2) {
	min-width: 132px;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section > li::after {
	content: "\e967";
	font-family: wp-jobsearch-icomoon;
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	font-size: 11px;
	line-height: 1;
	color: #94a3b8;
	pointer-events: none;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section > li > i.jobsearch-icon {
	display: none;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-filterable-select {
	position: relative;
	display: block;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-filterable-select:after {
	display: none !important;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section .selectize-control.single .selectize-input:before,
.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section .selectize-control.single .selectize-input:after {
	display: none !important;
	content: none !important;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-filterable-select .selectize-control,
.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-filterable-select .selectize-control.single {
	width: 100% !important;
	height: auto;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-filterable-select .selectize-control.single .selectize-input {
	display: block;
	width: 100% !important;
	min-width: 0;
	height: auto !important;
	min-height: 0;
	padding: 0 !important;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	color: #334155;
	overflow: hidden;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-filterable-select .selectize-control.single .selectize-input > .item {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	color: #334155;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-filterable-select .selectize-control.single .selectize-input input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: 0 !important;
	opacity: 0;
	pointer-events: none;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-filterable-select select {
	width: 100%;
	min-width: 0;
	height: auto;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 13px;
	font-weight: 500;
	color: #334155;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section .selectize-dropdown.single {
	min-width: 100% !important;
	width: auto !important;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
	margin-top: 6px;
	overflow: hidden;
	box-sizing: border-box;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section .selectize-dropdown .selectize-dropdown-content {
	max-height: 220px;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section .selectize-dropdown [data-selectable] {
	padding: 8px 12px;
	font-size: 13px;
	line-height: 1.35;
	color: #334155;
	white-space: nowrap;
}

.jobsearch-typo-wrap .jobsearch-topsort-holder .jobsearch-sort-section .selectize-dropdown .active {
	background: #f1f5f9;
	color: #1a202c;
}

/* ========== Top listing search bar ========== */
.jobsearch-typo-wrap.jobsearch-top-searchbar {
	padding-top: 0;
}

.jobsearch-typo-wrap .jobsearch-subheader-form {
	float: none;
	margin-bottom: 20px;
	text-align: left;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search {
	display: block;
	float: none;
	width: 100%;
	margin: 0;
	padding: 10px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	box-sizing: border-box;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search > ul {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search > ul > li {
	flex: 1 1 180px;
	min-width: 0;
	float: none;
	position: relative;
	list-style: none;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search > ul > li.jobsearch-banner-submit {
	flex: 0 0 auto;
	min-width: 132px;
	z-index: 1;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search input[type="text"],
.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search ul li input[type="number"] {
	height: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid #e2e8f0 !important;
	border-left: 1px solid #e2e8f0 !important;
	border-radius: 8px;
	font-size: 14px;
	color: #334155;
	background: #fff;
	box-sizing: border-box;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search input[type="text"]::placeholder {
	color: #94a3b8;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search input[type="submit"],
.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 44px !important;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--cfy-primary, #0a65fc) !important;
	border-radius: 8px !important;
	background: var(--cfy-primary, #0a65fc) !important;
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search .rework-listing-search-label {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	white-space: nowrap;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search .jobsearch-banner-submit button i {
	position: static;
	float: none;
	margin: 0;
	font-size: 15px;
	line-height: 1;
	color: #fff !important;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search input[type="submit"]:hover,
.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search input[type="submit"]:focus,
.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search button:hover,
.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search button:focus {
	background: #0854d4 !important;
	border-color: #0854d4 !important;
	color: #fff !important;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search li.jobsearch-banner-submit:hover input[type="submit"],
.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search li.jobsearch-banner-submit:hover button {
	background: #0854d4 !important;
	border-color: #0854d4 !important;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search li.jobsearch-banner-submit:hover button i {
	color: #fff !important;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search ul li i {
	top: 50%;
	right: 12px;
	margin-top: -8px;
	font-size: 14px;
	color: #94a3b8;
	pointer-events: none;
}

.jobsearch-typo-wrap .jobsearch-subheader-form .jobsearch-banner-search a.geolction-btn {
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	color: #64748b;
}

.jobsearch-typo-wrap.careerfy-listin-tsrch .careerfy-search-twentyone-grid {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: none;
}