/* Point Consulting Login and Register pages: dark navy backdrop, intro panel on the left and a cream card with the form on the right.
   Elementor classes: pcsi-main (section), pcsi-intro (left column), pcsi-card (form column), pcsi-sub, pcsi-links (login), pcsu-main, pcsu-login-q/-a (register). The form widgets themselves are untouched. */

body.pc-auth {
	--pcsi-bg: #1F2133;
	--pcsi-bg-light: #282C45;
	--pcsi-navy: #16224F;
	--pcsi-gold: #2563C9;
	--pcsi-gold-hover: #1A4FA8;
	--pcsi-gold-bright: #8DB4F7;
	--pcsi-tile: #343D4B;
	--pcsi-card: #EAEEF4;
	--pcsi-card-line: #BFCEE9;
	--pcsi-field-line: #D0D4DC;
	--pcsi-text: #5E616E;
	--pcsi-placeholder: #8C8478;
	--pcsi-font: "Manrope", "Heebo", sans-serif;
	background:
		radial-gradient(120% 70% at 30% 40%, var(--pcsi-bg-light), transparent 70%),
		var(--pcsi-bg);
	background-attachment: fixed;
}

body.pc-auth [data-elementor-type="wp-page"] :is(p, span, strong, label, input, button, a, .elementor-heading-title) {
	font-family: var(--pcsi-font) !important;
}

/* ---------- Layout ---------- */

body.pc-auth .pcsi-main {
	min-height: 0 !important;
	margin: 0 !important;
	padding: 40px 24px 96px !important; /* plus the header height, added to the container by pc-header */
	background: transparent !important;
	box-shadow: none !important;
}

body.pc-auth .pcsi-main > .elementor-container {
	max-width: 1152px !important; /* same line as the header logo and burger */
	min-height: 0 !important;
	align-items: center;
	gap: 72px;
}

body.pc-auth .pcsi-main > .elementor-container > .elementor-column {
	width: auto !important;
	flex: 1 1 0;
	min-width: 0;
}

body.pc-auth .pcsi-main > .elementor-container > .elementor-column > .elementor-widget-wrap {
	padding: 0;
}

/* ---------- Intro panel ---------- */

body.pc-auth .pcsi-intro-inner {
	color: #fff;
}

body.pc-auth .pcsi-brand {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 40px;
}

body.pc-auth .pcsi-brand-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	background: var(--pcsi-tile);
	color: var(--pcsi-gold-bright);
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
}

body.pc-auth .pcsi-brand strong {
	display: block;
	font-size: 34px;
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
}

body.pc-auth .pcsi-brand span:not(.pcsi-brand-mark) {
	display: block;
	margin-top: 4px;
	font-size: 19px;
	color: rgba(255, 255, 255, 0.82);
}

body.pc-auth .pcsi-title {
	margin: 0 0 28px;
	font-size: 54px;
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	overflow-wrap: break-word;
	hyphens: auto; /* long German words */
}

body.pc-auth .pcsi-lead {
	margin: 0;
	padding-bottom: 52px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 28px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.85);
}

body.pc-auth .pcsi-features {
	display: grid;
	gap: 30px;
	margin: 52px 0 0;
	padding: 0;
	list-style: none;
}

body.pc-auth .pcsi-features li {
	display: flex;
	align-items: center;
	gap: 18px;
}

body.pc-auth .pcsi-check {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 62px;
	height: 62px;
	background: var(--pcsi-tile);
}

body.pc-auth .pcsi-check svg {
	width: 26px;
	height: 26px;
}

body.pc-auth .pcsi-check circle {
	fill: var(--pcsi-gold-bright);
}

