.rdhc-revchem-account,
.rdhc-revchem-login,
.rdhc-revchem-register,
.rdhc-revchem-password-reset {
	--rdhc-account-accent: #0177C0;
	--rdhc-account-accent-dark: #005f99;
	--rdhc-account-ink: #2a2a2a;
	--rdhc-account-muted: #666666;
	--rdhc-account-line: #ded7d2;
	--rdhc-account-field: #f4f4f4;
	--rdhc-account-surface: #ffffff;
	--rdhc-account-tint: #f7f2ef;
	color: var(--rdhc-account-ink);
	font-family: Montserrat, Arial, sans-serif;
	max-width: 760px;
	margin: 0 auto;
}

.rdhc-revchem-account,
.rdhc-revchem-login,
.rdhc-revchem-register,
.rdhc-revchem-password-reset {
	background: var(--rdhc-account-surface);
	border: 1px solid var(--rdhc-account-line);
	border-top: 5px solid var(--rdhc-account-accent);
	border-radius: 6px;
	box-shadow: 0 10px 28px rgba(42, 42, 42, 0.08);
	padding: 32px;
}

.rdhc-revchem-account form,
.rdhc-revchem-login form,
.rdhc-revchem-register form,
.rdhc-revchem-password-reset form {
	margin: 0;
}

.rdhc-revchem-account-form p,
.rdhc-revchem-register-form p,
.rdhc-revchem-password-reset-form p,
.rdhc-revchem-login form p {
	display: grid;
	grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
	align-items: center;
	column-gap: 22px;
	margin: 0 0 18px;
}

.rdhc-revchem-account label,
.rdhc-revchem-login label,
.rdhc-revchem-register label,
.rdhc-revchem-password-reset label {
	color: var(--rdhc-account-ink);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.35;
	margin: 0;
	text-transform: uppercase;
}

.rdhc-revchem-account input[type="text"],
.rdhc-revchem-account input[type="email"],
.rdhc-revchem-account input[type="password"],
.rdhc-revchem-login input[type="text"],
.rdhc-revchem-login input[type="password"],
.rdhc-revchem-register input[type="text"],
.rdhc-revchem-register input[type="email"],
.rdhc-revchem-register input[type="password"],
.rdhc-revchem-password-reset input[type="text"] {
	background: var(--rdhc-account-field);
	border: 1px solid #d7d1cd;
	border-radius: 4px;
	box-shadow: none;
	color: var(--rdhc-account-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.35;
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.rdhc-revchem-account input:focus,
.rdhc-revchem-login input:focus,
.rdhc-revchem-register input:focus,
.rdhc-revchem-password-reset input:focus {
	background: #ffffff;
	border-color: var(--rdhc-account-accent);
	box-shadow: 0 0 0 3px rgba(1, 119, 192, 0.16);
	outline: none;
}

.rdhc-revchem-account hr {
	border: 0;
	border-top: 1px solid var(--rdhc-account-line);
	margin: 26px 0 22px;
}

.rdhc-revchem-security {
	border-top: 1px solid var(--rdhc-account-line);
	margin-top: 28px;
	padding-top: 24px;
}

.rdhc-revchem-security h2 {
	color: var(--rdhc-account-ink);
	font-family: inherit;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0 0 14px;
	text-transform: none;
}

.rdhc-revchem-wordfence-2fa {
	background: var(--rdhc-account-field);
	border: 1px solid #d7d1cd;
	border-radius: 4px;
	margin-top: 18px;
	padding: 18px;
}

.rdhc-revchem-wordfence-2fa :first-child {
	margin-top: 0;
}

.rdhc-revchem-wordfence-2fa :last-child {
	margin-bottom: 0;
}

.rdhc-revchem-login .login-remember {
	grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
}

.rdhc-revchem-login .login-remember label {
	align-items: center;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	text-transform: none;
}

.rdhc-revchem-login input[type="checkbox"] {
	height: 18px;
	margin: 0 8px 0 0;
	width: 18px;
}

.rdhc-revchem-account-form p:last-of-type,
.rdhc-revchem-register-form p:last-of-type,
.rdhc-revchem-password-reset-form p:last-of-type,
.rdhc-revchem-login .login-submit {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 0;
}

.rdhc-revchem-account button,
.rdhc-revchem-register button,
.rdhc-revchem-password-reset button,
.rdhc-revchem-login input[type="submit"],
.rdhc-revchem-password-reset .button {
	background: var(--rdhc-account-accent);
	border: 0;
	border-radius: 4px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1;
	min-height: 46px;
	padding: 15px 22px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 160ms ease, transform 160ms ease;
}

.rdhc-revchem-account button:hover,
.rdhc-revchem-register button:hover,
.rdhc-revchem-password-reset button:hover,
.rdhc-revchem-login input[type="submit"]:hover,
.rdhc-revchem-password-reset .button:hover {
	background: var(--rdhc-account-accent-dark);
	color: #ffffff;
	transform: translateY(-1px);
}

.rdhc-revchem-account-links {
	color: var(--rdhc-account-muted);
	font-size: 14px;
	margin: 22px 0 0;
	text-align: right;
}

.rdhc-revchem-account-links a,
.rdhc-revchem-password-reset a {
	color: var(--rdhc-account-accent);
	font-weight: 800;
	text-decoration: none;
}

.rdhc-revchem-account-links a:hover,
.rdhc-revchem-password-reset a:hover {
	color: var(--rdhc-account-accent-dark);
	text-decoration: underline;
}

.rdhc-revchem-notice {
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 18px;
	padding: 14px 16px;
}

.rdhc-revchem-notice a {
	color: inherit;
	text-decoration: underline;
}

.rdhc-revchem-notice-error {
	background: #f4f4f4;
	border-left: 4px solid #005f99;
	color: #004b78;
}

.rdhc-revchem-notice-info {
	background: var(--rdhc-account-tint);
	border-left: 4px solid var(--rdhc-account-accent);
	color: var(--rdhc-account-ink);
}

.rdhc-revchem-notice-success {
	background: #eef8ef;
	border-left: 4px solid #2e7d32;
	color: #1f5a23;
}

.rdhc-revchem-notice-local {
	background: #eef7fd;
	border-left: 4px solid var(--rdhc-account-accent);
	color: #004b78;
}

@media (max-width: 680px) {
	.rdhc-revchem-account,
	.rdhc-revchem-login,
	.rdhc-revchem-register,
	.rdhc-revchem-password-reset {
		padding: 24px 18px;
	}

	.rdhc-revchem-account-form p,
	.rdhc-revchem-register-form p,
	.rdhc-revchem-password-reset-form p,
	.rdhc-revchem-login form p,
	.rdhc-revchem-login .login-remember {
		display: block;
		margin-bottom: 16px;
	}

	.rdhc-revchem-account label,
	.rdhc-revchem-login label,
	.rdhc-revchem-register label,
	.rdhc-revchem-password-reset label {
		display: block;
		margin-bottom: 7px;
	}

	.rdhc-revchem-account-form p:last-of-type,
	.rdhc-revchem-register-form p:last-of-type,
	.rdhc-revchem-password-reset-form p:last-of-type,
	.rdhc-revchem-login .login-submit {
		display: block;
	}

	.rdhc-revchem-account button,
	.rdhc-revchem-register button,
	.rdhc-revchem-password-reset button,
	.rdhc-revchem-login input[type="submit"],
	.rdhc-revchem-password-reset .button {
		width: 100%;
	}

	.rdhc-revchem-account-links {
		text-align: left;
	}
}
