:root {
	--mjh-primary: #0467f2;
	--mjh-primary-2: #2f86ff;
	--mjh-text: #172a43;
	--mjh-muted: #6f7f96;
	--mjh-border: #dce8f8;
	--mjh-bg: rgba(255,255,255,.92);
	--mjh-soft: #f3f8ff;
	--mjh-shadow: 0 16px 46px rgba(12, 52, 120, .08);
}

body.minejobs-modern-header .noo-header .noo-topbar {
	display: none !important;
}

body.minejobs-modern-header .noo-header,
body.minejobs-modern-header .navbar-wrapper,
body.minejobs-modern-header .navbar,
body.minejobs-modern-header .navbar-default {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	min-height: 0 !important;
}

body.minejobs-modern-header--sticky .noo-header {
	position: sticky;
	top: 0;
	z-index: 999;
}

.mjh,
.mjh * {
	box-sizing: border-box;
}

.mjh {
	direction: rtl;
	font-family: inherit;
	position: relative;
	z-index: 99;
	background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90));
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(220,232,248,.72);
	box-shadow: 0 8px 28px rgba(20, 57, 120, .05);
}

.mjh-container {
	width: min(100% - 32px, 1280px);
	margin: 0 auto;
}

.mjh-top {
	border-bottom: 1px solid rgba(220,232,248,.72);
	background: linear-gradient(90deg, rgba(244,249,255,.75), rgba(255,255,255,.95));
}

.mjh-top__inner {
	min-height: 42px;
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr) 220px;
	align-items: center;
	gap: 16px;
}

.mjh-top__text {
	grid-column: 2;
	text-align: center;
	color: var(--mjh-primary);
	font-weight: 900;
	font-size: 16px;
	line-height: 1.7;
}

.mjh-social {
	grid-column: 3;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	direction: ltr;
}

.mjh-social a {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #35475f;
	background: #fff;
	border: 1px solid rgba(220,232,248,.9);
	box-shadow: 0 8px 18px rgba(4,103,242,.06);
	text-decoration: none !important;
	transition: .18s ease;
}

.mjh-social a:hover {
	background: var(--mjh-primary);
	border-color: var(--mjh-primary);
	color: #fff;
	transform: translateY(-1px);
}

.mjh-main {
	background: rgba(255,255,255,.92);
}

.mjh-main__inner {
	min-height: 86px;
	display: grid;
	grid-template-columns: 175px minmax(0, 1fr) auto;
	align-items: center;
	gap: 22px;
}

.mjh-brand {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	text-decoration: none !important;
}

.mjh-logo {
	max-height: 58px;
	width: auto;
	object-fit: contain;
}

.mjh-logo--mobile {
	display: none;
}

.mjh-brand__name {
	font-size: 24px;
	font-weight: 950;
	color: var(--mjh-primary);
}

.mjh-nav {
	min-width: 0;
}

.mjh-menu,
.mjh-menu ul,
.mjh-mobile-menu,
.mjh-mobile-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mjh-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.mjh-menu > li {
	position: relative;
}

.mjh-menu > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 14px;
	color: var(--mjh-text) !important;
	font-size: 14px;
	font-weight: 850;
	text-decoration: none !important;
	white-space: nowrap;
	transition: .18s ease;
}

.mjh-menu > li:hover > a,
.mjh-menu > li.current-menu-item > a,
.mjh-menu > li.current-menu-ancestor > a {
	background: var(--mjh-soft);
	color: var(--mjh-primary) !important;
}

.mjh-menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 220px;
	padding: 10px;
	border: 1px solid var(--mjh-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--mjh-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: .18s ease;
}

.mjh-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.mjh-menu .sub-menu a {
	display: flex;
	align-items: center;
	min-height: 40px;
	border-radius: 12px;
	padding: 0 12px;
	color: var(--mjh-text) !important;
	font-weight: 800;
	text-decoration: none !important;
}

.mjh-menu .sub-menu a:hover {
	background: var(--mjh-soft);
	color: var(--mjh-primary) !important;
}

.mjh-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	position: relative;
}

.mjh-cta,
.mjh-register,
.mjh-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 16px;
	font-size: 14px;
	font-weight: 900;
	text-decoration: none !important;
	white-space: nowrap;
	transition: .18s ease;
}

