@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,800;1,800&display=swap');

/* -------------------------------------------------------------------------
 * GEA brand tokens
 * ---------------------------------------------------------------------- */
:root {
	--gea-teal:    #004154;
	--gea-lime:    #BAD904;
	--gea-magenta: #B2129A;
	--gea-red:     #FE3E2C;
	--gea-orange:  #FF900F;
	--gea-white:   #FFFFFF;
	--gea-black:   #000000;

	--gea-text-body: #676767;
	--gea-text-meta: #888888;

	--gea-field-bg: rgba(0, 0, 0, 0.043);

	--gea-font: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;

	--gea-radius-btn: 10px;
	--gea-radius-small: 3px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	min-height: 100%;
}

body.gea-auth-body {
	font: 500 16px/1.6 var(--gea-font);
	color: var(--gea-text-body);
	background: var(--gea-white);
	-webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------------------------
 * 60/40 split
 * ---------------------------------------------------------------------- */
.gea-auth {
	display: flex;
	min-height: 100vh;
}

.gea-auth__brand {
	position: relative;
	width: 60%;
	background: var(--gea-teal);
	color: var(--gea-white);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(32px, 6vw, 90px);
	padding-bottom: clamp(80px, 9vw, 140px);
	overflow: hidden;
}

.gea-auth__brand.has-photo {
	background-size: cover;
	background-position: center;
}

/* Vertical sound bars descending from the top edge */
.gea-bars {
	position: absolute;
	top: 0;
	left: clamp(24px, 6vw, 90px);
	display: flex;
	gap: 6px;
}

.gea-bars span {
	display: block;
	width: clamp(30px, 4vw, 72px);
}

.gea-bars span:nth-child(1) { background: var(--gea-lime);    height: clamp(90px, 12vw, 180px); }
.gea-bars span:nth-child(2) { background: var(--gea-red);     height: clamp(150px, 21vw, 320px); }
.gea-bars span:nth-child(3) { background: var(--gea-magenta); height: clamp(115px, 16vw, 240px); }
.gea-bars span:nth-child(4) { background: var(--gea-orange);  height: clamp(60px, 8vw, 120px); }

/* There is always a star */
.gea-star {
	position: absolute;
	top: 27%;
	right: 9%;
	color: var(--gea-lime);
	font-size: clamp(28px, 3vw, 46px);
	line-height: 1;
	transform: rotate(-12deg);
}

.gea-auth__brand-inner {
	position: relative;
	max-width: 640px;
}

.gea-auth__brand-logo {
	display: block;
	width: min(340px, 70%);
	height: auto;
	margin-bottom: clamp(24px, 3vw, 48px);
}

.gea-brand-head {
	font-weight: 800;
	letter-spacing: -1px;
	color: var(--gea-white);
	font-size: clamp(34px, 3.4vw, 58px);
	line-height: 1.12;
	margin-bottom: 14px;
}

.gea-brand-head .dot {
	color: var(--gea-lime);
}

.gea-brand-copy {
	color: var(--gea-white);
	font-size: clamp(16px, 1.2vw, 19px);
	max-width: 32em;
}

/* Four colour stripe along the bottom edge */
.gea-stripe {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 32px;
	background: linear-gradient(90deg,
		#B2129A 0 25%,
		#FE3E2C 25% 50%,
		#FF900F 50% 75%,
		#BAD904 75% 100%);
}

/* Fallback wordmark if the logo image is missing */
.gea-logo-fallback {
	display: inline-flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: clamp(24px, 3vw, 48px);
}

.gea-logo-fallback .bar {
	align-self: flex-start;
	background: var(--gea-white);
	color: var(--gea-teal);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 21px;
	line-height: 1.1;
	padding: 5px 14px;
}

.gea-logo-fallback .b1 { transform: rotate(-4deg); }
.gea-logo-fallback .b2 { transform: rotate(-2deg); margin-left: 12px; }
.gea-logo-fallback .b3 { transform: rotate(-5deg); margin-left: 30px; }
.gea-logo-fallback .star { font-style: normal; margin-left: 4px; }

/* -------------------------------------------------------------------------
 * Form panel (40%)
 * ---------------------------------------------------------------------- */
.gea-auth__panel {
	width: 40%;
	background: var(--gea-white);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 4vw, 64px);
}

.gea-auth__inner {
	width: 100%;
	max-width: 430px;
}

.gea-panel-star {
	display: block;
	width: 34px;
	height: auto;
	margin-bottom: 22px;
	transform: rotate(-8deg);
}

.gea-panel-star--glyph {
	width: auto;
	color: var(--gea-teal);
	font-size: 30px;
	line-height: 1;
}

.gea-tabs {
	display: flex;
	gap: 26px;
	margin-bottom: 12px;
}

.gea-tabs a {
	font-weight: 600;
	font-size: 17px;
	color: var(--gea-text-meta);
	text-decoration: none;
	padding-bottom: 6px;
	border-bottom: 3px solid transparent;
	transition: color 0.25s;
}

.gea-tabs a:hover {
	color: var(--gea-magenta);
}

.gea-tabs a.is-active {
	color: var(--gea-teal);
	border-bottom-color: var(--gea-teal);
}

.gea-head {
	font-weight: 800;
	letter-spacing: -1px;
	color: var(--gea-teal);
	font-size: clamp(30px, 2.4vw, 40px);
	line-height: 1.15;
	margin: 8px 0 22px;
}

.gea-head .dot {
	color: var(--gea-lime);
}

.gea-lead {
	font-size: 15px;
	margin: -8px 0 20px;
}

/* Notices: flat colour blocks, no borders */
.gea-notice {
	padding: 14px 16px;
	border-radius: var(--gea-radius-small);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.45;
	margin-bottom: 18px;
}

.gea-notice p {
	margin: 0;
}

.gea-notice p + p {
	margin-top: 6px;
}

.gea-notice--error {
	background: var(--gea-red);
	color: var(--gea-white);
}

.gea-notice--success {
	background: var(--gea-lime);
	color: var(--gea-teal);
}

/* Fields: tinted background is the field, flat, no borders */
.gea-field {
	margin-bottom: 16px;
}

.gea-field label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: var(--gea-teal);
	margin-bottom: 6px;
}

