/**
 * Fixa Jobs — minimal JobVision-like UI
 * Light + dark via CSS variables
 * Font: Vazirmatn enqueued in class-assets.php
 */

.fj-page {
	--ink: #191f1c;
	--ink-soft: #6c756f;
	--ink-faint: #9aa39c;
	--paper: #ffffff;
	--panel: #fafaf8;
	--line: #e7e4db;
	--teal: #025f50;
	--teal-tint: #e8f5f2;
	--coral: #e2503a;
	--coral-tint: #fdece9;
	--amber: #b9791f;
	--amber-tint: #faf1e2;
	--radius: 12px;
	--radius-sm: 9px;
	--gutter: 20px;

	direction: rtl;
	color: var(--ink);
	background: var(--paper);
	font-family: "Vazirmatn", Tahoma, sans-serif;
	font-size: 14px;
	line-height: 1.65;
	font-weight: 400;
	min-width: 0;
}

@media (prefers-color-scheme: dark) {
	.fj-page {
		--ink: #e8ebe9;
		--ink-soft: #a3aba6;
		--ink-faint: #7a827c;
		--paper: #0f1210;
		--panel: #171b18;
		--line: #2a302c;
		--teal: #3dbaa3;
		--teal-tint: #14352e;
		--coral: #f07a66;
		--coral-tint: #3a1c18;
		--amber: #e0a84a;
		--amber-tint: #3a2c14;
	}
}

.fj-page *,
.fj-page *::before,
.fj-page *::after {
	box-sizing: border-box;
}

.fj-container {
	width: min(1120px, calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
}

.fj-page .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Buttons */
.fj-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 40px;
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	font: inherit;
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}

.fj-btn--teal,
.fj-btn--primary {
	background: var(--teal);
	color: #fff;
	border-color: var(--teal);
}

.fj-btn--teal:hover,
.fj-btn--primary:hover {
	background: #016b59;
	border-color: #016b59;
	filter: none;
	color: #fff;
}

.fj-btn--outline {
	background: transparent;
	border-color: var(--line);
	color: var(--ink);
}

.fj-btn--outline:hover {
	border-color: var(--teal);
	color: var(--teal);
	background: var(--teal-tint);
}

.fj-btn:disabled {
	opacity: 0.55;
	cursor: wait;
}

.fj-btn:focus-visible,
.fj-check input:focus-visible,
.fj-search input:focus-visible,
.fj-search select:focus-visible,
.fj-qchip:focus-visible,
.fj-save:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 2px;
}

/* Intro + search */
.fj-intro {
	padding: 36px 0 8px;
}

.fj-intro__title {
	margin: 0 0 8px;
	font-size: 23px;
	font-weight: 800;
	line-height: 1.4;
	color: var(--ink);
}

.fj-intro__lead {
	margin: 0 0 22px;
	font-size: 13px;
	color: var(--ink-soft);
	max-width: 36em;
}

.fj-search {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(140px, 0.7fr) auto;
	gap: 10px;
	padding: 10px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.fj-search__q,
.fj-search__city {
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 14px;
}

.fj-search__city {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236c756f' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 12px center;
	padding-left: 28px;
}

.fj-search__q:focus,
.fj-search__city:focus {
	outline: none;
	border-color: var(--teal);
}

.fj-search__submit {
	min-height: 44px;
	padding-inline: 22px;
}

/* Quick chips */
.fj-quick-wrap {
	padding: 20px 0 8px;
}

.fj-quick {
	position: relative;
}

.fj-quick__track {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.fj-quick__item {
	position: relative;
	flex: 0 0 auto;
}

.fj-qchip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	max-width: 220px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.fj-qchip__text {
	overflow: hidden;
	text-overflow: ellipsis;
}

.fj-qchip:hover,
.fj-qchip.is-open,
.fj-qchip.is-active {
	border-color: var(--teal);
	color: var(--teal);
	background: var(--teal-tint);
}

.fj-qchip.is-active {
	font-weight: 700;
}

.fj-qchip__caret {
	width: 0;
	height: 0;
	border-inline: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.7;
	flex-shrink: 0;
}

.fj-quick__panel {
	position: fixed;
	z-index: 90;
	min-width: 180px;
	width: max-content;
	max-width: min(280px, calc(100vw - 24px));
	max-height: min(320px, 60vh);
	overflow: auto;
	padding: 8px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 8px 24px rgba(25, 31, 28, 0.1);
}

.fj-quick__panel--scroll {
	max-height: min(360px, 65vh);
}

.fj-quick__opt {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 10px;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	text-align: right;
	cursor: pointer;
}

.fj-quick__opt:hover,
.fj-quick__opt.is-active {
	background: var(--teal-tint);
	color: var(--teal);
}

.fj-quick__opt span {
	color: var(--ink-faint);
	font-size: 11px;
	font-weight: 700;
}

/* Layout */
.fj-archive__layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 32px;
	padding: 24px 0 72px;
	align-items: start;
}

.fj-sidebar {
	position: sticky;
	top: 16px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px;
	max-height: calc(100vh - 32px);
	overflow: auto;
}

.fj-filters__head {
	display: none;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 800;
}

.fj-filters__close {
	border: 0;
	background: transparent;
	font-size: 22px;
	line-height: 1;
	color: var(--ink-soft);
	cursor: pointer;
	padding: 4px 8px;
}

.fj-filter-group + .fj-filter-group {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.fj-filter-group__title {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 800;
	color: var(--ink);
}

.fj-check-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.fj-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink);
	cursor: pointer;
}

