/**
 * M4TH5 Core — identity surfaces.
 *
 * Moved from wp-frictionless-pdf-seller/assets/css/frontend.css in Phase A.
 * Class names keep their wfps- prefix to match the markup, which was moved
 * verbatim; see PLAN_m4th5_core.md.
 *
 * .wfps-login__error and .wfps-login__ok are DUPLICATED in the seller's
 * frontend.css on purpose — the account dashboard stayed there and renders the
 * same two notice styles. Identical declarations, so whichever loads second
 * costs nothing. Change both together.
 */

/* ---- front-end login form ([wfps_login_form]) --------------------------
   Replaces the wp:edd/login block. Deliberately matches the look that block
   had on /my-account/ so the page does not visibly change when EDD goes. */
.wfps-login { max-width: 100%; font-family: sans-serif; }
.wfps-login__error {
	background: #fdecea; border: 1px solid #f5c2bd; border-radius: 4px;
	color: #a1241a; font-size: 14px; padding: 12px 15px; margin: 0 0 20px;
}
.wfps-login .login-username,
.wfps-login .login-password { margin: 0 0 18px; }
.wfps-login label { display: block; color: #333; font-size: 14px; margin-bottom: 6px; }
.wfps-login input[type="text"],
.wfps-login input[type="password"] {
	width: 100%; box-sizing: border-box; padding: 12px;
	border: 1px solid #ddd; border-radius: 4px; font-size: 15px; background: #fff;
}
.wfps-login input[type="text"]:focus,
.wfps-login input[type="password"]:focus { border-color: #d90707; outline: 2px solid rgba(217,7,7,.15); }
.wfps-login .login-remember { margin: 0 0 18px; }
.wfps-login .login-remember label { display: inline; color: #555; font-size: 14px; }
.wfps-login .login-remember input { margin-right: 8px; }
.wfps-login .login-submit input[type="submit"] {
	background: #d90707; color: #fff; border: 0; border-radius: 4px;
	padding: 13px 30px; font-size: 15px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .02em; cursor: pointer;
}
.wfps-login .login-submit input[type="submit"]:hover { background: #b80606; }
.wfps-login__lost { margin: 15px 0 0; font-size: 14px; }
.wfps-login__lost a { color: #666; text-decoration: underline; }

/* ---- front-end registration ([wfps_register_form]) --------------------- */
.wfps-register { max-width: 100%; font-family: sans-serif; }
.wfps-register__field { margin: 0 0 18px; }
.wfps-register__field label { display: block; color: #333; font-size: 14px; margin-bottom: 6px; }
.wfps-register__field input[type="email"],
.wfps-register__field input[type="password"],
.wfps-register__field select {
	width: 100%; box-sizing: border-box; padding: 12px;
	border: 1px solid #ddd; border-radius: 4px; font-size: 15px; background: #fff;
}
.wfps-register__field input:focus,
.wfps-register__field select:focus { border-color: #d90707; outline: 2px solid rgba(217,7,7,.15); }
.wfps-register__hint { display: block; color: #888; font-size: 12px; margin-top: 5px; }
.wfps-register__consent { margin: 0 0 20px; }
.wfps-register__consent label { color: #555; font-size: 14px; line-height: 1.5; display: flex; gap: 10px; align-items: flex-start; }
.wfps-register__consent input { margin-top: 3px; flex: none; }
.wfps-register__submit button {
	background: #d90707; color: #fff; border: 0; border-radius: 4px;
	padding: 13px 30px; font-size: 15px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .02em; cursor: pointer;
}
.wfps-register__submit button:hover { background: #b80606; }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.wfps-register__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* Success counterpart to .wfps-login__error (used by the register form's
   redirects and by the seller's dashboard). */
.wfps-login__ok {
	background: #edf7ed; border: 1px solid #c3e6c3; border-radius: 4px;
	color: #1e5b1e; font-size: 14px; padding: 12px 15px; margin: 0 0 20px;
}
