.w40iq-login-boss-standalone {
	background: #0b0a07;
	margin: 0;
	min-height: 100vh;
}

.w40iq-login-boss-page {
	background: #0b0a07;
	color: #f7edd2;
	min-height: 100vh;
	padding: clamp(24px, 5vw, 64px) 16px;
}

.w40iq-auth-shell {
	align-items: stretch;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
	margin: 0 auto;
	max-width: 1120px;
}

.w40iq-auth-shell-account {
	grid-template-columns: minmax(320px, 620px);
	justify-content: center;
	max-width: 660px;
}

.w40iq-auth-brand,
.w40iq-auth-panel {
	background: linear-gradient(135deg, rgba(58, 36, 18, 0.92), rgba(13, 12, 9, 0.96));
	border: 2px solid #28351b;
	border-radius: 8px;
	box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.34);
	position: relative;
}

.w40iq-auth-brand {
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	padding: clamp(28px, 5vw, 56px);
}

.w40iq-auth-brand::before {
	background:
		linear-gradient(90deg, transparent 0 14px, rgba(109, 252, 0, 0.14) 14px 18px, transparent 18px 32px),
		linear-gradient(0deg, rgba(169, 15, 15, 0.28), transparent 54%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.w40iq-auth-brand > * {
	position: relative;
}

.w40iq-auth-kicker {
	color: #6dfc00;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	margin: 0 0 10px;
}

.w40iq-auth-brand h1 {
	color: #ffffff;
	font-size: clamp(2.1rem, 4vw, 4rem);
	letter-spacing: 0.02em;
	line-height: 0.95;
	margin: 0 0 18px;
	text-shadow: 3px 3px 0 #004f1b;
}

.w40iq-auth-brand p {
	font-size: 1.08rem;
	line-height: 1.55;
	max-width: 56ch;
}

.w40iq-auth-panel {
	padding: clamp(22px, 4vw, 36px);
}

.w40iq-auth-panel h2 {
	color: #f0d9a6;
	font-size: 1.6rem;
	margin: 0 0 18px;
}

.w40iq-auth-form {
	display: grid;
	gap: 16px;
}

.w40iq-auth-form label {
	display: grid;
	gap: 7px;
}

.w40iq-auth-form label span,
.w40iq-account-grid strong {
	color: #f0d9a6;
	font-size: 0.92rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.w40iq-auth-form input[type="text"],
.w40iq-auth-form input[type="email"],
.w40iq-auth-form input[type="password"] {
	background: #16130f;
	border: 1px solid #5b7040;
	border-radius: 5px;
	box-sizing: border-box;
	caret-color: #6dfc00;
	color: #f7edd2 !important;
	color-scheme: dark;
	font: inherit;
	min-height: 46px;
	padding: 10px 12px;
	-webkit-text-fill-color: #f7edd2;
	width: 100%;
}

.w40iq-auth-password {
	color: inherit;
	display: grid;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
	position: relative;
}

.w40iq-auth-password input[type="password"],
.w40iq-auth-password input[type="text"] {
	padding-right: 52px;
}

.w40iq-auth-password-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	height: 36px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
}

.w40iq-auth-password-toggle::before {
	border: 2px solid #f0d9a6;
	border-radius: 999px 55%;
	content: "";
	height: 14px;
	transform: rotate(-18deg);
	width: 24px;
}

.w40iq-auth-password-toggle::after {
	background: #6dfc00;
	border-radius: 50%;
	content: "";
	height: 7px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 7px;
}

.w40iq-auth-password-toggle:hover::before,
.w40iq-auth-password-toggle:focus::before,
.w40iq-auth-password-toggle[aria-pressed="true"]::before {
	border-color: #ffffff;
}

.w40iq-auth-password-toggle:focus {
	box-shadow: 0 0 0 3px rgba(109, 252, 0, 0.18);
	outline: none;
}

.w40iq-auth-confirm-row-hidden {
	display: none !important;
}

.w40iq-screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.w40iq-auth-form input[type="text"]::placeholder,
.w40iq-auth-form input[type="email"]::placeholder,
.w40iq-auth-form input[type="password"]::placeholder {
	color: #b9aa87;
	opacity: 1;
	-webkit-text-fill-color: #b9aa87;
}

.w40iq-auth-form input[type="text"]:hover,
.w40iq-auth-form input[type="email"]:hover,
.w40iq-auth-form input[type="password"]:hover {
	border-color: #7f9b56;
}

.w40iq-auth-form input[type="text"]:focus,
.w40iq-auth-form input[type="email"]:focus,
.w40iq-auth-form input[type="password"]:focus {
	background: #0f0d0a;
	border-color: #6dfc00;
	box-shadow: 0 0 0 3px rgba(109, 252, 0, 0.18);
	color: #ffffff !important;
	outline: none;
	-webkit-text-fill-color: #ffffff;
}

.w40iq-auth-form input[type="text"]:-webkit-autofill,
.w40iq-auth-form input[type="email"]:-webkit-autofill,
.w40iq-auth-form input[type="password"]:-webkit-autofill,
.w40iq-auth-form input[type="text"]:-webkit-autofill:hover,
.w40iq-auth-form input[type="email"]:-webkit-autofill:hover,
.w40iq-auth-form input[type="password"]:-webkit-autofill:hover,
.w40iq-auth-form input[type="text"]:-webkit-autofill:focus,
.w40iq-auth-form input[type="email"]:-webkit-autofill:focus,
.w40iq-auth-form input[type="password"]:-webkit-autofill:focus {
	border-color: #6dfc00;
	box-shadow: 0 0 0 1000px #0f0d0a inset, 0 0 0 3px rgba(109, 252, 0, 0.18);
	caret-color: #6dfc00;
	-webkit-text-fill-color: #ffffff;
	transition: background-color 9999s ease-in-out 0s;
}

.w40iq-auth-check {
	align-items: center;
	display: flex !important;
	gap: 10px;
}

.w40iq-auth-check input {
	accent-color: #6dfc00;
}

.w40iq-auth-hp {
	height: 1px;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.w40iq-auth-button {
	background: linear-gradient(180deg, #6dfc00 0%, #004f1b 99%);
	border: 1px solid #004f1b;
	border-radius: 5px;
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
	color: #ffffff;
	cursor: pointer;
	font-weight: 500;
	letter-spacing: 0.03em;
	min-height: 48px;
	padding: 12px 18px;
	text-decoration: none;
}

.w40iq-auth-button:hover,
.w40iq-auth-button:focus {
	filter: brightness(1.08);
}

.w40iq-auth-button-secondary {
	background: linear-gradient(180deg, #4c4f48 0%, #171814 100%);
	border-color: #6f7568;
}

.w40iq-auth-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-top: 18px;
}

.w40iq-auth-links a,
.w40iq-auth-panel a {
	color: #6dfc00;
}

.w40iq-auth-notice {
	background: rgba(109, 252, 0, 0.1);
	border-left: 4px solid #6dfc00;
	color: #f7edd2;
	margin: 0 0 18px;
	padding: 12px 14px;
}

.w40iq-auth-notice-error {
	background: rgba(169, 15, 15, 0.14);
	border-left-color: #d63638;
}

.w40iq-account-grid {
	display: grid;
	gap: 12px;
	margin: 18px 0;
}

.w40iq-account-grid div {
	background: rgba(11, 10, 7, 0.45);
	border: 1px solid #3d4b2a;
	border-radius: 6px;
	display: grid;
	gap: 5px;
	padding: 12px;
}

.w40iq-auth-logout {
	margin-top: 16px;
}

.w40iq-auth-resend {
	margin-top: 16px;
}

@media (max-width: 1024px) {
	.w40iq-login-boss-page {
		padding: clamp(18px, 5vw, 32px) 14px;
	}

	.w40iq-auth-shell {
		gap: 0;
		grid-template-columns: 1fr;
		justify-content: center;
		max-width: 620px;
	}

	.w40iq-auth-brand {
		display: none;
	}
}