.fj-check input {
	width: 15px;
	height: 15px;
	accent-color: var(--teal);
	flex-shrink: 0;
}

.fj-check__count {
	margin-inline-start: auto;
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	color: var(--ink-faint);
}

.fj-check--muted {
	color: var(--ink-faint);
	cursor: default;
}

/* Toolbar + list */
.fj-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.fj-toolbar__filters {
	display: none;
}

.fj-toolbar__count {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink-soft);
	margin-inline-end: auto;
}

.fj-toolbar__clear {
	border: 0;
	background: transparent;
	color: var(--coral);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	padding: 4px 8px;
}

.fj-toolbar__clear:hover {
	text-decoration: underline;
}

.fj-toolbar__saved {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink);
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	background: var(--paper);
	cursor: pointer;
	font-family: inherit;
}

.fj-toolbar__saved:hover,
.fj-toolbar__saved.is-active {
	border-color: var(--teal);
	color: var(--teal);
	background: var(--teal-tint);
}

.fj-toolbar__saved.is-active svg path {
	fill: currentColor;
}

.fj-toolbar__saved-count {
	font-style: normal;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--teal);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	display: inline-grid;
	place-items: center;
}

.fj-archive.is-saved-view .fj-toolbar__saved.is-active {
	box-shadow: 0 0 0 1px var(--teal);
}

.fj-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.fj-active-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 30px;
	padding: 4px 10px;
	border: 1px solid var(--teal);
	border-radius: 999px;
	background: var(--teal-tint);
	color: var(--teal);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.fj-list.is-loading,
.fj-archive.is-loading .fj-list {
	opacity: 0.55;
	pointer-events: none;
}

.fj-toolbar__sort select {
	min-height: 36px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--panel);
	color: var(--ink-soft);
	font: inherit;
	font-size: 12px;
	font-weight: 600;
}

.fj-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

/* Card row */
.fj-card {
	position: relative;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: start;
	padding: 16px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fj-card:hover {
	border-color: var(--teal);
	background: var(--teal-tint);
}

.fj-card__link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.fj-card__media {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.fj-card__logo {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--teal-tint);
	border: 1px solid var(--line);
	display: grid;
	place-items: center;
	color: var(--teal);
	flex-shrink: 0;
	overflow: hidden;
}

.fj-card__icon {
	display: block;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fj-card__icon-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	padding: 0;
	box-sizing: border-box;
}

.fj-card__media .fj-badge {
	margin: 0;
	max-width: 100%;
	justify-content: center;
	text-align: center;
	padding: 2px 6px;
	font-size: 10px;
	line-height: 1.4;
	white-space: nowrap;
}

.fj-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
}

.fj-badge--new {
	background: var(--teal-tint);
	color: var(--teal);
}

.fj-badge--urgent {
	background: var(--coral-tint);
	color: var(--coral);
}

.fj-badge--easy {
	background: var(--amber-tint);
	color: var(--amber);
}

.fj-card__body {
	min-width: 0;
	padding-top: 0;
}

.fj-card__title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--ink);
}

.fj-card__title a {
	position: relative;
	z-index: 2;
	color: inherit;
	text-decoration: none;
}

.fj-card__title a:hover {
	color: var(--teal);
}

.fj-card__brand {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-soft);
}

.fj-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	font-size: 12px;
	color: var(--ink-faint);
}

.fj-card__meta li {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.fj-card__aside {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	min-width: 96px;
	text-align: left;
}

.fj-save {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--paper);
	color: var(--ink-faint);
	cursor: pointer;
	padding: 0;
}

.fj-save:hover,
.fj-save.is-on {
	color: var(--amber);
	border-color: var(--amber);
	background: var(--amber-tint);
}

.fj-card__salary {
	margin: 0;
	font-size: 13px;
	font-weight: 800;
	color: var(--ink);
}

.fj-card__time {
	margin: 0;
	font-size: 11px;
	color: var(--ink-faint);
}

