/**
 * Peptara auth portal — /register/
 * Figma Create Account NEW 1468:4338 — register, login, reset
 */

body.peptara-account {
	--peptara-auth-text: #151515;
	--peptara-auth-blue: #587698;
	--peptara-auth-muted: rgba(21, 21, 21, 0.72);
	--peptara-auth-border: rgba(21, 21, 21, 0.25);
	--peptara-auth-border-soft: rgba(27, 27, 27, 0.12);
	--peptara-auth-surface: #f2f2f2;
	--peptara-auth-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Dark header band (same approach as checkout) */
body.peptara-has-account-hero .site-header-wrap,
body.peptara-has-account-hero #masthead,
body.peptara-has-account-hero .site-main-header-wrap {
	background-color: #181a20 !important;
	background-image:
		radial-gradient(ellipse 80% 140% at 50% -30%, rgba(88, 118, 152, 0.4) 0%, transparent 55%),
		linear-gradient(180deg, #1c2433 0%, #181a20 100%) !important;
}

body.peptara-has-account-hero .site-header-wrap,
body.peptara-has-account-hero #masthead {
	min-height: 161px;
}

body.peptara-has-account-hero.transparent-header .content-area,
body.peptara-has-account-hero.transparent-header #main {
	padding-top: 90px;
}

@media (max-width: 640px) {
	body.peptara-has-account-hero.transparent-header .content-area,
	body.peptara-has-account-hero.transparent-header #main {
		padding-top: 80px;
	}
}

/* Break out of nested Kadence content containers (same approach as checkout) */
body.peptara-account .content-container.site-container,
body.peptara-account .theme-content-wrap.site-container,
body.peptara-account #main .site-container,
body.peptara-account .content-area .site-container,
body.peptara-account .content-area,
body.peptara-account .entry-content-wrap,
body.peptara-account .entry-content,
body.peptara-account .wp-block-group,
body.peptara-account .wp-block-group__inner-container {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	float: none !important;
}

body.peptara-account #primary,
body.peptara-account .content-area,
body.peptara-account .site-main,
body.peptara-account #main {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
}

/*
 * User Registration caps guest forms at 520px via highly specific selectors in
 * user-registration.css (body.user-registration-page #user-registration:not(...)).
 * Mirror those selectors and force full width for the Figma portal.
 */
body.user-registration-page #user-registration:not(.user-registration-MyAccount),
body.user-registration-page .user-registration:not(.user-registration-MyAccount),
body.user-registration-page #user-registration.user-registration:not(.user-registration-MyAccount),
body.peptara-account #user-registration,
body.peptara-account #user-registration:not(.user-registration-MyAccount),
body.peptara-account .user-registration:not(.user-registration-MyAccount),
body.peptara-account.user-registration-page #user-registration:not(.user-registration-MyAccount),
body.peptara-account.user-registration-page .user-registration:not(.user-registration-MyAccount),
body.peptara-account #user-registration.user-registration {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	float: none !important;
}

body.peptara-account .entry-hero,
body.peptara-account .entry-header,
body.peptara-account .entry-title,
body.peptara-account h1.entry-title,
body.peptara-account .page-title {
	display: none !important;
}

/*
 * Elementor leftover intro above the auth shell (gateway heading + copy).
 * Auth breakout zeroes page padding, so constrain these to the same rhythm as .peptara-auth.
 */
body.peptara-account .entry-content.single-content > h3,
body.peptara-account .entry-content.single-content > p {
	box-sizing: border-box;
	width: 100%;
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(16px, 6.94vw, 100px);
	padding-right: clamp(16px, 6.94vw, 100px);
	font-family: var(--peptara-auth-font);
	color: var(--peptara-auth-text);
}

body.peptara-account .entry-content.single-content > h3 {
	margin-top: 40px;
	margin-bottom: 16px;
	font-size: clamp(22px, 2.2vw, 28px);
	font-weight: 500;
	line-height: 1.2;
}

body.peptara-account .entry-content.single-content > p {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--peptara-auth-muted);
}

body.peptara-account .entry-content.single-content > p:last-of-type {
	margin-bottom: 0;
}

/* Drop Elementor debris after the Peptara auth shell */
body.peptara-account .entry-content.single-content > #user-registration ~ * {
	display: none !important;
}