body.pc-auth .pcsi-check path {
	fill: none;
	stroke: var(--pcsi-tile);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.pc-auth .pcsi-features strong {
	display: block;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

body.pc-auth .pcsi-features li > div > span {
	display: block;
	font-size: 20px;
	color: rgba(255, 255, 255, 0.85);
}

/* ---------- Card ---------- */

body.pc-auth .pcsi-card > .elementor-widget-wrap {
	padding: 64px 64px 56px !important;
	background: var(--pcsi-card);
	border: 2px solid var(--pcsi-card-line);
	border-radius: 0 !important;
	box-shadow: 0 30px 60px rgba(8, 10, 24, 0.35);
}

body.pc-auth .pcsi-card .elementor-widget:not(:last-child) {
	margin-bottom: 0;
}

body.pc-auth .pcsi-card .elementor-widget-heading .elementor-heading-title {
	padding: 0;
	font-size: 46px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--pcsi-navy) !important;
	text-align: center;
}

body.pc-auth .pcsi-card .elementor-widget-heading .elementor-widget-container {
	padding: 0 !important;
}

body.pc-auth .pcsi-sub p {
	margin: 14px 0 40px;
	font-size: 24px;
	line-height: 1.4 !important;
	color: var(--pcsi-text);
	text-align: center;
}

/* Longer subtitles (Forgot / Change password) */
body.pc-auth .pcsu-main .pcsi-sub p {
	font-size: 20px;
}

/* ---------- Form ---------- */

body.pc-auth .pcsi-card .elementor-form-fields-wrapper {
	margin: 0 -10px !important;
}

body.pc-auth .pcsi-card .elementor-field-group {
	position: relative;
	margin: 0 0 30px !important;
	padding: 0 10px !important;
}

/* Login: one field per row */
body.pc-auth #cp-crm-sign-in-form .elementor-field-group {
	width: 100% !important;
	max-width: 100%;
	flex: 0 0 100%;
}

/* Labels are "screen only" in the form settings; shown above the fields here */
body.pc-auth .pcsi-card .elementor-field-label {
	position: static !important;
	width: auto !important;
	height: auto !important;
	margin: 0 0 14px !important;
	padding: 0 !important;
	overflow: visible !important;
	clip: auto !important;
	clip-path: none !important;
	white-space: normal !important;
	font-size: 21px !important;
	font-weight: 700 !important;
	color: var(--pcsi-navy) !important;
}

body.pc-auth .pcsi-card .elementor-field-group .elementor-field-textual {
	height: 78px;
	padding: 0 64px 0 64px !important;
	background-color: #fff !important;
	background-repeat: no-repeat !important;
	background-position: 22px center !important;
	background-size: 26px 26px !important;
	border: 1px solid var(--pcsi-field-line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--pcsi-navy) !important;
	font-size: 24px !important;
}

body.pc-auth .pcsi-card .elementor-field-group .elementor-field-textual::placeholder {
	color: var(--pcsi-placeholder);
	opacity: 1;
}

body.pc-auth .pcsi-card .elementor-field-group .elementor-field-textual:focus {
	border-color: var(--pcsi-gold) !important;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(84, 119, 181, 0.18) !important;
}

/* Field icons: user and lock */
body.pc-auth .pcsi-card .elementor-field-group-login .elementor-field-textual {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C7A5C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21c.8-3.9 3.9-6 7.5-6s6.7 2.1 7.5 6'/%3E%3C/svg%3E") !important;
}

body.pc-auth .pcsi-card :is(.elementor-field-group-password, .elementor-field-group-repeat_password) .elementor-field-textual {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C7A5C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10.5' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3Ccircle cx='12' cy='15.5' r='1.2'/%3E%3C/svg%3E") !important;
}

/* Show/hide password eye, added by the page's script after the password field */
body.pc-auth .pcsi-card .hide-pass {
	position: absolute;
	right: 34px; /* 24px inside the field + the group padding */
	bottom: 0;
	height: 78px;
	display: flex !important;
	align-items: center;
	margin: 0 !important;
	color: #5B6478 !important;
	font-size: 22px;
}

body.pc-auth .pcsi-card .hide-pass:hover {
	color: var(--pcsi-navy) !important;
}