.gea-field input,
.gea-field select {
	width: 100%;
	height: 49px;
	box-sizing: border-box;
	font: 500 16px var(--gea-font);
	color: var(--gea-teal);
	background: var(--gea-field-bg);
	border: 2px solid transparent;
	border-radius: var(--gea-radius-small);
	padding: 0 14px;
	outline: none;
	transition: border-color 0.2s, background 0.2s;
}

.gea-field input::placeholder {
	color: var(--gea-text-meta);
}

.gea-field input:focus {
	background: var(--gea-white);
	border-color: var(--gea-teal);
}

.gea-field select {
	cursor: pointer;
	-webkit-appearance: menulist;
	appearance: menulist;
}

.gea-field select:focus {
	background: var(--gea-white);
	border-color: var(--gea-teal);
}

.gea-grid2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 14px;
}

.gea-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin: 2px 0 20px;
	font-size: 14px;
}

.gea-check {
	display: flex;
	gap: 8px;
	align-items: center;
	font-weight: 500;
	color: var(--gea-text-body);
	cursor: pointer;
}

.gea-check input {
	width: 16px;
	height: 16px;
	accent-color: var(--gea-teal);
}

a.gea-link {
	color: var(--gea-teal);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.25s;
}

a.gea-link:hover {
	color: var(--gea-magenta);
}

a.gea-link:focus-visible,
.gea-tabs a:focus-visible {
	outline: 2px solid var(--gea-teal);
	outline-offset: 2px;
}

