:root {
	--tritek-auth-accent: #6a008e;
	--tritek-auth-accent-hover: #8b00b4;
	--tritek-auth-border: #d8dbe0;
	--tritek-auth-text: #1a1a2e;
	--tritek-auth-icon: #6b7280;
}

/* ---------- Login page (#wppb-login-wrap) ---------- */

#wppb-login-wrap * {
	box-sizing: border-box;
}

#wppb-login-wrap .login-username,
#wppb-login-wrap .login-password {
	position: relative;
	margin-bottom: 20px;
}

#wppb-login-wrap label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tritek-auth-text);
}

#wppb-login-wrap .tritek-required {
	color: var(--tritek-auth-accent);
	margin-left: 4px;
}

#wppb-login-wrap input[type="text"],
#wppb-login-wrap input[type="password"] {
	width: 100%;
	padding: 12px 14px 12px 42px;
	border: 1px solid var(--tritek-auth-border);
	border-radius: 8px;
	font-size: 15px;
}

/* Icons sit on an ::after of the wrapping <p> (anchored to its bottom edge) since
   <input> is a replaced element and can't carry its own ::before/::after content. */
#wppb-login-wrap .login-username::after,
#wppb-login-wrap .login-password::after {
	content: "";
	position: absolute;
	left: 14px;
	bottom: 13px;
	width: 18px;
	height: 18px;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
}

#wppb-login-wrap .login-username::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 7 10 6 10-6'/%3E%3C/svg%3E");
}

#wppb-login-wrap .login-password::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}

.tritek-toggle-pass {
	box-sizing: border-box;
	position: absolute;
	right: 10px;
	bottom: 9px;
	width: 34px;
	height: 24px;
	cursor: pointer;
	border-left: 1px solid var(--tritek-auth-border);
	background-repeat: no-repeat;
	background-position: left 12px center;
	background-size: 18px 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.94 10.94 0 0 1 12 20c-7 0-11-8-11-8a21.27 21.27 0 0 1 5.06-6.06'/%3E%3Cpath d='M9.9 4.24A10.4 10.4 0 0 1 12 4c7 0 11 8 11 8a21.6 21.6 0 0 1-2.16 3.19'/%3E%3Cpath d='M1 1l22 22'/%3E%3C/svg%3E");
}

.tritek-toggle-pass.is-visible {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

#wppb-login-wrap .login-remember {
	display: flex;
	align-items: center;
	margin: 4px 0 24px;
}

#wppb-login-wrap #rememberme {
	width: 16px;
	height: 16px;
	accent-color: var(--tritek-auth-accent);
}

#wppb-login-wrap .login-remember label {
	display: inline;
	margin: 0 0 0 8px;
	font-size: 14px;
	font-weight: 400;
	color: #333;
}

#wppb-login-wrap .login-remember .login-lost-password {
	margin-left: auto;
	color: var(--tritek-auth-accent);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

#wppb-login-wrap #wppb-submit {
	width: 100%;
	padding: 14px;
	background: var(--tritek-auth-accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

#wppb-login-wrap #wppb-submit:hover {
	background: var(--tritek-auth-accent-hover);
}

/* ---------- Recover-password page (Profile Builder's own [wppb-recover-password]) ---------- */

#wppb-recover-password-container * {
	box-sizing: border-box;
}

/* Default Profile Builder instructional copy — replaced by the subtext you write in the page builder. */
#wppb-recover-password > p:first-child {
	display: none;
}

#wppb-recover-password ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#wppb-recover-password label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tritek-auth-text);
}

#wppb-recover-password .tritek-required {
	color: var(--tritek-auth-accent);
	margin-left: 4px;
}

#wppb-recover-password li.wppb-form-field {
	margin-bottom: 20px;
}

#wppb-recover-password li.wppb-username-email,
#wppb-recover-password li.passw1,
#wppb-recover-password li.passw2 {
	position: relative;
}

#wppb-recover-password li.wppb-username-email::after,
#wppb-recover-password li.passw1::after,
#wppb-recover-password li.passw2::after {
	content: "";
	position: absolute;
	left: 14px;
	bottom: 13px;
	width: 18px;
	height: 18px;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
}

#wppb-recover-password li.wppb-username-email::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 7 10 6 10-6'/%3E%3C/svg%3E");
}

#wppb-recover-password li.passw1::after,
#wppb-recover-password li.passw2::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}

#wppb-recover-password input[type="text"],
#wppb-recover-password input[type="password"] {
	width: 100%;
	padding: 12px 14px 12px 42px;
	border: 1px solid var(--tritek-auth-border);
	border-radius: 8px;
	font-size: 15px;
}

#wppb-recover-password .wppb-description-delimiter {
	display: none;
}

/* reCAPTCHA isn't in the mock but stays functional — just given breathing room in the card. */
#wppb-recover-password li.wppb-recaptcha label {
	display: none;
}

#wppb-recover-password li.wppb-recaptcha {
	margin-bottom: 20px;
}

#wppb-recover-password .form-submit {
	margin: 0;
}

#wppb-recover-password-button {
	width: 100%;
	padding: 14px;
	background: var(--tritek-auth-accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

#wppb-recover-password-button:hover {
	background: var(--tritek-auth-accent-hover);
}
