.auth-body {
	min-height: 100vh;
	background: #f6faf8;
}

.auth-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding: 30px;
}

.auth-logo {
	display: inline-flex;
	width: 178px;
	margin-bottom: 42px;
}

.auth-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.auth-shell {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(360px, 440px);
	align-items: center;
	gap: 64px;
	width: min(100%, 1040px);
	margin: auto;
}

.auth-intro h1 {
	max-width: 590px;
	margin: 0;
	color: var(--navy);
	font-size: 44px;
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: 0;
}

.auth-intro p:not(.section-eyebrow) {
	max-width: 560px;
	margin: 24px 0 0;
	color: #445064;
	font-size: 17px;
	line-height: 1.7;
}

.auth-survey-code-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	max-width: 430px;
	margin-top: 34px;
	padding: 14px 16px;
	border: 1px solid rgba(21, 148, 71, 0.24);
	border-radius: 8px;
	background: #ffffff;
	color: #445064;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	text-decoration: none;
	box-shadow: 0 14px 30px rgba(9, 25, 54, 0.08);
}

.auth-survey-code-link > i:first-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: var(--green-soft);
	color: var(--green);
}

.auth-survey-code-link span {
	min-width: 0;
}

.auth-survey-code-link strong {
	display: block;
	color: var(--navy);
	font-size: 15px;
	font-weight: 900;
}

.auth-survey-code-link:hover,
.auth-survey-code-link:focus {
	border-color: rgba(21, 148, 71, 0.44);
	color: #445064;
	text-decoration: none;
	box-shadow: 0 0 0 3px rgba(21, 148, 71, 0.12), 0 18px 36px rgba(9, 25, 54, 0.10);
}

.auth-panel {
	width: 100%;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 22px 54px rgba(9, 25, 54, 0.10);
}

.auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin-bottom: 18px;
	padding: 5px;
	border: 1px solid #dce6e1;
	border-radius: 8px;
	background: #f7fbf9;
}

.auth-tab {
	min-height: 42px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #516071;
	font-size: 14px;
	font-weight: 900;
}

.auth-tab.is-active {
	background: #ffffff;
	color: var(--navy);
	box-shadow: 0 8px 20px rgba(9, 25, 54, 0.08);
}

.auth-alert {
	display: none;
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.auth-alert.is-visible {
	display: block;
}

.auth-alert.is-error {
	border: 1px solid #ffd2d2;
	background: #fff4f4;
	color: #9b1c1c;
}

.auth-alert.is-success {
	border: 1px solid rgba(21, 148, 71, 0.22);
	background: var(--green-soft);
	color: #0f6f35;
}

.auth-social {
	display: grid;
	gap: 10px;
	margin-bottom: 16px;
}

.auth-social[hidden],
.auth-divider[hidden],
.auth-verification[hidden],
.auth-provider-button[hidden] {
	display: none !important;
}

.auth-provider-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid #747775;
	border-radius: 4px;
	background: #ffffff;
	color: #1f1f1f;
	font-size: 14px;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
}

.auth-provider-button:hover,
.auth-provider-button:focus {
	border-color: #747775;
	background: #f8fafd;
	color: #1f1f1f;
	box-shadow: 0 1px 4px rgba(60, 64, 67, 0.24);
}

.auth-provider-button:active {
	background: #f1f3f4;
}

.auth-provider-button .provider-logo-svg {
	position: absolute;
	left: 14px;
	width: 20px;
	height: 20px;
}

.auth-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	color: #748195;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e1ebe6;
}

.auth-verification {
	margin-bottom: 16px;
	padding: 14px;
	border: 1px solid rgba(21, 148, 71, 0.22);
	border-radius: 8px;
	background: var(--green-soft);
}

.auth-verification p {
	margin: 0 0 12px;
	color: #0f5132;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
}

.auth-verification .btn-outline-success {
	min-height: 44px;
	border-color: rgba(21, 148, 71, 0.5);
	color: #0f6f35;
	font-weight: 900;
}

.auth-form {
	display: none;
}

.auth-form.is-active {
	display: block;
}

.auth-form label {
	color: #223049;
	font-size: 13px;
	font-weight: 900;
}

.helper-icon {
	margin-left: 6px;
	color: #748195;
	cursor: help;
}

.auth-form .form-control {
	min-height: 48px;
	border-color: #d9e4df;
	border-radius: 7px;
	color: var(--navy);
	font-weight: 700;
}

.auth-form .form-control:focus {
	border-color: rgba(21, 148, 71, 0.6);
	box-shadow: 0 0 0 3px rgba(21, 148, 71, 0.14);
}

.auth-form .btn-green {
	min-height: 48px;
	margin-top: 8px;
}

.auth-form .btn[disabled] {
	cursor: wait;
	opacity: 0.72;
}

.auth-link-button {
	margin-top: 10px;
	color: #516071;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.auth-link-button:hover,
.auth-link-button:focus {
	color: var(--green);
	text-decoration: none;
}

@media (max-width: 900px) {
	.auth-page {
		padding: 22px;
	}

	.auth-shell {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-top: 0;
	}

	.auth-intro h1 {
		max-width: 520px;
		font-size: 36px;
	}
}

@media (max-width: 520px) {
	.auth-page {
		padding: 18px;
	}

	.auth-logo {
		width: 154px;
		margin-bottom: 28px;
	}

	.auth-intro h1 {
		font-size: 30px;
	}

	.auth-intro p:not(.section-eyebrow) {
		font-size: 16px;
	}

	.auth-survey-code-link {
		width: 100%;
		max-width: none;
	}

	.auth-panel {
		padding: 20px;
	}
}
