:root {
	color-scheme: light;
	--auth-green: #073d2e;
	--auth-green-light: #125c42;
	--auth-gold: #e0aa52;
	--auth-ink: #182b25;
	--auth-muted: #718078;
	--auth-line: #dfe9e3;
}


.auth-card {
	width: 100%;
	padding: 34px;
	border: 1px solid var(--auth-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 14px 42px rgb(20 55 38 / 7%);
}

.auth-eyebrow {
	margin: 0 0 9px;
	color: #83958b;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.7px;
}

.auth-card h1 {
	margin: 0 0 8px;
	color: var(--auth-green);
	font-size: clamp(25px, 6vw, 31px);
	font-weight: 750;
	letter-spacing: -.8px;
}

.auth-intro {
	margin: 0 0 24px;
	color: var(--auth-muted);
	font-size: 14px;
	line-height: 1.55;
}

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

.auth-form > label {
	margin-top: 7px;
	color: #35473f;
	font-size: 13px;
	font-weight: 650;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	border: 1px solid #cad9d0;
	border-radius: 8px;
	background: #fff;
	color: var(--auth-ink);
	font: inherit;
	font-size: 15px;
}

.auth-form input:focus-visible {
	border-color: var(--auth-green-light);
	outline: 3px solid rgb(18 92 66 / 15%);
	outline-offset: 1px;
}

.auth-password-field { position: relative; }
.auth-password-field input { padding-right: 68px !important; }

.password-toggle {
	position: absolute;
	right: 7px;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: var(--auth-green-light);
	font-family: inherit;
	font-size: 12px;
	font-weight: 650;
	padding: 7px 8px;
	cursor: pointer;
}

.auth-form-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-top: 15px;
}

.auth-checkbox,
.account-type-options label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #44554d;
	font-size: 13px;
}

.auth-checkbox input,
.account-type-options input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--auth-green);
}

.auth-submit {
	min-height: 46px;
	padding: 0 19px;
	border: 0;
	border-radius: 8px;
	background: var(--auth-green);
	color: #fff;
	font: 700 14px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
}

.auth-submit:hover { background: var(--auth-green-light); }
.auth-submit-wide { width: 100%; margin-top: 12px; }
.auth-submit-link { display: inline-flex; align-items: center; justify-content: center; margin-top: 5px; }

.account-type-options {
	min-width: 0;
	margin: 15px 0 0;
	padding: 0;
	border: 0;
}

.account-type-options legend {
	margin-bottom: 11px;
	color: #35473f;
	font-size: 13px;
	font-weight: 650;
}

.account-type-options label { display: flex; margin: 11px 0; }
.auth-help { margin: 7px 0 3px; color: var(--auth-muted); font-size: 12px; line-height: 1.5; }

.auth-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 18px;
	width: 100%;
	margin-top: 19px;
	font-size: 13px;
}

.auth-links a,
.auth-footer a { color: var(--auth-green); text-underline-offset: 3px; }
.auth-links a:hover,
.auth-footer a:hover { color: var(--auth-green-light); }

.auth-notice,
.auth-errors {
	margin: 0 0 17px;
	padding: 12px 14px;
	border: 1px solid #c9dfd0;
	border-left: 4px solid var(--auth-green-light);
	border-radius: 8px;
	background: #f0f7f2;
	color: #315842;
	font-size: 13px;
	line-height: 1.5;
}

.auth-errors { border-color: #efd3c9; border-left-color: #b65f48; background: #fff5f1; color: #7a3f31; }
.auth-errors ul { margin: 0; padding-left: 19px; }
.auth-errors li + li { margin-top: 5px; }

.auth-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 22px;
	width: 100%;
	margin-top: 24px;
	font-size: 12px;
}

.account-auth-card { margin-bottom: 18px; }

@media (max-width: 520px) {
	.auth-card { padding: 25px 21px; border-radius: 13px; }
	.auth-form-row { align-items: stretch; flex-direction: column; }
	.auth-submit { min-height: 48px; }
}