/* Submit */
body.pc-auth .pcsi-card .e-form__buttons {
	margin: 10px 0 0 !important;
}

body.pc-auth .pcsi-card .elementor-button[type="submit"] {
	width: 100%;
	height: 88px;
	padding: 0 24px !important;
	background: var(--pcsi-gold) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: 0 10px 22px rgba(38, 69, 122, 0.25);
	color: #fff !important;
	font-size: 26px !important;
	font-weight: 700 !important;
	transition: background-color 0.2s ease;
}

body.pc-auth .pcsi-card .elementor-button[type="submit"]:hover,
body.pc-auth .pcsi-card .elementor-button[type="submit"]:focus-visible {
	background: var(--pcsi-gold-hover) !important;
}

body.pc-auth .pcsi-card .elementor-button[type="submit"] .elementor-button-text::after {
	content: "→";
	margin-left: 14px;
}

/* ---------- Links under the form ---------- */

body.pc-auth .pcsi-links {
	margin-top: 44px !important;
	padding-top: 40px !important;
	border-top: 1px solid var(--pcsi-field-line);
}

body.pc-auth .pcsi-links > .elementor-container {
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

body.pc-auth .pcsi-links .elementor-column {
	width: 100% !important;
}

body.pc-auth .pcsi-links .elementor-widget-wrap {
	justify-content: center;
	padding: 0 !important;
}

body.pc-auth .pcsi-links .elementor-heading-title {
	font-size: 22px !important;
	font-weight: 500 !important;
	color: var(--pcsi-text) !important;
	text-align: center;
}

body.pc-auth .pcsi-links .elementor-heading-title a {
	color: inherit !important;
	text-decoration: none !important;
}

body.pc-auth .pcsi-links .elementor-heading-title strong {
	font-weight: 800;
	color: var(--pcsi-navy);
}

body.pc-auth .pcsi-links .elementor-heading-title a:hover strong,
body.pc-auth .pcsi-links .elementor-column:last-child .elementor-heading-title a:hover {
	color: var(--pcsi-gold) !important;
}

body.pc-auth .pcsi-links .elementor-column:last-child .elementor-heading-title {
	font-size: 18px !important;
}

/* ---------- Register ---------- */

/* Wider card: the form has two fields per row */
body.pc-auth .pcsu-main > .elementor-container > .pcsi-card {
	flex-grow: 1.25;
}

body.pc-auth .pcsi-features-title {
	margin: 44px 0 0;
	font-size: 26px;
	font-weight: 700;
	color: #fff;
}

body.pc-auth .pcsi-features--icons {
	margin-top: 28px;
	gap: 22px;
}

body.pc-auth .pcsi-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 62px;
	height: 62px;
	background: var(--pcsi-tile);
}

body.pc-auth .pcsi-icon svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: var(--pcsi-gold-bright);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.pc-auth .pcsi-features--icons li > div > span {
	font-size: 18px;
	line-height: 1.45;
}

body.pc-auth .pcsu-main .pcsi-card .elementor-field-label {
	font-size: 18px !important;
	margin-bottom: 10px !important;
}

body.pc-auth .pcsu-main .pcsi-card .elementor-field-group {
	margin-bottom: 24px !important;
}

body.pc-auth .pcsu-main .pcsi-card .elementor-field-group .elementor-field-textual {
	height: 64px;
	padding: 0 22px !important;
	font-size: 19px !important;
}

/* Field icons (the name fields have none, as in the design) */
body.pc-auth .pcsu-main .pcsi-card :is(.elementor-field-group-contacts__email, .elementor-field-group-email, .elementor-field-group-password, .elementor-field-group-repeat_password, .elementor-field-group-contacts__phone, .elementor-field-group-address__countryCode) .elementor-field-textual {
	padding-left: 56px !important;
	background-position: 18px center !important;
	background-size: 22px 22px !important;
}