/* Outer shell: Figma 1440 with 100px side padding → 1240 content */
body.peptara-account .peptara-auth {
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 60px clamp(16px, 6.94vw, 100px) 100px;
	font-family: var(--peptara-auth-font);
	color: var(--peptara-auth-text);
	float: none;
	clear: both;
}

body.peptara-account .peptara-auth__layout {
	display: grid !important;
	grid-template-columns: minmax(0, 650px) minmax(0, 566px);
	justify-content: space-between;
	align-items: start;
	gap: 24px;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
}

body.peptara-account .peptara-auth__left {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	padding: 32px;
	background: var(--peptara-auth-surface);
	border-radius: 28px;
	overflow: visible;
}

body.peptara-account .peptara-auth__right {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	padding: 32px;
	border: 1px solid var(--peptara-auth-border);
	border-radius: 28px;
	background: #fff;
}

/* Left panel */
body.peptara-account .peptara-auth-left__title {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--peptara-auth-text);
}

body.peptara-account .peptara-auth-left__text {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--peptara-auth-text);
	opacity: 0.72;
}

body.peptara-account .peptara-auth-left__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 32px;
	padding: 12px 24px;
	border-radius: 50px;
	background: #151515;
	color: #fff !important;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none !important;
}

body.peptara-account .peptara-auth-left__cta img {
	display: block;
	width: 21px;
	height: 21px;
	filter: brightness(0) invert(1);
}

body.peptara-account .peptara-auth-left__cta:hover {
	opacity: 0.9;
}

/* Sign In / Create Account left — column gap 32; intro gap 16; molecule 237×197 */
body.peptara-account .peptara-auth-left--login,
body.peptara-account .peptara-auth-left {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

body.peptara-account .peptara-auth-left--login .peptara-auth-left__top,
body.peptara-account .peptara-auth-left .peptara-auth-left__top {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	width: 100%;
}

body.peptara-account .peptara-auth-left--login .peptara-auth-left__intro,
body.peptara-account .peptara-auth-left .peptara-auth-left__intro {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
}

body.peptara-account .peptara-auth-left--login .peptara-auth-left__title,
body.peptara-account .peptara-auth-left--login .peptara-auth-left__text,
body.peptara-account .peptara-auth-left .peptara-auth-left__title,
body.peptara-account .peptara-auth-left .peptara-auth-left__text {
	margin: 0;
}

body.peptara-account .peptara-auth-left--login .peptara-auth-left__cta,
body.peptara-account .peptara-auth-left .peptara-auth-left__cta {
	margin-top: 0;
}

body.peptara-account .peptara-auth-left--login .peptara-auth-left__visual,
body.peptara-account .peptara-auth-left .peptara-auth-left__visual {
	flex: none;
}

body.peptara-account .peptara-auth-left__divider {
	margin: 32px 0;
	border: 0;
	border-top: 1px solid var(--peptara-auth-border-soft);
}

body.peptara-account .peptara-auth-left--login .peptara-auth-left__divider,
body.peptara-account .peptara-auth-left .peptara-auth-left__divider {
	margin: 0;
	width: 100%;
}

/* Trust badges — Figma: 2 rows × 3, spaced across 586px content */
body.peptara-account .peptara-auth-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 12px;
	row-gap: 12px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
	width: 100%;
}

body.peptara-account .peptara-auth-left--login .peptara-auth-trust,
body.peptara-account .peptara-auth-left .peptara-auth-trust {
	margin-top: 0;
}

body.peptara-account .peptara-auth-trust__item {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

body.peptara-account .peptara-auth-trust__icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
}

body.peptara-account .peptara-auth-trust__label {
	min-width: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--peptara-auth-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: normal;
	overflow-wrap: break-word;
}

/* Tabs — Figma 54px tall, 48px gap to form */
body.peptara-account .peptara-auth__tabs {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 54px;
	margin: 0 0 48px;
}

body.peptara-account .peptara-auth__tab {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 54px;
	padding: 16px 12px;
	border-bottom: 2px solid var(--peptara-auth-border-soft);
	color: rgba(21, 21, 21, 0.5);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
}

