/* Fair House CRM sign-in screen, in the Fair House Buyers look: white and blue, Poppins. */

@font-face{font-family:"Poppins";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/poppins-400.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/poppins-500.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/poppins-600.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/poppins-700.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/poppins-800.woff2) format("woff2")}

html { background: #fff; }
body.ccrm-login {
	margin: 0; min-height: 100vh; background: #fff; color: #44506A;
	font: 15px/1.6 "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body.ccrm-login * { box-sizing: border-box; }

.ccrm-art {
	position: fixed; top: 0; bottom: 0; left: 0; right: 42%; overflow: hidden;
	display: flex; flex-direction: column; color: #fff;
	background:
		radial-gradient(760px 520px at 78% 8%, rgba(255, 255, 255, .16), transparent 60%),
		radial-gradient(620px 520px at 8% 100%, rgba(156, 192, 255, .22), transparent 62%),
		linear-gradient(135deg, #1F5FD6 0%, #194FB6 45%, #143F93 75%, #0E2A5B 100%);
}
.ccrm-art::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(circle at 50% 46%, #000 0, transparent 70%); mask-image: radial-gradient(circle at 50% 46%, #000 0, transparent 70%);
}
.ccrm-art > * { position: relative; }

.ccrm-art__brand { display: flex; align-items: center; gap: 12px; padding: 30px 44px 0; color: #fff; text-decoration: none; }
.ccrm-art__brand svg { display: block; flex: none; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 10px 24px -10px rgba(10, 31, 69, .7); }
.fh-lockup { display: flex; flex-direction: column; line-height: 1.05; }
.fh-lockup__name { font-size: 21px; font-weight: 800; letter-spacing: -.025em; color: #fff; }
.fh-lockup__name span { color: #BFD4FF; }
.fh-lockup__tag { margin-top: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #BFD4FF; }

.ccrm-art__map { flex: 1 1 auto; min-height: 0; width: 100%; padding: 4px 20px 0; }
.ccrm-art__copy { padding: 6px 48px 46px; }
.ccrm-art__copy h2 { margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; color: #fff; }
.ccrm-art__copy h2 em { font-style: normal; color: #BFD4FF; }
.ccrm-art__copy p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #DCE8FF; max-width: 480px; }

.ccrm-art__ring { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1.2; stroke-dasharray: 2 9; transform-origin: 360px 360px; animation: ccrm-spin 140s linear infinite; }
.ccrm-art__ring--in { stroke: rgba(255, 255, 255, .2); animation-duration: 90s; animation-direction: reverse; }
.ccrm-art__link { stroke-width: 1.4; opacity: .38; }
.ccrm-art__packet { opacity: 0; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)); }
.ccrm-art__pulse { fill: none; stroke: #fff; stroke-width: 1.6; opacity: 0; transform-origin: 360px 360px; animation: ccrm-pulse 3.6s ease-out infinite; }
.ccrm-art__pulse--late { animation-delay: 1.8s; }
.ccrm-art__node { animation: ccrm-float 6.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.ccrm-art__name { fill: #fff; font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.ccrm-art__domain { fill: #BFD4FF; font-size: 12.5px; letter-spacing: .01em; }

@keyframes ccrm-spin { to { transform: rotate(360deg); } }
@keyframes ccrm-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.5); opacity: 0; } }
@keyframes ccrm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes ccrm-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

body.ccrm-login #login {
	position: relative; width: 42%; max-width: none; min-height: 100vh; margin: 0 0 0 58%; padding: 48px 0 72px;
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	background: radial-gradient(520px 360px at 100% 0, #EEF4FF, transparent 70%), #fff;
}
body.ccrm-login #login > * { width: min(380px, 84%); animation: ccrm-rise .5s ease both; }
body.ccrm-login #login > h1 { display: none; }

.ccrm-welcome { margin: 0 0 28px; }
.ccrm-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #1F5FD6; }
.ccrm-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: #1F5FD6; }
.ccrm-welcome h2 { margin: 14px 0 10px; font-size: clamp(30px, 2.7vw, 40px); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; color: #0E2A5B; }
.ccrm-welcome__name { color: #1F5FD6; }
.ccrm-welcome p { margin: 0; font-size: 15px; color: #6B7690; }

body.ccrm-login #login form { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; overflow: visible; font-weight: 400; }
body.ccrm-login #login form p { margin: 0; }
body.ccrm-login #login label { display: block; margin: 0 0 7px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: #0E1E3D; }
body.ccrm-login #login form .input,
body.ccrm-login #login input[type="text"],
body.ccrm-login #login input[type="password"],
body.ccrm-login #login input[type="email"] {
	display: block; width: 100%; height: 52px; min-height: 0; margin: 0 0 18px; padding: 0 15px;
	font: inherit; font-size: 16px; line-height: 1.2; color: #0E1E3D; caret-color: #1F5FD6;
	background: #fff; border: 1.5px solid #E4E9F2; border-radius: 12px; box-shadow: 0 1px 2px rgba(14, 30, 61, .04); outline: 0;
	transition: border-color .15s, box-shadow .15s;
}
body.ccrm-login #login input[type="text"]:hover,
body.ccrm-login #login input[type="password"]:hover,
body.ccrm-login #login input[type="email"]:hover { border-color: #C9D6EE; }
body.ccrm-login #login input[type="text"]:focus,
body.ccrm-login #login input[type="password"]:focus,
body.ccrm-login #login input[type="email"]:focus { border-color: #1F5FD6; box-shadow: 0 0 0 4px rgba(31, 95, 214, .14); }
body.ccrm-login #login input:-webkit-autofill,
body.ccrm-login #login input:-webkit-autofill:focus { -webkit-text-fill-color: #0E1E3D; -webkit-box-shadow: 0 0 0 1000px #F5F8FE inset; caret-color: #0E1E3D; transition: background-color 9999s; }

body.ccrm-login #login .wp-pwd { position: relative; }
body.ccrm-login #login .wp-pwd .input { padding-right: 50px; }
body.ccrm-login #login .wp-hide-pw {
	position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; min-width: 0; min-height: 0; margin: 0; padding: 0;
	display: flex; align-items: center; justify-content: center; color: #6B7690; background: transparent; border: 0; border-radius: 9px; box-shadow: none; cursor: pointer;
}
body.ccrm-login #login .wp-hide-pw:hover { color: #1F5FD6; background: #EEF4FF; }
body.ccrm-login #login .wp-hide-pw:focus { outline: 2px solid #4C83F0; outline-offset: 0; box-shadow: none; }
body.ccrm-login #login .wp-hide-pw .dashicons { position: static; width: 20px; height: 20px; font-size: 20px; }

body.ccrm-login #login .forgetmenot { display: flex; align-items: center; gap: 10px; float: none; margin: 2px 0 24px; }
body.ccrm-login #login .forgetmenot label { margin: 0; font-size: 14px; font-weight: 400; color: #44506A; cursor: pointer; }
body.ccrm-login #login input[type="checkbox"] {
	-webkit-appearance: none; appearance: none; position: relative; flex: none; width: 19px; height: 19px; min-width: 0; margin: 0;
	background: #fff; border: 1.5px solid #C9D6EE; border-radius: 5px; box-shadow: none; cursor: pointer; transition: background-color .12s, border-color .12s;
}
body.ccrm-login #login input[type="checkbox"]:checked { background: #1F5FD6; border-color: #1F5FD6; }
body.ccrm-login #login input[type="checkbox"]::before { content: none; }
body.ccrm-login #login input[type="checkbox"]:checked::after {
	content: ""; position: absolute; left: 5.5px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
body.ccrm-login #login input[type="checkbox"]:focus { outline: 2px solid #4C83F0; outline-offset: 2px; box-shadow: none; }

body.ccrm-login #login .submit { float: none; margin: 0; padding: 0; }
body.ccrm-login #login .button-primary,
body.ccrm-login #login #wp-submit {
	display: block; float: none; width: 100%; height: 54px; min-height: 0; margin: 0; padding: 0 18px;
	font: inherit; font-size: 16.5px; font-weight: 600; letter-spacing: -.005em; line-height: 1; color: #fff; text-shadow: none;
	background: #1F5FD6; border: 0; border-radius: 12px; cursor: pointer;
	box-shadow: 0 14px 28px -14px rgba(31, 95, 214, .85);
	transition: background-color .15s, transform .08s, box-shadow .15s;
}
body.ccrm-login #login .button-primary:hover { background: #194FB6; box-shadow: 0 18px 34px -14px rgba(20, 63, 147, .9); }
body.ccrm-login #login .button-primary:active { transform: translateY(1px); }
body.ccrm-login #login .button-primary:focus { outline: 3px solid #4C83F0; outline-offset: 2px; }

body.ccrm-login #login #nav { margin: 22px 0 0; padding: 0; font-size: 14px; text-align: left; color: #6B7690; }
body.ccrm-login #login #nav a,
body.ccrm-login #login a { color: #1F5FD6; font-weight: 500; text-decoration: none; transition: color .12s; }
body.ccrm-login #login #nav a:hover,
body.ccrm-login #login a:hover { color: #143F93; text-decoration: underline; text-underline-offset: 3px; }
body.ccrm-login #login a:focus { box-shadow: none; outline: 2px solid #4C83F0; outline-offset: 3px; border-radius: 4px; }
body.ccrm-login #backtoblog,
body.ccrm-login .privacy-policy-page-link,
body.ccrm-login .language-switcher { display: none; }

.fh-login-foot { position: fixed; left: 58%; right: 0; bottom: 24px; display: flex; justify-content: center; }
.fh-login-foot p { width: min(380px, 84%); margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #6B7690; }
.fh-login-foot svg { flex: none; color: #1F5FD6; }

body.ccrm-login #login #login_error,
body.ccrm-login #login .message,
body.ccrm-login #login .success,
body.ccrm-login #login .notice {
	margin: 0 0 20px; padding: 12px 14px; font-size: 14px; line-height: 1.5; color: #0E1E3D; word-wrap: break-word;
	background: #F5F8FE; border: 1px solid #E4E9F2; border-left: 3px solid #1F5FD6; border-radius: 10px; box-shadow: none;
}
body.ccrm-login #login #login_error,
body.ccrm-login #login .notice-error { border-left-color: #DC2626; background: #FEF2F2; }
body.ccrm-login #login .success { border-left-color: #16A34A; }
body.ccrm-login #login .notice p { margin: 0; }
body.ccrm-login #login .indicator-hint,
body.ccrm-login #login .description { color: #6B7690; font-size: 13px; }
body.ccrm-login #login #pass-strength-result { margin: -8px 0 16px; border-radius: 8px; color: #0E1E3D; }
body.ccrm-login #login .reset-pass-submit { display: flex; gap: 10px; flex-wrap: wrap; }
body.ccrm-login #login .button:not(.button-primary):not(.wp-hide-pw) {
	height: 44px; padding: 0 16px; font: inherit; font-size: 14px; font-weight: 500; color: #1F5FD6; background: #EEF4FF; border: 1px solid #DCE8FF; border-radius: 10px; box-shadow: none; cursor: pointer;
}

body.ccrm-login.interim-login .ccrm-art,
body.ccrm-login.interim-login .fh-login-foot { display: none; }
body.ccrm-login.interim-login #login { width: 100%; margin: 0; min-height: 0; padding: 28px 0; }

@media (max-width: 920px) {
	.ccrm-art { position: relative; right: auto; }
	.ccrm-art__brand { padding: 22px 22px 0; }
	.ccrm-art__map { flex: none; height: min(64vw, 340px); padding: 0 6px; }
	.ccrm-art__copy { display: none; }
	.ccrm-art__name { font-size: 22px; }
	.ccrm-art__domain { display: none; }
	body.ccrm-login #login { width: 100%; margin: 0; min-height: 0; padding: 34px 0 30px; justify-content: flex-start; }
	body.ccrm-login #login > * { width: min(420px, 88%); }
	.fh-login-foot { position: static; padding: 0 0 28px; }
}

@media (prefers-reduced-motion: reduce) {
	.ccrm-art__ring, .ccrm-art__pulse, .ccrm-art__node, body.ccrm-login #login > * { animation: none; }
	.ccrm-art__packet { display: none; }
}
