html,
body.kol-home-login-body {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 100%;
	background: var(--kol-home-login-surface, #f8fcf8);
}

body.kol-home-login-body {
	overflow-x: hidden;
	--kol-home-login-accent: #16a34a;
	--kol-home-login-accent-strong: #15803d;
	--kol-home-login-accent-soft: #e9f8ee;
	--kol-home-login-text: #102016;
	--kol-home-login-muted: #405047;
	--kol-home-login-surface: #f8fcf8;
	--kol-home-login-panel: #ffffff;
	--kol-home-login-field: #ffffff;
	--kol-home-login-border: #bdd7c6;
	--kol-home-login-shadow: rgba(8, 51, 28, 0.16);
	--kol-home-login-left-start: rgba(4, 47, 30, 0.9);
	--kol-home-login-left-end: rgba(22, 163, 74, 0.7);
}

body.kol-home-login-body.dark-mode,
body.kol-home-login-body.bb-dark-mode,
body.kol-home-login-body[data-theme="dark"] {
	--kol-home-login-accent: #22c55e;
	--kol-home-login-accent-strong: #4ade80;
	--kol-home-login-accent-soft: #0e2b1a;
	--kol-home-login-text: #edfdf2;
	--kol-home-login-muted: #b8d7c2;
	--kol-home-login-surface: #06110a;
	--kol-home-login-panel: #0b1710;
	--kol-home-login-field: #101f16;
	--kol-home-login-border: #275b39;
	--kol-home-login-shadow: rgba(0, 0, 0, 0.34);
	--kol-home-login-left-start: rgba(2, 26, 16, 0.94);
	--kol-home-login-left-end: rgba(21, 128, 61, 0.76);
}

@media (prefers-color-scheme: dark) {
	body.kol-home-login-body:not(.light-mode) {
		--kol-home-login-accent: #22c55e;
		--kol-home-login-accent-strong: #4ade80;
		--kol-home-login-accent-soft: #0e2b1a;
		--kol-home-login-text: #edfdf2;
		--kol-home-login-muted: #b8d7c2;
		--kol-home-login-surface: #06110a;
		--kol-home-login-panel: #0b1710;
		--kol-home-login-field: #101f16;
		--kol-home-login-border: #275b39;
		--kol-home-login-shadow: rgba(0, 0, 0, 0.34);
		--kol-home-login-left-start: rgba(2, 26, 16, 0.94);
		--kol-home-login-left-end: rgba(21, 128, 61, 0.76);
	}
}

body.kol-home-login-body,
body.kol-home-login-body.kol-ams-header-enabled,
body.kol-home-login-body.kol-ams-header-enabled.kol-ams-header-sticky,
body.kol-home-login-body.sticky-header,
body.kol-home-login-body.admin-bar {
	--kol-ams-header-height: 0px !important;
	--kol-ams-mobile-header-height: 0px !important;
	--kol-ams-active-header-height: 0px !important;
	--kol-ams-header-gap: 0px !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.kol-home-login-body #wpadminbar {
	display: none !important;
}

body.kol-home-login-body .site-header-wrapper,
body.kol-home-login-body .site-header,
body.kol-home-login-body #masthead,
body.kol-home-login-body #kol-ams-header,
body.kol-home-login-body .kol-ams-header,
body.kol-home-login-body .site-sub-header,
body.kol-home-login-body .site-footer,
body.kol-home-login-body #colophon {
	display: none !important;
}

.kol-home-login,
.kol-home-login * {
	box-sizing: border-box;
}

.kol-home-login {
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax(0, 58%) minmax(360px, 42%);
	grid-template-rows: minmax(0, 1fr) auto;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--kol-home-login-text);
	background: var(--kol-home-login-surface);
}

.kol-home-login__media {
	position: relative;
	min-height: calc(100vh - 86px);
	display: grid;
	place-items: center;
	overflow: hidden;
	background:
		linear-gradient(135deg, var(--kol-home-login-left-start), var(--kol-home-login-left-end)),
		var(--kol-home-login-bg-image, none),
		linear-gradient(135deg, #052e1a, #16a34a);
	background-size: cover;
	background-position: center;
}

.kol-home-login__media-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.34);
}