.fj-empty {
	margin: 0;
	padding: 28px;
	text-align: center;
	color: var(--ink-soft);
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.fj-loadmore-wrap {
	margin-top: 12px;
	min-height: 1px;
	text-align: center;
}

.fj-infinite-sentinel {
	height: 1px;
	width: 100%;
	pointer-events: none;
}

.fj-infinite-status {
	margin: 12px 0 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--teal);
}

.fj-infinite-status::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-inline-end: 8px;
	vertical-align: -2px;
	border: 2px solid var(--teal-tint);
	border-top-color: var(--teal);
	border-radius: 50%;
	animation: fj-spin 0.7s linear infinite;
}

@keyframes fj-spin {
	to {
		transform: rotate(360deg);
	}
}

.fj-sheet-backdrop {
	display: none;
}

/* Single — same tokens, quieter panels */
.fj-single {
	padding-bottom: 48px;
}

.fj-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: 28px;
	padding: 32px 0 64px;
	align-items: start;
}

.fj-back {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink-soft);
	text-decoration: none;
}

.fj-back:hover {
	color: var(--teal);
}

.fj-single-title {
	margin: 0 0 8px;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 800;
	line-height: 1.35;
	color: var(--ink);
}

.fj-meta {
	margin: 0 0 16px;
	font-size: 12px;
	color: var(--ink-faint);
}

.fj-prose {
	font-size: 14px;
	line-height: 1.85;
	color: var(--ink-soft);
}

.fj-prose p {
	margin: 0 0 12px;
}

.fj-cities,
.fj-keywords {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.fj-cities h2,
.fj-keywords h2,
.fj-apply h2,
.fj-related h2 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 800;
	color: var(--ink);
}

.fj-cities__lead,
.fj-apply__lead {
	margin: 0 0 14px;
	font-size: 13px;
	color: var(--ink-soft);
}

.fj-cities__list,
.fj-tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fj-cities__list {
	max-height: 200px;
	overflow: auto;
}

.fj-city-chip,
.fj-tags li {
	padding: 5px 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--panel);
	font-size: 12px;
	font-weight: 600;
	color: var(--ink);
}

.fj-apply,
.fj-related {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px;
	margin-bottom: 12px;
}

.fj-apply-form {
	display: grid;
	gap: 12px;
}

.fj-apply-summary {
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--teal-tint);
}

.fj-apply-summary__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.fj-apply-summary__head strong {
	font-size: 13px;
	font-weight: 800;
	color: var(--ink);
}

.fj-apply-summary__edit {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--teal);
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
	padding: 4px 0;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fj-apply-summary__edit:hover {
	color: #016b59;
}

.fj-apply-summary__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.fj-apply-summary__list li {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
	font-size: 12px;
	line-height: 1.5;
}

.fj-apply-summary__list span {
	color: var(--ink-soft);
	font-weight: 600;
}

.fj-apply-summary__list em {
	font-style: normal;
	font-weight: 700;
	color: var(--ink);
	word-break: break-word;
}

.fj-apply-fields {
	display: grid;
	gap: 12px;
}

.fj-apply-fields[hidden],
.fj-apply-summary[hidden],
.fj-apply__lead--full[hidden],
.fj-apply__cancel-edit[hidden],
.fj-apply-summary__message[hidden] {
	display: none !important;
}

.fj-field__hint {
	margin: 6px 0 0;
	font-size: 11px;
	color: var(--ink-soft);
	line-height: 1.5;
}

.fj-field__hint a {
	color: var(--teal);
	font-weight: 700;
}

.fj-apply__cancel-edit {
	width: 100%;
}

.fj-field {
	margin: 0;
	min-width: 0;
}

.fj-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--ink);
}

.fj-field label span {
	color: var(--coral);
}

.fj-field input,
.fj-field textarea,
.fj-field select {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 42px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--panel);
	font: inherit;
	font-size: 13px;
	color: var(--ink);
}

.fj-field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236c756f' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 12px center;
	padding-left: 28px;
}

.fj-field textarea {
	min-height: 96px;
	resize: vertical;
}

.fj-field input:focus,
.fj-field textarea:focus,
.fj-field select:focus {
	outline: none;
	border-color: var(--teal);
}

.fj-apply__submit {
	width: 100%;
	min-height: 46px;
	font-size: 14px;
	background: #025f50;
	border-color: #025f50;
	color: #fff;
}

.fj-apply__submit:hover:not(:disabled) {
	background: #016b59;
	border-color: #016b59;
	color: #fff;
}

.fj-apply__status {
	margin: 0;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	font-size: 12px;
	font-weight: 700;
}

.fj-apply__status.is-success {
	background: var(--teal-tint);
	color: var(--teal);
}

.fj-apply__status.is-error {
	background: var(--coral-tint);
	color: var(--coral);
}