/* The signature button: lime, teal text, magenta hover. Always. */
.gea-btn {
	display: block;
	width: 100%;
	background: var(--gea-lime);
	color: var(--gea-teal);
	border: none;
	cursor: pointer;
	font: 800 20px/1.1 var(--gea-font);
	letter-spacing: -0.5px;
	padding: 15px 20px;
	border-radius: var(--gea-radius-btn);
	transition: background 0.25s, color 0.25s;
}

.gea-btn:hover {
	background: var(--gea-magenta);
	color: var(--gea-white);
}

.gea-btn:focus-visible {
	outline: 3px solid var(--gea-teal);
	outline-offset: 2px;
}

a.gea-btn--link {
	text-decoration: none;
	text-align: center;
}

.gea-btn--inline {
	display: inline-block;
	width: auto;
	font-size: 17px;
	padding: 12px 22px;
}

/* Consent boxes */
.gea-consent {
	margin: 4px 0 20px;
}

.gea-check--block {
	align-items: flex-start;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.gea-check--block input {
	margin-top: 3px;
	flex-shrink: 0;
}

.gea-required {
	color: var(--gea-red);
	font-weight: 600;
	font-size: 12px;
}

.gea-optional-note {
	color: var(--gea-text-meta);
	font-size: 12px;
}

.gea-inline-link {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	font-weight: 600;
	color: var(--gea-teal);
	text-decoration: underline;
	cursor: pointer;
	transition: color 0.2s;
}

.gea-inline-link:hover {
	color: var(--gea-magenta);
}

/* Terms modal */
.gea-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 65, 84, 0.78);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.gea-modal[hidden] {
	display: none;
}

.gea-modal__box {
	background: var(--gea-white);
	width: min(680px, 100%);
	max-height: calc(100vh - 60px);
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	overflow: hidden;
}

.gea-modal__box header {
	background: var(--gea-teal);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
}

.gea-modal__box header h2 {
	margin: 0;
	color: var(--gea-white);
	font-weight: 800;
	letter-spacing: -0.5px;
	font-size: 22px;
}

.gea-modal__box header h2 .dot {
	color: var(--gea-lime);
}

.gea-modal__close {
	background: none;
	border: none;
	color: var(--gea-white);
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
	padding: 6px 8px;
	transition: color 0.2s;
}

.gea-modal__close:hover {
	color: var(--gea-lime);
}

.gea-modal__body {
	padding: 20px 24px;
	overflow: auto;
	font-size: 14px;
	line-height: 1.6;
	color: var(--gea-text-body);
}

.gea-modal__body h3 {
	color: var(--gea-teal);
	font-weight: 800;
	letter-spacing: -0.3px;
	font-size: 16px;
	margin: 18px 0 6px;
}

.gea-modal__body h3:first-of-type {
	margin-top: 4px;
}

.gea-modal__body p {
	margin: 0 0 10px;
}

.gea-terms-meta {
	color: var(--gea-text-meta);
	font-size: 12px;
}

.gea-modal__box footer {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 24px 20px;
	border-top: 1px solid #f0f0f1;
}

.gea-modal__cancel {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	font-weight: 600;
	color: var(--gea-text-meta);
	cursor: pointer;
}

.gea-modal__cancel:hover {
	color: var(--gea-magenta);
}

.gea-alt {
	margin-top: 22px;
	font-size: 15px;
}

.gea-arrows {
	letter-spacing: 1px;
}

/* Honeypot: parked far off canvas */
.gea-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
}

/* Phone: country code beside the number */
.gea-phone {
	display: flex;
	gap: 8px;
}

.gea-phone {
	align-items: stretch;
}

.gea-phone .gea-dial-wrap {
	position: relative;
	display: flex;
	flex-shrink: 0;
	width: 42%;
	min-width: 0;
}