.mjh-cta,
.mjh-register {
	background: linear-gradient(135deg, var(--mjh-primary), var(--mjh-primary-2));
	color: #fff !important;
	box-shadow: 0 14px 28px rgba(4,103,242,.22);
}

.mjh-cta:hover,
.mjh-register:hover {
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 18px 34px rgba(4,103,242,.30);
}

.mjh-login {
	background: #fff;
	border: 1px solid var(--mjh-border);
	color: var(--mjh-primary) !important;
	box-shadow: 0 10px 22px rgba(4,103,242,.07);
}

.mjh-login:hover {
	background: var(--mjh-soft);
	color: var(--mjh-primary) !important;
}

.mjh-user {
	position: relative;
}

.mjh-user__toggle {
	min-height: 52px;
	border: 1px solid var(--mjh-border);
	border-radius: 18px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 10px 6px 12px;
	box-shadow: 0 12px 26px rgba(4,103,242,.08);
	cursor: pointer;
	position: relative;
	color: var(--mjh-text);
}

.mjh-user__avatar,
.mjh-user__avatar img {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	overflow: hidden;
}

.mjh-user__avatar img {
	object-fit: cover;
}

.mjh-user__avatar--large,
.mjh-user__avatar--large img {
	width: 54px;
	height: 54px;
}

.mjh-user__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.35;
	min-width: 88px;
}

.mjh-user__meta strong,
.mjh-user__head strong {
	font-size: 13px;
	font-weight: 950;
	color: var(--mjh-text);
	max-width: 120px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.mjh-user__meta small,
.mjh-user__head small {
	font-size: 11px;
	font-weight: 800;
	color: var(--mjh-muted);
}

.mjh-user__panel {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	width: 300px;
	padding: 12px;
	border: 1px solid var(--mjh-border);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 22px 62px rgba(13, 48, 109, .14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: .18s ease;
}

.mjh-user.is-open .mjh-user__panel,
.mjh-user:hover .mjh-user__panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.mjh-user__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 18px;
	background: var(--mjh-soft);
	margin-bottom: 8px;
}

.mjh-user__head div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mjh-user__panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
}

.mjh-user__panel a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 0 12px;
	border-radius: 14px;
	font-size: 13px;
	font-weight: 850;
	color: var(--mjh-text) !important;
	text-decoration: none !important;
}

.mjh-user__panel a:hover,
.mjh-user__panel .is-highlight a {
	background: var(--mjh-soft);
	color: var(--mjh-primary) !important;
}

.mjh-user__panel a i {
	width: 18px;
	text-align: center;
	color: var(--mjh-primary);
}

.mjh-user .noo-menu-item-notify,
.mjh-user .user-notification,
.mjh-user .notification-count {
	position: absolute;
	top: -6px;
	right: -6px;
}

.mjh-mobile-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid var(--mjh-border);
	border-radius: 16px;
	background: #fff;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	box-shadow: 0 10px 22px rgba(4,103,242,.08);
	cursor: pointer;
}

.mjh-mobile-toggle span {
	display: block;
	width: 19px;
	height: 2px;
	border-radius: 2px;
	background: var(--mjh-primary);
}

.mjh-mobile {
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
}

.mjh-mobile__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 28, 57, .42);
	opacity: 0;
	transition: .2s ease;
}

.mjh-mobile__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(88vw, 360px);
	height: 100%;
	background: #fff;
	box-shadow: -24px 0 60px rgba(8, 28, 57, .18);
	transform: translateX(110%);
	transition: .24s ease;
	padding: 18px;
	overflow-y: auto;
}

body.mjh-mobile-open .mjh-mobile {
	pointer-events: auto;
}

body.mjh-mobile-open .mjh-mobile__backdrop {
	opacity: 1;
}

body.mjh-mobile-open .mjh-mobile__panel {
	transform: translateX(0);
}

.mjh-mobile__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 950;
	font-size: 18px;
	color: var(--mjh-text);
	padding-bottom: 16px;
	border-bottom: 1px solid var(--mjh-border);
	margin-bottom: 12px;
}

.mjh-mobile__head button {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--mjh-soft);
	color: var(--mjh-primary);
}