body.pc-auth .pcsu-main .pcsi-card .elementor-field-group-password .elementor-field-textual {
	padding-right: 56px !important;
}

body.pc-auth .pcsi-card :is(.elementor-field-group-contacts__email, .elementor-field-group-email) .elementor-field-textual {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C7A5C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E") !important;
}

body.pc-auth .pcsi-card .elementor-field-group-contacts__phone .elementor-field-textual {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C7A5C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.5l1.5 4-2 1.5a11 11 0 0 0 6.5 6.5l1.5-2 4 1.5V19a1.5 1.5 0 0 1-1.6 1.5C10.8 20 4 13.2 3.5 5.6A1.5 1.5 0 0 1 5 4z'/%3E%3C/svg%3E") !important;
}

body.pc-auth .pcsi-card .elementor-field-group-address__countryCode .elementor-field-textual {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C7A5C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E") !important;
	color: var(--pcsi-navy) !important;
}

body.pc-auth .pcsi-card .elementor-select-wrapper::before {
	right: 22px;
	color: #5B6478;
	font-size: 16px;
}

body.pc-auth .pcsu-main .pcsi-card .hide-pass {
	height: 64px;
}

/* The EN form labels the country field in French ("Pays"); shown in English here without touching the form */
body.pc-auth:lang(en) .elementor-field-group-address__countryCode .elementor-field-label {
	font-size: 0 !important;
}

body.pc-auth:lang(en) .elementor-field-group-address__countryCode .elementor-field-label::after {
	content: "Country";
	font-size: 18px;
}

/* Hidden helper fields (referral, affiliate) take no room */
body.pc-auth .pcsi-card .elementor-field-group.elementor-field-type-html {
	margin: 0 !important;
}

/* Consent checkboxes as bordered option boxes */
body.pc-auth .pcsi-card .elementor-field-group.elementor-field-type-acceptance {
	margin-bottom: 14px !important;
}

body.pc-auth .pcsi-card .elementor-field-type-acceptance .elementor-field-subgroup {
	width: 100%;
	padding: 18px 20px;
	background: #F7F9FC;
	border: 2px solid #C7D2E6;
	transition: border-color 0.2s ease;
}

body.pc-auth .pcsi-card .elementor-field-type-acceptance .elementor-field-subgroup:has(input:checked) {
	border-color: var(--pcsi-gold);
}

body.pc-auth .pcsi-card .elementor-field-type-acceptance .elementor-field-option {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

body.pc-auth .pcsi-card .elementor-field-type-acceptance input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--pcsi-gold);
	cursor: pointer;
}

body.pc-auth .pcsi-card .elementor-field-type-acceptance label {
	margin: 0;
	font-size: 16px !important;
	font-weight: 500;
	line-height: 1.5 !important;
	color: var(--pcsi-navy) !important;
	cursor: pointer;
}

body.pc-auth .pcsi-card .elementor-field-type-acceptance label a {
	color: var(--pcsi-navy);
	font-weight: 700;
	text-decoration: underline;
}

body.pc-auth .pcsu-main .pcsi-card .e-form__buttons {
	margin-top: 20px !important;
	margin-bottom: 0 !important;
}

/* "Do you already have an account? Log in here" on one line under a divider */
body.pc-auth .pcsu-main .pcsi-card .elementor-widget-form {
	margin-bottom: 0;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--pcsi-field-line);
}

body.pc-auth .pcsu-main .pcsi-card > .elementor-widget-wrap {
	justify-content: center !important; /* the column is set to space-between in Elementor */
}

body.pc-auth :is(.pcsu-login-q, .pcsu-login-a) {
	width: auto !important;
	margin: 36px 0 0 !important;
}

body.pc-auth .pcsu-login-q {
	margin-right: 8px !important;
}

body.pc-auth :is(.pcsu-login-q, .pcsu-login-a) .elementor-heading-title {
	font-size: 20px !important;
	font-weight: 500 !important;
	line-height: 1.4;
	color: var(--pcsi-text) !important;
	text-align: center;
}