.gea-phone select.gea-dial {
	width: 100%;
	height: 49px;
	box-sizing: border-box;
	font: 500 15px var(--gea-font);
	color: var(--gea-teal);
	background: var(--gea-field-bg);
	border: 2px solid transparent;
	border-radius: var(--gea-radius-small);
	padding: 0 10px;
	outline: none;
	cursor: pointer;
	min-width: 0;
	text-overflow: ellipsis;
	transition: border-color 0.2s, background 0.2s;
	-webkit-appearance: menulist;
	appearance: menulist;
}

.gea-phone input {
	height: 49px;
	box-sizing: border-box;
}

.gea-phone select.gea-dial:focus {
	background: var(--gea-white);
	border-color: var(--gea-teal);
}

.gea-phone select.gea-dial.is-invalid {
	border-color: var(--gea-red);
	background: rgba(254, 62, 44, 0.06);
}

.gea-phone input {
	flex: 1;
	min-width: 0;
}

/* Desktop: closed control shows only flag and dial code. The select
 * text is hidden and a compact display sits over it; the select still
 * receives the click, so the full list opens with names. */
.gea-dial-display {
	display: none;
}

@media (min-width: 901px) {
	.gea-phone .gea-dial-wrap {
		width: 118px;
	}

	.gea-field .gea-phone select.gea-dial,
	.gea-phone select.gea-dial {
		color: transparent !important;
		text-shadow: none !important;
		-webkit-text-fill-color: transparent;
	}

	.gea-phone select.gea-dial option {
		color: var(--gea-teal);
		-webkit-text-fill-color: var(--gea-teal);
	}

	.gea-phone .gea-dial-display {
		display: flex;
		align-items: center;
		gap: 6px;
		position: absolute;
		inset: 0;
		padding: 0 26px 0 12px;
		font: 600 15px var(--gea-font);
		color: var(--gea-teal);
		pointer-events: none;
		white-space: nowrap;
	}

	.gea-phone .gea-dial-flag {
		font-size: 18px;
		line-height: 1;
	}
}

/* Country select: flag-left display over the native select */
.gea-field .gea-country-wrap {
	position: relative;
	display: block;
}

.gea-field select.gea-country {
	color: transparent !important;
	text-shadow: none !important;
	-webkit-text-fill-color: transparent;
}

.gea-field select.gea-country option {
	color: var(--gea-teal);
	-webkit-text-fill-color: var(--gea-teal);
}

.gea-country-display {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 34px 0 14px;
	font: 500 15px var(--gea-font);
	color: var(--gea-teal);
	pointer-events: none;
	white-space: nowrap;
	overflow: hidden;
}

.gea-country-display.is-empty {
	color: #999;
}

.gea-country-flag {
	font-size: 18px;
	line-height: 1;
}

/* Company name suggestions */
.gea-field--suggest {
	position: relative;
}

.gea-suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 20;
	margin: 4px 0 0;
	padding: 6px 0;
	list-style: none;
	background: var(--gea-white);
	border: 2px solid var(--gea-teal);
	border-radius: var(--gea-radius-small);
	max-height: 260px;
	overflow-y: auto;
}

.gea-suggest[hidden] {
	display: none;
}

.gea-suggest li {
	padding: 10px 14px;
	font-weight: 500;
	font-size: 15px;
	color: var(--gea-teal);
	cursor: pointer;
}

.gea-suggest li strong {
	font-weight: 800;
}

.gea-suggest li:hover,
.gea-suggest li.is-active {
	background: var(--gea-lime);
}

/* Invalid fields after a failed submit: findable while scrolling. */
.gea-field input.is-invalid,
.gea-field select.is-invalid {
	border-color: var(--gea-red);
	background: rgba(254, 62, 44, 0.06);
}

.gea-check.is-invalid span {
	color: var(--gea-red);
}

/* -------------------------------------------------------------------------
 * Mobile: traditional stacked layout
 * ---------------------------------------------------------------------- */