.fj-related ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.fj-related a {
	display: block;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink);
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
}

.fj-related a:hover {
	border-color: var(--teal);
	background: var(--teal-tint);
	color: var(--teal);
}

/* Success modal after apply */
body.fj-modal-open {
	overflow: hidden;
}

.fj-success-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: grid;
	place-items: center;
	padding: 20px;
	font-family: "Vazirmatn", Tahoma, sans-serif;
	direction: rtl;
}

.fj-success-modal[hidden] {
	display: none;
}

.fj-success-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 18, 16, 0.55);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.22s ease;
}

.fj-success-modal.is-open .fj-success-modal__backdrop {
	opacity: 1;
}

.fj-success-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 400px);
	padding: 36px 28px 28px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e7e4db;
	box-shadow: 0 24px 64px rgba(2, 95, 80, 0.18), 0 8px 24px rgba(0, 0, 0, 0.12);
	text-align: center;
	transform: translateY(18px) scale(0.94);
	opacity: 0;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
	outline: none;
	overflow: hidden;
}

.fj-success-modal.is-open .fj-success-modal__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.fj-success-modal__glow {
	position: absolute;
	inset-inline: 10%;
	top: -40%;
	height: 55%;
	background: radial-gradient(ellipse at center, rgba(2, 95, 80, 0.14), transparent 70%);
	pointer-events: none;
}

.fj-success-modal__icon {
	position: relative;
	width: 72px;
	height: 72px;
	margin: 0 auto 18px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #025f50;
	background: #e8f5f2;
	border: 1px solid #c5e5de;
	box-shadow: 0 0 0 8px rgba(2, 95, 80, 0.06);
}

.fj-success-modal.is-open .fj-success-modal__icon {
	animation: fj-success-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.fj-success-modal__ring {
	opacity: 0.35;
}

.fj-success-modal__check {
	stroke-dasharray: 24;
	stroke-dashoffset: 24;
}

.fj-success-modal.is-open .fj-success-modal__check {
	animation: fj-success-draw 0.4s ease 0.2s forwards;
}

.fj-success-modal__title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	color: #191f1c;
	line-height: 1.35;
}

.fj-success-modal__body {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.75;
	color: #6c756f;
}

.fj-success-modal__btn {
	width: 100%;
	min-height: 46px;
	font-size: 14px;
	font-weight: 700;
}

@keyframes fj-success-pop {
	0% {
		transform: scale(0.6);
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes fj-success-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@media (prefers-color-scheme: dark) {
	.fj-success-modal__dialog {
		background: #171b18;
		border-color: #2a302c;
		box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
	}

	.fj-success-modal__icon {
		color: #3dbaa3;
		background: #14352e;
		border-color: #1f4a40;
		box-shadow: 0 0 0 8px rgba(61, 186, 163, 0.08);
	}

	.fj-success-modal__title {
		color: #e8ebe9;
	}

	.fj-success-modal__body {
		color: #a3aba6;
	}
}

/* Mobile */
@media (max-width: 900px) {
	.fj-archive__layout,
	.fj-single__layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.fj-toolbar__filters {
		display: inline-flex;
	}

	.fj-sidebar {
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		top: auto;
		z-index: 80;
		max-height: min(82vh, 640px);
		border-radius: 16px 16px 0 0;
		padding: 16px 16px 24px;
		transform: translateY(110%);
		transition: transform 0.25s ease;
		overflow: auto;
	}

	.fj-page.is-filters-open .fj-sidebar {
		transform: translateY(0);
	}

	.fj-filters__head {
		display: flex;
	}

	.fj-sheet-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 70;
		background: rgba(10, 14, 12, 0.45);
	}

	.fj-sheet-backdrop[hidden] {
		display: none;
	}

	.fj-card {
		grid-template-columns: 48px minmax(0, 1fr);
	}

	.fj-card__aside {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-width: 0;
		margin-top: 4px;
		padding-top: 12px;
		border-top: 1px dashed var(--line);
		text-align: right;
	}

	.fj-card__salary {
		margin-inline-start: auto;
		margin-inline-end: 12px;
	}
}

@media (max-width: 560px) {
	.fj-page {
		--gutter: 16px;
	}

	.fj-search {
		grid-template-columns: 1fr;
	}

	.fj-search__submit {
		width: 100%;
	}

	.fj-intro {
		padding-top: 24px;
	}

	.fj-intro__title {
		font-size: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fj-sidebar,
	.fj-btn,
	.fj-card,
	.fj-success-modal__backdrop,
	.fj-success-modal__dialog,
	.fj-success-modal__icon,
	.fj-success-modal__check,
	.fj-infinite-status::before {
		transition: none;
		animation: none;
	}

	.fj-success-modal.is-open .fj-success-modal__check {
		stroke-dashoffset: 0;
	}
}