body.peptara-account .peptara-auth__tab.is-active {
	border-bottom-width: 3px;
	border-bottom-color: var(--peptara-auth-blue);
	color: var(--peptara-auth-text);
}

/* Hide default UR combined-nav if any */
body.peptara-account .ur-login-registration-nav {
	display: none !important;
}

/* Form fields — pill inputs */
body.peptara-account .peptara-auth__form .ur-frontend-form,
body.peptara-account .peptara-auth__form .ur-frontend-form.login,
body.peptara-account .peptara-auth__form .user-registration-form,
body.peptara-account .peptara-auth__form form,
body.peptara-account .peptara-lost-password-form,
body.peptara-account .peptara-reset-password-form {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	width: 100% !important;
	max-width: none !important;
}

body.peptara-account .peptara-auth__form .ur-form-row,
body.peptara-account .peptara-auth__form .ur-form-grid,
body.peptara-account .peptara-auth__form .user-registration-form-row,
body.peptara-account .peptara-auth__form .form-row {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin: 0 0 16px;
	padding: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

body.peptara-account .peptara-auth__form .ur-form-row {
	display: block !important;
}

body.peptara-account .peptara-auth__form label,
body.peptara-account .peptara-auth__form .ur-label:not(.checkbox),
body.peptara-account .peptara-auth__form .ur-label:not(.checkbox) label,
body.peptara-account .peptara-auth__form .ur-label:not(.checkbox) > label {
	display: block !important;
	margin: 0 0 5px !important;
	padding: 0 !important;
	font-family: var(--peptara-auth-font) !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	color: var(--peptara-auth-text) !important;
}

body.peptara-account .peptara-auth__form input[type="text"],
body.peptara-account .peptara-auth__form input[type="email"],
body.peptara-account .peptara-auth__form input[type="password"],
body.peptara-account .peptara-auth__form input[type="tel"],
body.peptara-account .peptara-auth__form input[type="number"],
body.peptara-account .peptara-auth__form select,
body.peptara-account .peptara-auth__form textarea,
body.peptara-account .peptara-auth__form .ur-frontend-form input[type="email"],
body.peptara-account .peptara-auth__form .ur-frontend-form input[type="password"],
body.peptara-account .peptara-auth__form .ur-frontend-form input[type="text"],
body.user-registration-page .peptara-auth__form input.input-text,
body.user-registration-page .peptara-auth__form input.ur-frontend-field:not([type="checkbox"]):not(.input-checkbox) {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	height: 47px !important;
	min-height: 47px !important;
	padding: 14px 16px !important;
	border: 1px solid var(--peptara-auth-border) !important;
	border-radius: 100px !important;
	background: #fff !important;
	font-family: var(--peptara-auth-font) !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	color: var(--peptara-auth-text) !important;
	box-shadow: none !important;
	outline: none !important;
}

body.peptara-account .peptara-auth__form input::placeholder {
	color: rgba(21, 21, 21, 0.5);
}

body.peptara-account .peptara-auth__form .input-wrapper {
	position: relative;
	display: block;
}

body.peptara-account .peptara-auth__form .password-input,
body.peptara-account .peptara-auth__form .show-password-input,
body.peptara-account .peptara-auth__form .ur-password {
	position: relative;
}

body.peptara-account .peptara-auth__form .user-registration-password-strength,
body.peptara-account .peptara-auth__form .ur-password-strength {
	margin-top: 8px;
}

body.peptara-account .peptara-auth__form button[type="submit"],
body.peptara-account .peptara-auth__form .ur-submit-button,
body.peptara-account .peptara-auth__form input[type="submit"],
body.peptara-account .peptara-auth__form .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 45px;
	height: 45px;
	margin-top: 48px !important;
	padding: 12px 24px;
	border: 0;
	border-radius: 50px;
	background: #151515 !important;
	color: #fff !important;
	font-family: var(--peptara-auth-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: capitalize;
	cursor: pointer;
}

/* Checkboxes — UR markup: <label><input>+*</label><span class="description">text</span>
 * Force one row: [checkbox] [text] like Figma. */
body.peptara-account .peptara-auth__form .form-row:has(input[type="checkbox"]),
body.peptara-account .peptara-auth__form .ur-privacy-policy-field,
body.peptara-account .peptara-auth__form .form-row-checkbox,
body.peptara-account .peptara-auth__form .ur-field-checkbox {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	gap: 8px !important;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	text-align: left !important;
}

body.peptara-account .peptara-auth__form .form-row:has(input[type="checkbox"]) > label.ur-label.checkbox,
body.peptara-account .peptara-auth__form .form-row:has(input[type="checkbox"]) > label.checkbox {
	display: flex !important;
	flex: 0 0 18px !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	width: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	margin: 2px 0 0 !important;
	padding: 0 !important;
	gap: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

body.peptara-account .peptara-auth__form input[type="checkbox"],
body.peptara-account .peptara-auth__form input.input-checkbox,
body.peptara-account .peptara-auth__form input.ur-frontend-field[type="checkbox"] {
	box-sizing: border-box !important;
	flex: 0 0 18px !important;
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	min-height: 18px !important;
	max-height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--peptara-auth-border) !important;
	border-radius: 2px !important;
	background: #fff !important;
	accent-color: var(--peptara-auth-blue);
	appearance: auto !important;
	-webkit-appearance: checkbox !important;
	box-shadow: none !important;
	float: none !important;
}

/* Keep * with the description text, not before the checkbox */
body.peptara-account .peptara-auth__form .form-row:has(input[type="checkbox"]) > label.checkbox abbr.required,
body.peptara-account .peptara-auth__form label.checkbox .required {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}

body.peptara-account .peptara-auth__form .form-row:has(input[type="checkbox"]) > .description,
body.peptara-account .peptara-auth__form .form-row:has(input[type="checkbox"]) > span.description {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--peptara-auth-font) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	color: var(--peptara-auth-text) !important;
	text-align: left !important;
}