@media (max-width: 900px) {
	.gea-auth {
		flex-direction: column;
	}

	.gea-auth__brand {
		width: 100%;
		min-height: 240px;
		justify-content: center;
		padding: 110px 24px 56px;
	}

	.gea-bars {
		left: 24px;
		gap: 4px;
	}

	.gea-bars span {
		width: 26px;
	}

	.gea-bars span:nth-child(1) { height: 56px; }
	.gea-bars span:nth-child(2) { height: 96px; }
	.gea-bars span:nth-child(3) { height: 74px; }
	.gea-bars span:nth-child(4) { height: 40px; }

	.gea-auth__brand-logo {
		width: min(240px, 80%);
		margin-bottom: 18px;
	}

	.gea-brand-head {
		font-size: 28px;
	}

	.gea-brand-copy {
		display: none;
	}

	.gea-star {
		top: 18%;
		right: 7%;
		font-size: 26px;
	}

	.gea-stripe {
		height: 16px;
	}

	.gea-auth__panel {
		width: 100%;
		padding: 32px 20px 64px;
	}

	.gea-grid2 {
		grid-template-columns: 1fr;
	}

	/* Finger sized controls: everything tappable is at least 44px. */
	.gea-tabs a {
		padding: 12px 0 10px;
		font-size: 18px;
	}

	.gea-check {
		gap: 12px;
		min-height: 44px;
		align-items: center;
	}

	.gea-check--block {
		align-items: flex-start;
		padding: 8px 0;
		margin-bottom: 4px;
		font-size: 15px;
	}

	.gea-check input[type="checkbox"] {
		width: 24px;
		height: 24px;
		flex-shrink: 0;
		margin-top: 0;
	}

	.gea-check--block input[type="checkbox"] {
		margin-top: 2px;
	}

	.gea-inline-link {
		display: inline-block;
		padding: 8px 2px;
		margin: -8px -2px;
		font-size: 15px;
	}

	.gea-row {
		flex-wrap: wrap;
		gap: 4px 12px;
	}

	.gea-row a.gea-link,
	.gea-alt a.gea-link {
		display: inline-block;
		padding: 12px 0;
	}

	.gea-alt {
		margin-top: 12px;
	}
}

/* Sector picker: toggle buttons that light up lime when selected. */
.gea-label { display: block; font-weight: 700; font-size: 14px; color: var(--gea-teal, #004154); margin: 0 0 8px; }
.gea-sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.gea-sectors.is-invalid .gea-sector { border-color: #FE3E2C; }
.gea-sector { position: relative; cursor: pointer; }
.gea-sector input { position: absolute; opacity: 0; pointer-events: none; }
.gea-sector span {
	display: inline-block;
	padding: 12px 22px;
	border: 2px solid var(--gea-teal, #004154);
	border-radius: 10px;
	font-weight: 800;
	font-size: 15px;
	color: var(--gea-teal, #004154);
	background: transparent;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
	user-select: none;
}
.gea-sector:hover span { border-color: var(--gea-magenta, #B2129A); color: var(--gea-magenta, #B2129A); }
.gea-sector.is-on span { background: var(--gea-lime, #BAD904); border-color: var(--gea-lime, #BAD904); color: var(--gea-teal, #004154); }
.gea-sector input:focus-visible + span { outline: 3px solid var(--gea-magenta, #B2129A); outline-offset: 2px; }

/* Show/hide password toggle */
.gea-passwrap { position: relative; display: block; }
.gea-passwrap input { width: 100%; padding-right: 52px; }
.gea-passtoggle {
	position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px;
	background: transparent; color: var(--gea-teal, #004154); cursor: pointer;
}
.gea-passtoggle:hover { color: var(--gea-magenta, #B2129A); }
.gea-passtoggle:focus-visible { outline: 3px solid var(--gea-magenta, #B2129A); outline-offset: 1px; }
/* The hidden attribute alone does not hide SVG elements in every browser. */
.gea-passtoggle svg[hidden] { display: none; }
