/* Five Minute Menu: sign in and sign up pages */
body.login {
	background-color: #F6F0E4;
	background-image:
		repeating-linear-gradient(0deg, rgba(78,107,74,.16) 0 10px, transparent 10px 20px),
		repeating-linear-gradient(90deg, rgba(78,107,74,.16) 0 10px, transparent 10px 20px),
		repeating-linear-gradient(0deg, rgba(78,107,74,.16) 0 10px, transparent 10px 20px),
		repeating-linear-gradient(90deg, rgba(78,107,74,.16) 0 10px, transparent 10px 20px);
	background-size: 100% 20px, 100% 20px, 100% 20px, 100% 20px;
	background-position: top left, top left, bottom left, bottom left;
	background-repeat: repeat-x;
	color: #2F2A24;
	font-family: 'Figtree', 'Segoe UI', sans-serif;
	font-size: 16px;
}
body.login #login { width: 100%; max-width: 380px; padding: 64px 20px 56px; box-sizing: border-box; }

/* Logo: sprig plus the site name */
body.login h1 a {
	background: none !important;
	width: auto !important; height: auto !important;
	text-indent: 0 !important; overflow: visible !important;
	display: flex !important; align-items: center; justify-content: center; gap: 10px;
	font-family: 'Fraunces', Georgia, serif; font-size: 28px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2;
	color: #2F2A24 !important; text-decoration: none; margin: 0 auto 30px !important;
}
body.login h1 a::before {
	content: ""; width: 40px; height: 40px; flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34' fill='none' stroke='%234E6B4A' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M17 31V9'/%3E%3Cpath d='M17 16c-5 0-8-3-8-7 4 0 8 3 8 7z'/%3E%3Cpath d='M17 22c5 0 8-3 8-7-4 0-8 3-8 7z'/%3E%3Ccircle cx='17' cy='6' r='3' fill='%23A04E5C' stroke='none'/%3E%3C/svg%3E") no-repeat center / contain;
}
body.login h1 a:focus { box-shadow: none; outline: 2px solid #4E6B4A; outline-offset: 4px; }

/* Hello line above the card */
body.login .fmm-login-hello { text-align: center; margin: 0 0 26px; }
body.login .fmm-login-hello p { margin: 0; color: #5E564B; font-size: 15px; line-height: 1.5; }
body.login .fmm-login-hello .fmm-login-title { font-family: 'Caveat', cursive; font-weight: 700; font-size: 42px; line-height: 1; color: #2F2A24; margin-bottom: 6px; transform: rotate(-2deg); }

/* The form sits on a recipe card with washi tape */
body.login form {
	position: relative;
	margin-top: 0 !important;
	background: #FFFDF8 !important;
	background-image: repeating-linear-gradient(0deg, transparent 0 33px, rgba(78,107,74,.08) 33px 34px) !important;
	border: 1px solid #E3D8C3 !important; border-radius: 8px;
	box-shadow: 0 22px 44px -26px rgba(60,45,25,.45) !important;
	padding: 34px 30px 28px !important;
	overflow: visible !important;
	transform: rotate(-0.6deg);
}
body.login form::before {
	content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; margin-left: -55px;
	transform: rotate(3deg);
	background-color: rgba(160,78,92,.55);
	background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.45) 0 6px, transparent 6px 12px);
}
body.login #registerform::before { background-color: rgba(78,107,74,.5); transform: rotate(-3deg); }
body.login #login_error, body.login .message, body.login .notice { margin-bottom: 22px !important; }

body.login label { font-weight: 600; font-size: 15px; color: #2F2A24; }
body.login form .input,
body.login input[type="text"],
body.login input[type="email"],
body.login input[type="password"] {
	font-family: inherit; font-size: 17px !important;
	padding: 10px 14px !important; min-height: 48px;
	border: 1.5px solid #D9CCB4 !important; border-radius: 12px !important;
	background: #FFFFFF !important; box-shadow: none !important;
	margin: 6px 0 16px !important;
}
body.login form .input:focus,
body.login input:focus { border-color: #4E6B4A !important; box-shadow: 0 0 0 3px rgba(78,107,74,.18) !important; outline: none; }
body.login .wp-pwd .button.wp-hide-pw { color: #4E6B4A; top: 6px; }
body.login .wp-pwd .button.wp-hide-pw:focus { box-shadow: 0 0 0 2px #4E6B4A; }

body.login .forgetmenot { float: none; margin-bottom: 18px !important; display: flex; align-items: center; gap: 10px; }
body.login .forgetmenot label { font-weight: 400; display: flex; align-items: center; gap: 8px; }
body.login input[type="checkbox"] { accent-color: #4E6B4A; width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid #D9CCB4; margin: 0 !important; }
body.login input[type="checkbox"]:checked::before { content: none; }

body.login #reg_passmail { font-size: 14px; color: #5E564B; margin: 0 0 18px; }

body.login .submit { float: none !important; text-align: center; }
body.login .wp-core-ui .button-primary,
body.login .button.button-primary {
	float: none !important; width: 100%;
	background: #A04E5C !important; border: 0 !important; color: #FFFFFF !important;
	border-radius: 999px !important; min-height: 50px !important; padding: 12px 24px !important;
	font-family: inherit; font-size: 17px !important; font-weight: 600; line-height: 1.4 !important;
	box-shadow: 3px 3px 0 #2F2A24 !important; text-shadow: none !important; cursor: pointer;
}
body.login .button.button-primary:hover { background: #8A3F4C !important; }
body.login .button.button-primary:focus { outline: 3px solid #F2C94C; outline-offset: 3px; }

/* Messages and errors (height override fixes a host add-on that pins these at 30px) */
body.login .message, body.login .notice, body.login #login_error {
	height: auto !important; min-height: 0 !important;
	padding: 14px 18px !important; margin: 0 0 22px !important;
	background: #FFFDF8 !important; border: 1px solid #E3D8C3 !important; border-left: 5px solid #4E6B4A !important;
	border-radius: 10px !important; box-shadow: none !important;
	font-size: 15px; line-height: 1.55; color: #2F2A24;
}
body.login .message p, body.login .notice p, body.login #login_error p { margin: 0 !important; padding: 0 !important; font-size: 15px !important; line-height: 1.55 !important; }
body.login .message p + p, body.login .notice p + p { margin-top: 8px !important; }
body.login .message a, body.login .notice a, body.login #login_error a { color: #4E6B4A; font-weight: 600; }
body.login #login_error, body.login .notice-error { border-left-color: #A04E5C !important; }

/* Links under the card */
body.login #nav, body.login #backtoblog { text-align: center; font-size: 15px; padding: 0; margin: 18px 0 0; }
body.login #nav a, body.login #backtoblog a { color: #4E6B4A !important; font-weight: 600; }
body.login #nav a:hover, body.login #backtoblog a:hover { color: #2F4A2C !important; text-decoration: underline wavy #A04E5C; text-underline-offset: 5px; }
body.login #backtoblog a { font-weight: 400; }
body.login .privacy-policy-page-link { margin: 24px 0 0; }
body.login .privacy-policy-page-link a { color: #4E6B4A; }
body.login .language-switcher { display: none; }