.kol-home-login__phone-panel {
	position: relative;
	z-index: 1;
	width: min(340px, calc(100vw - 48px));
	display: grid;
	justify-items: center;
	text-align: center;
	color: #ffffff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.kol-home-login__phone-panel h1 {
	margin: 0 0 26px;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 800;
	color: #ffffff !important;
}

.kol-home-login__qr-shell {
	position: relative;
	width: 252px;
	height: 252px;
	display: grid;
	place-items: center;
	padding: 18px;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 18px 48px var(--kol-home-login-shadow);
}

.kol-home-login__qr {
	width: 206px;
	height: 206px;
	display: grid;
	place-items: center;
	color: #102016;
	font-size: 12px;
	text-shadow: none;
}

.kol-home-login__qr canvas,
.kol-home-login__qr table {
	width: 206px !important;
	height: 206px !important;
}

.kol-home-login__qr-mark {
	position: absolute;
	inset: 50% auto auto 50%;
	width: 38px;
	height: 38px;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--kol-home-login-accent);
	color: #ffffff;
	font-size: 20px;
	font-weight: 900;
	line-height: 1;
	text-shadow: none;
	box-shadow: 0 0 0 5px #ffffff;
	overflow: hidden;
}

.kol-home-login__logo-mark-img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	padding: 5px;
	border-radius: 50%;
	background: #ffffff;
}

.kol-home-login__phone-panel p {
	width: min(280px, 100%);
	margin: 28px 0 4px;
	font-size: 16px;
	line-height: 1.28;
	font-weight: 600;
}

.kol-home-login__phone-panel strong {
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: 0;
}

.kol-home-login__form-side {
	min-height: calc(100vh - 86px);
	display: grid;
	place-items: center;
	padding: 56px 30px;
	background: var(--kol-home-login-panel);
}

.kol-home-login__form-panel {
	width: min(680px, 100%);
	display: grid;
	justify-items: center;
}

.kol-home-login__brand-mark {
	min-width: 96px;
	min-height: 58px;
	display: grid;
	place-items: center;
	margin-bottom: 22px;
	border-radius: 8px;
	background: transparent;
	color: var(--kol-home-login-accent);
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
}

.kol-home-login__logo-img {
	width: auto;
	max-width: min(220px, 70vw);
	max-height: 74px;
	display: block;
	object-fit: contain;
}

.kol-home-login__form-panel h2 {
	margin: 0 0 28px;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 800;
	color: var(--kol-home-login-text);
	text-align: center;
}

.kol-home-login__form {
	width: 100%;
	display: grid;
	gap: 16px;
}

.kol-home-login__field {
	position: relative;
	display: block;
	margin: 0;
}

.kol-home-login__field span {
	position: absolute;
	top: 12px;
	left: 21px;
	z-index: 1;
	color: var(--kol-home-login-accent-strong);
	font-size: 15px;
	line-height: 1.1;
	pointer-events: none;
}

.kol-home-login__field input {
	width: 100%;
	height: 76px;
	display: block;
	padding: 28px 20px 10px;
	border: 1px solid var(--kol-home-login-border);
	border-radius: 18px;
	background: var(--kol-home-login-field);
	color: var(--kol-home-login-text);
	font-size: 20px;
	line-height: 1.2;
	outline: none;
	box-shadow: none;
}

.kol-home-login__field input:focus {
	border-color: var(--kol-home-login-accent);
	box-shadow: 0 0 0 1px var(--kol-home-login-accent);
}

.kol-home-login__submit {
	width: 100%;
	min-height: 56px;
	margin-top: 16px;
	border: 0;
	border-radius: 28px;
	background: var(--kol-home-login-accent);
	color: #ffffff;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
}

.kol-home-login__submit:hover,
.kol-home-login__submit:focus-visible {
	background: var(--kol-home-login-accent-strong);
}

.kol-home-login__forgot {
	display: inline-flex;
	margin-top: 28px;
	color: var(--kol-home-login-text);
	font-size: 20px;
	font-weight: 800;
	text-decoration: none;
}