body.pc-auth .pcsu-login-a .elementor-heading-title,
body.pc-auth .pcsu-login-a .elementor-heading-title a {
	font-weight: 800 !important;
	color: var(--pcsi-navy) !important;
	text-decoration: none !important;
}

body.pc-auth .pcsu-login-a .elementor-heading-title a:hover {
	color: var(--pcsi-gold) !important;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1200px) {
	body.pc-auth .pcsi-main > .elementor-container {
		gap: 48px;
	}

	body.pc-auth .pcsi-title {
		font-size: 44px;
	}

	body.pc-auth .pcsi-lead {
		font-size: 22px;
	}

	body.pc-auth .pcsi-card > .elementor-widget-wrap {
		padding: 48px 40px 44px !important;
	}

	body.pc-auth .pcsi-card .elementor-widget-heading .elementor-heading-title {
		font-size: 38px;
	}
}

@media (max-width: 1024px) {
	/* Form first, intro below it */
	body.pc-auth .pcsi-main > .elementor-container {
		flex-direction: column !important;
		align-items: stretch;
		max-width: 640px !important;
	}

	body.pc-auth .pcsi-main > .elementor-container > .elementor-column {
		flex: 0 0 auto;
		order: 0 !important;
	}

	body.pc-auth .pcsi-main > .elementor-container > .pcsi-card {
		order: -1 !important;
	}

	body.pc-auth .pcsi-features {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
		margin-top: 32px;
	}

	body.pc-auth .pcsi-features li {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	body.pc-auth .pcsi-lead {
		padding-bottom: 32px;
	}
}

@media (max-width: 767px) {
	body.pc-auth .pcsi-main {
		padding: 24px 16px 48px !important;
	}

	body.pc-auth .pcsi-brand {
		margin-bottom: 28px;
	}

	body.pc-auth .pcsi-brand-mark {
		width: 56px;
		height: 56px;
		font-size: 28px;
	}

	body.pc-auth .pcsi-brand strong {
		font-size: 26px;
	}

	body.pc-auth .pcsi-brand span:not(.pcsi-brand-mark) {
		font-size: 16px;
	}

	body.pc-auth .pcsi-title {
		margin-bottom: 16px;
		font-size: 34px;
	}

	body.pc-auth .pcsi-lead {
		font-size: 18px;
	}

	body.pc-auth .pcsi-features {
		grid-template-columns: 1fr;
	}

	body.pc-auth .pcsi-features li {
		flex-direction: row;
		align-items: center;
	}

	body.pc-auth .pcsi-check {
		width: 48px;
		height: 48px;
	}

	body.pc-auth .pcsi-features strong {
		font-size: 18px;
	}

	body.pc-auth .pcsi-features li > div > span {
		font-size: 16px;
	}

	body.pc-auth .pcsi-card > .elementor-widget-wrap {
		padding: 36px 20px 32px !important;
	}

	body.pc-auth .pcsi-card .elementor-widget-heading .elementor-heading-title {
		font-size: 30px;
	}

	body.pc-auth .pcsi-sub p {
		margin-bottom: 28px;
		font-size: 18px;
	}

	body.pc-auth .pcsi-card .elementor-field-label {
		font-size: 17px !important;
	}

	body.pc-auth .pcsi-card .elementor-field-group .elementor-field-textual {
		height: 60px;
		padding: 0 52px !important;
		background-position: 16px center !important;
		background-size: 22px 22px !important;
		font-size: 17px !important;
	}

	body.pc-auth .pcsi-card .hide-pass {
		right: 26px;
		height: 60px;
	}

	body.pc-auth .pcsi-card .elementor-button[type="submit"] {
		height: 64px;
		font-size: 20px !important;
	}

	body.pc-auth .pcsi-links .elementor-heading-title {
		font-size: 17px !important;
	}
}
