/*
 * Sign-up, log-in, forgot-password and new-password pages, as prototype v3.2 (.auth, .auth-card, .fld, .row2, .hint, .chk, .radios, .cfld/.cl/.cpick,
 * .note, .btn).
 * Colours, sizes and radii from the prototype; fonts are the site's (PM 2026-11-10): text Arial, heading Funnel Display.
 * Everything is scoped to .wds-auth (the page's <main>), so no other page is touched.
 */
.wds-auth {
	--wds-teal: #007885;
	--wds-teal-ink: #005a64;
	--wds-teal-50: #e6f2f3;
	--wds-green: #66b22e;
	--wds-ink: #102a33;
	--wds-ink-2: #4a5d64;
	--wds-ink-3: #74858b;
	--wds-line: #e1e8e9;
	--wds-bg: #f5f7f6;
	--wds-danger: #c4381f;
	--wds-line-2: #eef2f2;
	--wds-amber-50: #fdf3dd;
	--wds-green-50: #eef7e6;
	--wds-green-ink: #3f7a14;
	--wds-shadow: 0 1px 2px rgba(5, 45, 61, .06), 0 4px 16px rgba(5, 45, 61, .06);
	--wds-shadow-lg: 0 18px 48px rgba(5, 45, 61, .18);
	--wds-focus: 0 0 0 3px rgba(0, 120, 133, .35);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--wds-ink);
}

.wds-auth *,
.wds-auth *::before,
.wds-auth *::after {
	box-sizing: border-box;
}

.wds-auth .auth {
	display: flex;
	justify-content: center;
	padding: 40px 16px 60px;
	background: var(--wds-bg);
}

.wds-auth .auth-card {
	display: grid;
	gap: 12px;
	width: 100%;
	max-width: 620px;
	margin: 0;
	padding: 28px;
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--wds-shadow);
}

.wds-auth .auth-card.narrow {
	max-width: 420px;
}

.wds-auth .auth-card h1 {
	margin: 0;
	font-family: "Funnel Display", sans-serif;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: var(--wds-ink);
}

.wds-auth .auth-card .lead {
	margin: -4px 0 4px;
	font-size: 15px;
	color: var(--wds-ink-2);
}

.wds-auth .row2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	gap: 12px;
}

.wds-auth .fld {
	position: relative;
	display: grid;
	gap: 4px;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--wds-ink-2);
}

.wds-auth .fld > span,
.wds-auth .fld > label {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--wds-ink-2);
}

.wds-auth .fld input:not([type="radio"]),
.wds-auth .fld select {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 11px 12px;
	font: inherit;
	font-size: 15px;
	font-weight: 400;
	color: var(--wds-ink);
	background: #fff;
	border: 1px solid #c9d6d8;
	border-radius: 10px;
	box-shadow: none;
}

.wds-auth .fld input:not([type="radio"]):focus,
.wds-auth .fld select:focus {
	outline: none;
	border-color: var(--wds-teal);
	box-shadow: var(--wds-focus);
}

.wds-auth .fld.bad input:not([type="radio"]),
.wds-auth .fld.bad select {
	border-color: var(--wds-danger);
}

.wds-auth .fld em,
.wds-auth .err {
	font-size: 12.5px;
	font-style: normal;
	font-weight: 500;
	color: var(--wds-danger);
}

.wds-auth .hint {
	margin: -6px 0 2px;
	font-size: 12.5px;
	color: var(--wds-ink-3);
}

.wds-auth .radios {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wds-auth .radios label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin: 0;
	padding: 9px 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--wds-ink);
	border: 1px solid #c9d6d8;
	border-radius: 10px;
}

.wds-auth .radios input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--wds-teal);
}

.wds-auth .fld.bad .radios label {
	border-color: var(--wds-danger);
}

.wds-auth .chk {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	color: var(--wds-ink);
}

.wds-auth .chk input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--wds-teal);
}

.wds-auth .chk.bad span {
	color: var(--wds-danger);
}

.wds-auth .chk a {
	color: var(--wds-teal-ink);
	text-decoration: underline;
}

.wds-auth .chk i {
	font-style: normal;
	color: var(--wds-ink-3);
}

.wds-auth .note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	font-size: 13px;
	color: var(--wds-ink-2);
	background: var(--wds-line-2);
	border-radius: 12px;
}

.wds-auth .note svg {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	color: var(--wds-ink-3);
}

.wds-auth .note.warn {
	color: #6b4700;
	background: var(--wds-amber-50);
}

.wds-auth .note.warn svg {
	color: #b57900;
}

.wds-auth .note.ok {
	color: var(--wds-green-ink);
	background: var(--wds-green-50);
}

.wds-auth .note.ok svg {
	color: var(--wds-green-ink);
}

.wds-auth .hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.wds-auth .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 18px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	background: var(--wds-green);
	border: 1.5px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	transition: transform .1s, background .15s;
}

.wds-auth .btn:hover {
	background: #57991f;
}

.wds-auth .btn:active {
	transform: translateY(1px);
}

.wds-auth .btn.block {
	width: 100%;
}

.wds-auth .alt {
	margin: 2px 0;
	font-size: 14px;
	text-align: center;
}

.wds-auth a {
	color: var(--wds-teal);
}

/* Country type-ahead (assets/country-field.js) = prototype .cl, .cl-o, .cl-h, .cpick. */
.wds-auth select.wds-country[hidden],
.wds-auth .wds-country-field [hidden] {
	display: none;
}

.wds-auth .wds-country-list {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 20;
	max-height: 260px;
	padding: 4px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--wds-line);
	border-radius: 10px;
	box-shadow: var(--wds-shadow-lg);
}

.wds-auth .wds-country-field {
	position: relative;
}

.wds-auth .wds-country-option {
	display: block;
	width: 100%;
	min-height: 40px;
	padding: 10px;
	font-size: 15px;
	font-weight: 500;
	text-align: left;
	color: var(--wds-ink);
	border-radius: 8px;
	cursor: pointer;
}

.wds-auth .wds-country-option:hover,
.wds-auth .wds-country-option[aria-selected="true"] {
	background: var(--wds-teal-50);
}

.wds-auth .wds-country-heading {
	padding: 6px 10px 2px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--wds-ink-3);
}

.wds-auth .wds-country-picked {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	padding: 9px 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--wds-ink);
	background: var(--wds-teal-50);
	border: 1px solid var(--wds-teal);
	border-radius: 10px;
}

.wds-auth .wds-country-picked b {
	font-weight: 500;
}

.wds-auth .wds-country-clear {
	padding: 4px 0;
	font-size: 18px;
	line-height: 1;
	color: var(--wds-ink-3);
	background: none;
	border: 0;
	cursor: pointer;
}

/* Phone (prototype .m): one column, smaller paddings. */
@media (max-width: 600px) {
	.wds-auth .auth {
		padding: 16px 12px 40px;
	}

	.wds-auth .auth-card {
		padding: 20px 16px;
	}

	.wds-auth .row2 {
		grid-template-columns: 1fr;
	}

	/* iPhone Safari zooms into a field whose text is smaller than 16 px. */
	.wds-auth .fld input:not([type="radio"]),
	.wds-auth .fld select {
		font-size: 16px;
	}
}