.mjh-mobile-menu a {
	display: flex;
	align-items: center;
	min-height: 46px;
	border-radius: 14px;
	padding: 0 12px;
	color: var(--mjh-text) !important;
	font-weight: 900;
	text-decoration: none !important;
}

.mjh-mobile-menu a:hover,
.mjh-mobile-menu .current-menu-item > a {
	background: var(--mjh-soft);
	color: var(--mjh-primary) !important;
}

.mjh-mobile-menu .sub-menu {
	padding-right: 12px;
	border-right: 2px solid var(--mjh-border);
	margin: 2px 8px 8px 0;
}

.mjh-mobile__actions {
	display: grid;
	gap: 10px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--mjh-border);
}

.mjh-mobile__actions .mjh-cta,
.mjh-mobile__actions .mjh-login,
.mjh-mobile__actions .mjh-register {
	width: 100%;
}

@media (max-width: 1200px) {
	.mjh-main__inner {
		grid-template-columns: 150px minmax(0, 1fr) auto;
		gap: 16px;
	}

	.mjh-menu > li > a {
		padding: 0 10px;
		font-size: 13px;
	}

	.mjh-user__meta {
		display: none;
	}
}

@media (max-width: 991px) {
	.mjh-top__inner {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 8px 0;
	}

	.mjh-top__text,
	.mjh-social {
		grid-column: auto;
		justify-content: center;
	}

	.mjh-top__text {
		font-size: 13px;
	}

	.mjh-main__inner {
		min-height: 76px;
		grid-template-columns: auto 1fr auto;
	}

	.mjh-nav {
		display: none;
	}

	.mjh-mobile-toggle {
		display: inline-flex;
	}

	.mjh-user__toggle {
		padding: 6px;
		min-height: 46px;
	}

	.mjh-user__toggle > .fa-angle-down {
		display: none;
	}

	.mjh-user__panel {
		display: none;
	}

	.mjh-cta {
		min-height: 44px;
		padding: 0 14px;
		font-size: 13px;
	}
}

@media (max-width: 640px) {
	.mjh-container {
		width: min(100% - 22px, 1280px);
	}

	.mjh-main__inner {
		grid-template-columns: 1fr auto;
		gap: 10px;
	}

	.mjh-brand {
		min-width: 0;
	}

	.mjh-logo {
		max-height: 44px;
	}

	.mjh-logo--normal + .mjh-logo--mobile {
		display: none;
	}

	.mjh-actions {
		gap: 7px;
	}

	.mjh-actions > .mjh-cta {
		display: none;
	}

	.mjh-login,
	.mjh-register {
		min-height: 40px;
		padding: 0 11px;
		font-size: 12px;
		border-radius: 14px;
	}

	.mjh-login i,
	.mjh-register i {
		display: none;
	}

	.mjh-mobile-toggle {
		width: 42px;
		height: 42px;
		border-radius: 14px;
	}
}

/* v9 fixes: social alignment + remove leftover original header search/user toggles */
body.minejobs-modern-header .mjh-social {
	transform: translateY(6px);
}

body.minejobs-modern-header .mjh-social a i.fa-google-plus:before,
body.minejobs-modern-header .mjh-social a i.fa-google:before {
	content: "\f2c6";
}

body.minejobs-modern-header .navbar-wrapper .navbar-header .navbar-toggle,
body.minejobs-modern-header .navbar-wrapper .navbar-header .member-navbar-toggle,
body.minejobs-modern-header .navbar-wrapper .navbar-search,
body.minejobs-modern-header .navbar-wrapper .navbar-search-button,
body.minejobs-modern-header .navbar-wrapper .noo-search,
body.minejobs-modern-header .navbar-wrapper .noo-menu-search,
body.minejobs-modern-header .navbar-wrapper .menu-search,
body.minejobs-modern-header .navbar-wrapper .search-toggle,
body.minejobs-modern-header .navbar-wrapper .search-button,
body.minejobs-modern-header .navbar-wrapper .header-search,
body.minejobs-modern-header .navbar-wrapper .btn-navbar-search,
body.minejobs-modern-header .navbar-wrapper [data-toggle="search"],
body.minejobs-modern-header .navbar-wrapper [data-target*="search"] {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.minejobs-modern-header .navbar-wrapper .navbar-header {
	min-height: 0 !important;
}