body.peptara-account .peptara-auth__form .form-row:has(input[type="checkbox"]) > .description::before {
	content: "*";
	color: #c00;
	margin-right: 4px;
}

body.peptara-account .peptara-auth__form .ur-privacy-policy-field:first-of-type,
body.peptara-account .peptara-auth__form .form-row:has(input[type="checkbox"]):first-of-type,
body.peptara-account .peptara-auth__form .ur-field-checkbox:first-of-type {
	margin-top: 16px !important;
}

body.peptara-account .peptara-auth__form button[type="submit"]:hover,
body.peptara-account .peptara-auth__form .ur-submit-button:hover,
body.peptara-account .peptara-auth__form input[type="submit"]:hover {
	opacity: 0.9;
}

/* Sign In form — Figma 322:1503: Email/Password gap 16; Forgot 8 below password; no Remember Me */
body.peptara-account.peptara-account--login .peptara-auth__form--login .user-registration-form-row[data-field="password"],
body.peptara-account.peptara-account--login .peptara-auth__form--login .form-row[data-field="password"] {
	margin-bottom: 0 !important;
}

body.peptara-account.peptara-account--login .peptara-auth__form--login .form-row:has(.user-registration-before-login-btn),
body.peptara-account.peptara-account--login .peptara-auth__form--login .form-row:has(.lost_password) {
	margin: 0 !important;
	padding: 0 !important;
}

body.peptara-account.peptara-account--login .peptara-auth__form--login .user-registration-before-login-btn {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: 100%;
	margin: 0;
}

body.peptara-account.peptara-account--login .peptara-auth__form--login [data-field="remember-me"],
body.peptara-account.peptara-account--login .peptara-auth__form--login .remember-me,
body.peptara-account.peptara-account--login .peptara-auth__form--login .form-row-rememberme {
	display: none !important;
}

body.peptara-account .peptara-auth__form--login .user-registration-LostPassword,
body.peptara-account .peptara-auth__form--login .lost_password,
body.peptara-account .peptara-auth__form--login .ur-lostpassword {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin: 8px 0 0;
	padding: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	opacity: 0.72;
}

body.peptara-account .peptara-auth__form--login .user-registration-LostPassword label,
body.peptara-account .peptara-auth__form--login .lost_password label {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: inherit !important;
	font-weight: inherit !important;
}

body.peptara-account .peptara-auth__form--login .user-registration-LostPassword a,
body.peptara-account .peptara-auth__form--login .lost_password a {
	color: rgba(21, 21, 21, 0.7);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
}

