body:has(.jooker-auth-page) .jooker-page-hero {
	display: none !important;
}

body:has(.jooker-auth-page) {
	margin: 0;
	background: #fff;
	overflow-x: clip;
}

.jooker-auth-document {
	position: relative;
	z-index: 1;
	width: 100%;
}

.jooker-auth-page,
.jooker-auth-page * {
	box-sizing: border-box;
}

.jooker-auth-page {
	min-height: 100vh;
	min-height: 100dvh;
	max-width: 100%;
	display: flex;
	background: #fff;
	color: #111;
	font-family: inherit;
}

body.admin-bar .jooker-auth-page,
body.admin-bar .jooker-auth-form-side,
body.admin-bar .jooker-auth-art {
	min-height: calc(100vh - 32px);
	min-height: calc(100dvh - 32px);
}

.jooker-auth-form-side,
.jooker-auth-art {
	width: 50%;
	min-height: 100vh;
	min-height: 100dvh;
}

.jooker-auth-form-side {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 7vw;
}

.jooker-auth-box {
	width: min(100%, 560px);
}

.jooker-auth-box h1 {
	margin: 0 0 12px;
	color: #111;
	font-size: clamp(34px, 4vw, 58px);
	font-weight: 700;
	line-height: 1.15;
}

.jooker-auth-switch {
	margin: 0 0 34px;
	color: #686868;
	font-size: 15px;
}

.jooker-auth-switch a,
.jooker-auth-options a,
.jooker-auth-terms a {
	color: #4b9c80;
	font-weight: 600;
	text-decoration: none;
}

.jooker-auth-switch a:hover,
.jooker-auth-options a:hover,
.jooker-auth-terms a:hover {
	text-decoration: underline;
}

.jooker-auth-row {
	display: flex;
	gap: 18px;
}

.jooker-auth-field {
	flex: 1 1 0;
	display: block;
	margin: 0 0 20px;
}

.jooker-auth-field > span:first-child {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
}

.jooker-auth-field input,
.jooker-auth-field select {
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid #dedede;
	border-radius: 6px;
	background: #fff;
	color: #111;
	font: inherit;
	box-shadow: none;
}

.jooker-auth-field input:focus,
.jooker-auth-field select:focus {
	border-color: #4b9c80;
	outline: 2px solid rgba(75, 156, 128, 0.2);
}

.jooker-code-field {
	max-width: 190px;
}

.jooker-auth-password {
	position: relative;
	display: block;
}

.jooker-auth-password input {
	padding-inline-end: 52px;
}

.jooker-password-toggle {
	position: absolute;
	top: 50%;
	inset-inline-end: 8px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 18px;
	line-height: 1;
	transform: translateY(-50%);
	cursor: pointer;
}

.jooker-auth-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: -2px 0 24px;
	font-size: 14px;
}

.jooker-auth-options label,
.jooker-auth-terms {
	display: flex;
	align-items: flex-start;
	gap: 9px;
}

.jooker-auth-options input,
.jooker-auth-terms input {
	width: 17px;
	height: 17px;
	margin: 2px 0 0;
	accent-color: #4b9c80;
}

.jooker-auth-terms {
	margin: 2px 0 24px;
	color: #555;
	font-size: 13px;
	line-height: 1.7;
}

.jooker-auth-submit {
	width: 100%;
	min-height: 52px;
	padding: 12px 24px;
	border: 0;
	border-radius: 6px;
	background: #4b9c80;
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.jooker-auth-submit:hover,
.jooker-auth-submit:focus-visible {
	background: #3d866e;
	transform: translateY(-1px);
}

.jooker-auth-submit:disabled {
	cursor: wait;
	opacity: 0.75;
	transform: none;
}

.jooker-auth-error {
	margin: 0 0 22px;
	padding: 13px 15px;
	border: 1px solid #f1b5b5;
	border-radius: 6px;
	background: #fff0f0;
	color: #a12626;
	font-size: 14px;
}

.jooker-auth-error[hidden] {
	display: none;
}

.jooker-auth-field .select2-container {
	display: block;
	width: 100% !important;
}

.jooker-auth-field .select2-container .select2-selection--single {
	height: 50px;
	border-color: #dedede;
	border-radius: 6px;
}

.jooker-auth-field .select2-container .select2-selection--single .select2-selection__rendered {
	padding-inline: 15px 36px;
	line-height: 48px;
}

.jooker-auth-field .select2-container .select2-selection--single .select2-selection__arrow {
	top: 12px;
	inset-inline-end: 8px;
}

.select2-container[dir="rtl"] {
	direction: rtl;
	text-align: right;
}

.jooker-rtl + .select2-container,
.jooker-rtl .select2-container,
.jooker-rtl .select2-dropdown {
	direction: rtl;
	text-align: right;
}

.jooker-auth-integrations:empty {
	display: none;
}

.jooker-auth-error ul {
	margin: 0;
	padding-inline-start: 20px;
}

.jooker-auth-art {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 60px;
	background: linear-gradient(145deg, #153e36 0%, #4b9c80 100%);
}

.jooker-auth-art::before {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16), transparent 30%),
		radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.12), transparent 32%);
	content: '';
}

.jooker-auth-art-content {
	position: relative;
	z-index: 1;
	max-width: 520px;
	color: #fff;
	text-align: center;
}

.jooker-auth-art-content img {
	width: min(100%, 300px);
	height: auto;
	margin-bottom: 30px;
}

.jooker-auth-art-content p {
	margin: 0;
	font-size: clamp(24px, 2.5vw, 40px);
	font-weight: 600;
	line-height: 1.45;
}

.jooker-register-page .jooker-auth-form-side {
	padding-top: 40px;
	padding-bottom: 40px;
}

.jooker-register-page .jooker-auth-box h1 {
	font-size: clamp(32px, 3.5vw, 50px);
}

@media (max-width: 991px) {
	.jooker-auth-page {
		min-height: 100vh;
		min-height: 100dvh;
		flex-direction: column;
	}

	.jooker-auth-form-side,
	.jooker-auth-art {
		width: 100%;
		min-height: auto;
	}

	body.admin-bar .jooker-auth-page {
		min-height: calc(100vh - 46px);
		min-height: calc(100dvh - 46px);
	}

	body.admin-bar .jooker-auth-form-side,
	body.admin-bar .jooker-auth-art {
		min-height: auto;
	}

	.jooker-auth-form-side {
		padding: 56px 24px;
	}

	.jooker-auth-art {
		padding: 64px 24px;
	}

	.jooker-auth-art-content img {
		width: min(70%, 240px);
	}
}

@media (max-width: 600px) {
	.jooker-auth-form-side {
		padding: 42px 18px;
	}

	.jooker-auth-row {
		flex-direction: column;
		gap: 0;
	}

	.jooker-code-field {
		max-width: none;
	}

	.jooker-auth-options {
		align-items: flex-start;
		flex-direction: column;
	}
}