.kol-home-login__forgot:hover {
	text-decoration: underline;
}

.kol-home-login__create {
	width: 100%;
	min-height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 82px;
	border: 1px solid var(--kol-home-login-accent);
	border-radius: 28px;
	color: var(--kol-home-login-accent-strong);
	background: var(--kol-home-login-panel);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}

.kol-home-login__create:hover,
.kol-home-login__create:focus-visible {
	background: var(--kol-home-login-accent-soft);
}

.kol-home-login__meta {
	margin-top: 28px;
	color: var(--kol-home-login-muted);
	font-size: 21px;
	font-weight: 800;
}

.kol-home-login__languages {
	grid-column: 1 / -1;
	min-height: 86px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 28px;
	padding: 18px 24px;
	border-top: 1px solid var(--kol-home-login-border);
	background: var(--kol-home-login-panel);
	color: var(--kol-home-login-muted);
	font-size: 18px;
	line-height: 1.3;
}

.kol-home-login__languages a,
.kol-home-login__languages span {
	color: inherit;
	text-decoration: none;
}

.kol-home-login__languages a:hover,
.kol-home-login__languages a:focus-visible,
.kol-home-login__languages a[aria-current="page"] {
	color: var(--kol-home-login-accent-strong);
	text-decoration: underline;
}

.kol-home-login .kol-login-message,
.kol-home-login .kol-login-errors {
	width: 100%;
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.35;
}

.kol-home-login .kol-login-errors p {
	margin: 0;
}

.kol-home-login .kol-google-login-button,
.kol-home-login .nsl-container,
.kol-home-login [class*="google"] {
	max-width: 100%;
}

@media (max-width: 980px) {
	.kol-home-login {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(0, 1fr) auto;
		background:
			linear-gradient(135deg, var(--kol-home-login-left-start), var(--kol-home-login-left-end)),
			var(--kol-home-login-bg-image, none),
			linear-gradient(135deg, #052e1a, #16a34a);
		background-size: cover;
		background-position: center;
	}

	.kol-home-login__media,
	.kol-home-login__form-side {
		min-height: auto;
	}

	.kol-home-login__media {
		display: none;
	}

	.kol-home-login__form-side {
		min-height: calc(100vh - 68px);
		padding: 42px 18px;
		background: rgba(3, 27, 16, 0.68);
		backdrop-filter: blur(1px);
	}

	body.kol-home-login-body {
		--kol-home-login-text: #ffffff;
		--kol-home-login-muted: rgba(255, 255, 255, 0.78);
		--kol-home-login-panel: rgba(255, 255, 255, 0.92);
		--kol-home-login-field: rgba(255, 255, 255, 0.94);
		--kol-home-login-border: rgba(255, 255, 255, 0.36);
	}

	.kol-home-login__form-panel {
		width: min(680px, 100%);
		padding: 26px 18px;
		border-radius: 8px;
		background: rgba(255, 255, 255, 0.9);
		box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
	}

	.kol-home-login__form-panel h2,
	.kol-home-login__forgot,
	.kol-home-login__meta {
		color: #102016;
	}

	.kol-home-login__field input {
		color: #102016;
	}

	.kol-home-login__create {
		margin-top: 42px;
		background: rgba(255, 255, 255, 0.94);
	}
}

@media (max-width: 560px) {
	.kol-home-login__qr-shell {
		width: 218px;
		height: 218px;
		border-radius: 20px;
	}

	.kol-home-login__qr,
	.kol-home-login__qr canvas,
	.kol-home-login__qr table {
		width: 176px !important;
		height: 176px !important;
	}

	.kol-home-login__field input {
		height: 66px;
		border-radius: 15px;
		font-size: 17px;
	}

	.kol-home-login__submit,
	.kol-home-login__create {
		min-height: 52px;
		font-size: 17px;
	}

	.kol-home-login__forgot {
		font-size: 17px;
	}

	.kol-home-login__languages {
		gap: 16px;
		font-size: 14px;
	}
}