body.peptara-account.peptara-account--login .peptara-auth__form--login button[type="submit"],
body.peptara-account.peptara-account--login .peptara-auth__form--login .ur-submit-button {
	margin-top: 48px !important;
}

/* Reset Password — Figma 322:1663 / 322:1815 / 322:1963 */
body.peptara-account .peptara-auth__form--lostpassword .ur-lost-password-content-container,
body.peptara-account .peptara-auth__form--lostpassword .ur-lost-password-title,
body.peptara-account .peptara-auth__form--lostpassword .ur-lost-password-message,
body.peptara-account .peptara-auth__form--lostpassword .ur-input-with-icon .input-icon,
body.peptara-account .peptara-auth__form--lostpassword .ur-message-container,
body.peptara-account .peptara-auth__form--lostpassword .user-registration-message-container {
	display: none !important;
}

body.peptara-account .peptara-auth__form--lostpassword .ur-input-with-icon {
	display: block;
	background: transparent !important;
	padding: 0 !important;
}

/* Kill UR login form white card around the email field */
body.peptara-account .peptara-auth__form--lostpassword .ur-frontend-form.login,
body.peptara-account .peptara-auth__form--resetpassword .ur-frontend-form.login,
body.peptara-account .peptara-lost-password-form.ur-frontend-form.login,
body.peptara-account .peptara-reset-password-form.ur-frontend-form.login {
	background: transparent !important;
	background-color: transparent !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.peptara-account .peptara-auth__form--lostpassword input[type="submit"],
body.peptara-account .peptara-auth__form--lostpassword .ur-reset-password-btn,
body.peptara-account .peptara-auth__form--resetpassword input[type="submit"] {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 45px;
	height: 45px;
	margin-top: 48px !important;
	padding: 12px 24px;
	border: 0;
	border-radius: 50px;
	background: #151515 !important;
	color: #fff !important;
	font-family: var(--peptara-auth-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: capitalize;
	cursor: pointer;
	box-shadow: none !important;
}

body.peptara-account .peptara-auth__form--lostpassword .form-row:has(input[type="submit"]),
body.peptara-account .peptara-auth__form--resetpassword .form-row:has(input[type="submit"]) {
	margin: 0 !important;
}

body.peptara-account .peptara-auth__form--lostpassword_sent {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

body.peptara-account .peptara-reset-sent {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 454px;
	margin: 0 auto;
	padding: 0 0 16px;
	text-align: center;
}

body.peptara-account .peptara-reset-sent__icon {
	display: block;
	width: 40px;
	height: 40px;
}

body.peptara-account .peptara-reset-sent__text {
	margin: 0;
	font-family: var(--peptara-auth-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--peptara-auth-text);
	text-align: center;
}

body.peptara-account .peptara-auth__form--resetpassword .form-row {
	margin: 0 0 16px !important;
}

body.peptara-account .peptara-auth__form--resetpassword .form-row:last-of-type {
	margin-bottom: 0 !important;
}

body.peptara-account .peptara-auth__form .password-input-group,
body.peptara-account .peptara-auth__form .password-input-group.input-wrapper {
	position: relative;
	display: block;
	width: 100%;
}

body.peptara-account .peptara-auth__form .ur-message,
body.peptara-account .peptara-auth__form .user-registration-error,
body.peptara-account .peptara-auth__form .user-registration-message {
	margin-bottom: 16px;
}

/* Stack below Figma desktop width (1240 content + padding) */
@media (max-width: 1280px) {
	body.peptara-account .peptara-auth__layout {
		grid-template-columns: 1fr;
		max-width: 650px;
		justify-content: center;
	}

	body.peptara-account .peptara-auth__left {
		width: 100%;
	}

	body.peptara-account .peptara-auth__right {
		max-width: 650px;
	}

	body.peptara-account .peptara-auth-left--login .peptara-auth-left__top,
	body.peptara-account .peptara-auth-left .peptara-auth-left__top {
		flex-direction: column;
	}

	body.peptara-account .peptara-auth-left--login .peptara-auth-left__visual,
	body.peptara-account .peptara-auth-left .peptara-auth-left__visual {
		max-width: none;
	}
}

@media (max-width: 640px) {
	body.peptara-account .peptara-auth {
		padding: 28px 16px 48px;
	}

	body.peptara-account .peptara-auth__left,
	body.peptara-account .peptara-auth__right {
		padding: 20px;
		border-radius: 20px;
	}

	body.peptara-account .peptara-auth-trust {
		grid-template-columns: 1fr;
		row-gap: 10px;
	}

	body.peptara-account .peptara-auth__tabs {
		margin-bottom: 28px;
	}

	body.peptara-account .peptara-auth__tab {
		padding: 12px 6px;
		font-size: 14px;
		white-space: normal;
	}
}

/* Auth portal left — Figma 1468:4064 / 1468:4095 / 1468:4197 (register, login, reset) */
body.peptara-account .peptara-auth__left {
	position: relative;
	isolation: isolate;
	box-sizing: border-box;
	width: 650px;
	max-width: 100%;
	min-height: 356px;
	padding: 32px;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 28px;
	background-image:
		linear-gradient(201.56deg, #eeeeee 45.84%, #fafafa 72.71%, #88ade0 140.4%, #eeeeee 154.02%),
		linear-gradient(
			180deg,
			#4c4c4c 0%,
			#7a7a7a 11.11%,
			#a1a1a1 22.22%,
			#bdbdbd 33.33%,
			#d5d5d5 44.44%,
			#cecece 55.56%,
			#bcbcbc 66.67%,
			#9f9f9f 77.78%,
			#767676 88.89%,
			#565656 100%
		);
	background-origin: border-box;
	background-clip: padding-box, border-box;
}

body.peptara-account .peptara-auth-left {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

body.peptara-account .peptara-auth-left .peptara-auth-left__top {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	min-height: 120px;
}

body.peptara-account .peptara-auth-left .peptara-auth-left__intro {
	position: relative;
	z-index: 1;
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
	max-width: none;
	min-width: 0;
}

body.peptara-account .peptara-auth-left .peptara-auth-left__title {
	margin: 0;
	width: 100%;
	font-family: var(--peptara-auth-font);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
	color: #151515;
}

body.peptara-account .peptara-auth-left .peptara-auth-left__text,
body.peptara-account .peptara-auth-left p.peptara-auth-left__text {
	margin: 0;
	max-width: 265px;
	font-family: var(--peptara-auth-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #000;
	opacity: 0.72;
}

/* Figma 1468:4102 — DNA sharp above the divider; gradient frost only below it */
body.peptara-account .peptara-auth-left .peptara-auth-left__visual {
	position: absolute;
	left: 251px;
	top: -219px;
	right: auto;
	bottom: auto;
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 536.978px;
	max-width: none;
	height: 596.815px;
	pointer-events: none;
	transform: none;
}

body.peptara-account .peptara-auth-left__visual-rot {
	flex: none;
	transform: rotate(-120deg);
}

body.peptara-account .peptara-auth-left__visual-blur {
	position: relative;
	width: 496.735px;
	height: 333.259px;
	filter: none;
}

/* Lower DNA clone — visible through the frost, masked from the divider down */
body.peptara-account .peptara-auth-left .peptara-auth-left__visual--frosted {
	z-index: 0;
	filter: blur(14px);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 58%, #000 70%, #000 100%);
	mask-image: linear-gradient(180deg, transparent 0%, transparent 58%, #000 70%, #000 100%);
}

body.peptara-account .peptara-auth-left .peptara-auth-left__visual img,
body.peptara-account .peptara-auth-left__visual-img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
	object-position: center;
	transform: none;
	filter: none;
}

body.peptara-account .peptara-auth-left .peptara-auth-left__bottom {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

body.peptara-account .peptara-auth-left .peptara-auth-left__blur {
	position: absolute;
	left: -32px;
	right: -32px;
	top: 0;
	bottom: -32px;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		201.56deg,
		rgb(238 238 238 / 0.2) 45.84%,
		rgb(250 250 250 / 0.32) 72.71%,
		rgb(136 173 224 / 0.38) 140.4%,
		rgb(238 238 238 / 0.4) 154.02%
	);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 72px, #000 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 72px, #000 100%);
}

body.peptara-account .peptara-auth-left .peptara-auth-left__divider {
	position: relative;
	z-index: 1;
	margin: 0;
	width: 100%;
	border: 0;
	border-top: 1px solid rgba(27, 27, 27, 0.12);
}

body.peptara-account .peptara-auth-left .peptara-auth-trust {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	column-gap: 0;
	row-gap: 12px;
	margin: 0;
	padding: 28px 16px;
	width: 100%;
	border-radius: 24px;
	background: linear-gradient(
		180deg,
		rgb(226 230 232 / 0.38) 1.42%,
		rgb(235 249 255 / 0.5) 62.71%,
		rgb(255 255 255 / 0.58) 100%
	);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

body.peptara-account .peptara-auth-left .peptara-auth-trust__item {
	flex: 0 0 auto;
	width: 151px;
}

body.peptara-account .peptara-auth-left .peptara-auth-trust__item:first-child {
	width: auto;
}

body.peptara-account .peptara-auth-left .peptara-auth-trust__item {
	gap: 8px;
}

body.peptara-account .peptara-auth-left .peptara-auth-trust__icon {
	filter: brightness(0);
}

body.peptara-account .peptara-auth-left .peptara-auth-trust__label {
	color: #2c2c2c;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

@media (max-width: 1280px) {
	body.peptara-account .peptara-auth-left .peptara-auth-left__top {
		display: block;
		flex-direction: unset;
	}
}

@media (max-width: 640px) {
	body.peptara-account .peptara-auth {
		padding: 0 0 32px;
	}

	body.peptara-account .peptara-auth__layout {
		position: relative;
		overflow: hidden;
		max-width: none;
		gap: 24px;
		padding: 12px 6px 24px;
		border-radius: 4px 4px 32px 32px;
		background: linear-gradient(241.44deg, #eeeeee 32.87%, #fafafa 66.72%, #88ade0 115.69%, #eeeeee 138.6%);
	}

	body.peptara-account .peptara-auth__left {
		width: 100%;
		min-height: 0;
		padding: 0;
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	body.peptara-account .peptara-auth__right {
		position: relative;
		z-index: 2;
		padding: 24px 6px;
		border: 1px solid var(--peptara-auth-border);
		border-radius: 28px;
		background: #fff;
	}

	body.peptara-account .peptara-auth-left {
		gap: 32px;
	}

	body.peptara-account .peptara-auth-left .peptara-auth-left__blur {
		left: 0;
		right: 0;
		bottom: 0;
	}

	body.peptara-account .peptara-auth-left .peptara-auth-left__top {
		min-height: 0;
	}

	body.peptara-account .peptara-auth-left .peptara-auth-left__intro {
		padding: 0 16px;
	}

	body.peptara-account .peptara-auth-left .peptara-auth-left__text {
		max-width: none;
		width: 100%;
		color: #151515;
		line-height: 1.2;
	}

	body.peptara-account .peptara-auth-left .peptara-auth-left__visual {
		top: 50px;
		right: auto;
		left: -76px;
		bottom: auto;
		width: 497.297px;
		max-width: none;
		height: 358.483px;
		transform: none;
	}

	body.peptara-account .peptara-auth-left__visual-rot {
		transform: scaleY(-1) rotate(-5.53deg);
	}

	body.peptara-account .peptara-auth-left__visual-blur {
		width: 469.163px;
		height: 314.761px;
	}

	body.peptara-account .peptara-auth-left .peptara-auth-left__divider {
		display: none;
	}

	body.peptara-account .peptara-auth-left .peptara-auth-trust {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		column-gap: 12px;
		row-gap: 12px;
		padding: 28px 16px;
	}

	body.peptara-account .peptara-auth-left .peptara-auth-trust__item {
		width: 151px;
	}

	body.peptara-account .peptara-auth-left .peptara-auth-trust__item:first-child {
		width: auto;
	}

	body.peptara-account .peptara-auth__tabs {
		height: 54px;
		margin: 0 0 32px;
	}

	body.peptara-account .peptara-auth__tab {
		padding: 16px 4px;
		font-size: 14px;
		white-space: nowrap;
	}

	body.peptara-account .peptara-auth__form button[type="submit"],
	body.peptara-account .peptara-auth__form .ur-submit-button,
	body.peptara-account .peptara-auth__form input[type="submit"] {
		margin-top: 32px !important;
	}
}
