/*
 * easy eating login surfaces
 * --------------------------
 * One child-theme stylesheet for the WooCommerce account login and the
 * native WordPress login. It changes presentation only; all forms, actions,
 * validation and provider integrations remain owned by WooCommerce/WordPress.
 */

:root {
	--ee-login-red: #ce1d35;
	--ee-login-red-dark: #a91429;
	--ee-login-cream: #fbf7f1;
	--ee-login-pink: #fce8e7;
	--ee-login-ink: #2f2927;
	--ee-login-muted: #766c68;
	--ee-login-line: #e9dfd9;
	--ee-login-white: #ffffff;
	--ee-login-shadow: 0 18px 45px rgba(74, 41, 32, 0.09);
	--ee-login-radius: 18px;
}

/* -------------------------------------------------------------------------
 * WooCommerce: Mein Konto -> Anmelden / Registrieren / Passwort zurücksetzen
 * ---------------------------------------------------------------------- */

body.ee-redesign .ee-account-content .woocommerce:has(.woocommerce-form-login) {
	box-sizing: border-box;
	display: block;
	max-width: 980px;
}

body.ee-redesign .ee-account-content .woocommerce:has(.woocommerce-form-login) #customer_login {
	display: grid;
	gap: 48px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.ee-redesign .ee-account-content .woocommerce:has(.woocommerce-form-login) #customer_login .col-1,
body.ee-redesign .ee-account-content .woocommerce:has(.woocommerce-form-login) #customer_login .col-2 {
	box-sizing: border-box;
	float: none !important;
	margin: 0;
	width: auto !important;
}

body.ee-redesign .ee-account-content .woocommerce:has(.woocommerce-form-login) #customer_login h2 {
	color: var(--ee-login-ink);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(32px, 4vw, 42px);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1;
	margin: 0 0 18px;
	text-align: center;
}

body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword,
body.ee-redesign .ee-account-content .woocommerce form.login {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	box-sizing: border-box;
	color: var(--ee-login-ink);
	margin: 0 auto;
	max-width: 920px;
	padding: clamp(24px, 4vw, 36px);
	width: 100%;
}

body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login .form-row,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register .form-row,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword .form-row,
body.ee-redesign .ee-account-content .woocommerce form.login .form-row {
	margin: 0 0 18px;
	padding: 0;
}

/* The outer account card already provides the frame. Keep every field row
 * full-width so the centered login surface feels deliberate and spacious. */
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login .form-row,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login .form-row-first,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login .form-row-last,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login .form-row-wide,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register .form-row,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register .form-row-first,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register .form-row-last,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register .form-row-wide,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword .form-row,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword .form-row-first,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword .form-row-last,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword .form-row-wide,
body.ee-redesign .ee-account-content .woocommerce form.login .form-row,
body.ee-redesign .ee-account-content .woocommerce form.login .form-row-first,
body.ee-redesign .ee-account-content .woocommerce form.login .form-row-last,
body.ee-redesign .ee-account-content .woocommerce form.login .form-row-wide {
	clear: both;
	float: none !important;
	margin-left: 0;
	margin-right: 0;
	width: 100% !important;
}

body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login label,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register label,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword label,
body.ee-redesign .ee-account-content .woocommerce form.login label {
	color: var(--ee-login-ink);
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 7px;
}

body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login input.input-text,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login input[type="text"],
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login input[type="email"],
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login input[type="password"],
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register input.input-text,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register input[type="text"],
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register input[type="email"],
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register input[type="password"],
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword input.input-text,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword input[type="text"],
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword input[type="email"],
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword input[type="password"],
body.ee-redesign .ee-account-content .woocommerce form.login input.input-text,
body.ee-redesign .ee-account-content .woocommerce form.login input[type="text"],
body.ee-redesign .ee-account-content .woocommerce form.login input[type="email"],
body.ee-redesign .ee-account-content .woocommerce form.login input[type="password"] {
	background: var(--ee-login-cream) !important;
	border: 1px solid #d9cec7 !important;
	border-radius: 10px !important;
	box-sizing: border-box;
	color: var(--ee-login-ink) !important;
	display: block;
	font-size: 16px !important;
	height: 50px;
	line-height: 1.35;
	margin: 0;
	min-height: 50px;
	padding: 12px 14px !important;
	width: 100%;
}

body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login .password-input,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register .password-input,
body.ee-redesign .ee-account-content .woocommerce form.login .password-input {
	display: block;
	width: 100%;
}

body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login input:focus,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register input:focus,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword input:focus,
body.ee-redesign .ee-account-content .woocommerce form.login input:focus {
	border-color: var(--ee-login-red) !important;
	box-shadow: 0 0 0 3px rgba(206, 29, 53, 0.16) !important;
	outline: 0;
}

body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login .woocommerce-form__label-for-checkbox,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register .woocommerce-form__label-for-checkbox,
body.ee-redesign .ee-account-content .woocommerce form.login .woocommerce-form__label-for-checkbox {
	align-items: center;
	color: var(--ee-login-muted);
	display: flex;
	font-size: 14px;
	font-weight: 400;
	gap: 9px;
	margin: 0;
}

body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login input[type="checkbox"],
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register input[type="checkbox"],
body.ee-redesign .ee-account-content .woocommerce form.login input[type="checkbox"] {
	accent-color: var(--ee-login-red);
	height: 18px;
	margin: 0;
	width: 18px;
}

body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login .form-row:last-of-type,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register .form-row:last-of-type,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword .form-row:last-of-type,
body.ee-redesign .ee-account-content .woocommerce form.login .form-row:last-of-type {
	margin-bottom: 0;
}

body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login button.button,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register button.button,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword button.button,
body.ee-redesign .ee-account-content .woocommerce form.login button.button,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login input.button,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register input.button,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword input.button,
body.ee-redesign .ee-account-content .woocommerce form.login input.button {
	background: var(--ee-login-red) !important;
	border: 1px solid var(--ee-login-red) !important;
	border-radius: 999px !important;
	box-sizing: border-box;
	color: var(--ee-login-white) !important;
	cursor: pointer;
	display: block;
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	min-height: 50px;
	padding: 13px 22px !important;
	text-align: center;
	width: 100%;
}

body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login button.button:hover,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login button.button:focus,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register button.button:hover,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register button.button:focus,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword button.button:hover,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword button.button:focus,
body.ee-redesign .ee-account-content .woocommerce form.login button.button:hover,
body.ee-redesign .ee-account-content .woocommerce form.login button.button:focus {
	background: var(--ee-login-red-dark) !important;
	border-color: var(--ee-login-red-dark) !important;
	color: var(--ee-login-white) !important;
}

body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login a,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register a,
body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword a,
body.ee-redesign .ee-account-content .woocommerce form.login a {
	color: var(--ee-login-red);
	font-weight: 600;
}

body.ee-redesign .ee-account-content .woocommerce .woocommerce-LostPassword,
body.ee-redesign .ee-account-content .woocommerce .lost_password {
	font-size: 14px;
	margin: 17px 0 0;
	text-align: center;
}

body.ee-redesign .ee-account-content .woocommerce .woocommerce-form-login__rememberme {
	margin-bottom: 18px;
}

body.ee-redesign .ee-account-content .woocommerce .woocommerce-form-login__submit {
	float: none;
}

/* WooCommerce may show the reset form without the two-column account shell. */
body.ee-redesign .ee-account-content .woocommerce:has(.woocommerce-ResetPassword) {
	display: block;
}

body.ee-redesign .ee-account-content .woocommerce .woocommerce-ResetPassword {
	margin-left: auto;
	margin-right: auto;
	max-width: 560px;
}

/* -------------------------------------------------------------------------
 * Native WordPress login: wp-login.php
 * ---------------------------------------------------------------------- */

body.login {
	background: var(--ee-login-cream) !important;
	color: var(--ee-login-ink);
	font-family: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
	min-height: 100vh;
}

body.login #login {
	box-sizing: border-box;
	margin: 0 auto;
	padding: clamp(34px, 8vh, 76px) 0 24px;
	width: min(420px, calc(100% - 32px));
}

body.login #login h1 {
	margin: 0 0 28px;
}

body.login #login h1 a {
	background-color: transparent !important;
	background-image: url("https://kurse.easyeating.at/reliant/wp-content/uploads/2024/09/LOGO_Easy-eating_poppy-red_ohne-Subline-scaled.webp") !important;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	box-shadow: none;
	display: block;
	height: 86px;
	margin: 0 auto;
	text-indent: -9999px;
	width: 230px;
}

body.login #loginform,
body.login #registerform,
body.login #lostpasswordform,
body.login #resetpassform {
	background: var(--ee-login-white);
	border: 1px solid var(--ee-login-line);
	border-radius: var(--ee-login-radius);
	box-shadow: var(--ee-login-shadow);
	box-sizing: border-box;
	margin: 0;
	padding: 30px;
	width: 100%;
}

body.login #loginform label,
body.login #registerform label,
body.login #lostpasswordform label,
body.login #resetpassform label {
	color: var(--ee-login-ink);
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 7px;
}

body.login #loginform input[type="text"],
body.login #loginform input[type="email"],
body.login #loginform input[type="password"],
body.login #registerform input[type="text"],
body.login #registerform input[type="email"],
body.login #registerform input[type="password"],
body.login #lostpasswordform input[type="text"],
body.login #lostpasswordform input[type="email"],
body.login #resetpassform input[type="text"],
body.login #resetpassform input[type="email"],
body.login #resetpassform input[type="password"] {
	background: var(--ee-login-cream) !important;
	border: 1px solid #d9cec7 !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	box-sizing: border-box;
	color: var(--ee-login-ink) !important;
	display: block;
	font-family: inherit;
	font-size: 16px !important;
	height: 50px;
	line-height: 1.35;
	margin: 0 0 18px;
	min-height: 50px;
	padding: 12px 14px !important;
	width: 100%;
}

body.login #loginform input:focus,
body.login #registerform input:focus,
body.login #lostpasswordform input:focus,
body.login #resetpassform input:focus {
	border-color: var(--ee-login-red) !important;
	box-shadow: 0 0 0 3px rgba(206, 29, 53, 0.16) !important;
	outline: 0;
}

body.login #loginform p,
body.login #registerform p,
body.login #lostpasswordform p,
body.login #resetpassform p {
	margin-top: 0;
}

body.login #loginform .forgetmenot {
	float: none;
	margin: 0 0 18px;
}

body.login #loginform .forgetmenot label {
	align-items: center;
	color: var(--ee-login-muted);
	display: flex;
	font-size: 14px;
	font-weight: 400;
	gap: 9px;
	margin: 0;
}

body.login #loginform input[type="checkbox"] {
	accent-color: var(--ee-login-red);
	height: 18px;
	margin: 0;
	width: 18px;
}

body.login #loginform .submit,
body.login #registerform .submit,
body.login #lostpasswordform .submit,
body.login #resetpassform .submit {
	clear: both;
	float: none;
	margin: 0;
	padding: 0;
}

body.login #wp-submit,
body.login #registerform .button-primary,
body.login #lostpasswordform .button-primary,
body.login #resetpassform .button-primary {
	background: var(--ee-login-red) !important;
	border: 1px solid var(--ee-login-red) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	box-sizing: border-box;
	color: var(--ee-login-white) !important;
	display: block;
	font-family: inherit;
	font-size: 15px !important;
	font-weight: 700;
	height: auto;
	line-height: 1.2;
	margin: 0;
	min-height: 50px;
	padding: 13px 22px !important;
	text-align: center;
	text-shadow: none;
	width: 100%;
}

body.login #wp-submit:hover,
body.login #wp-submit:focus,
body.login #registerform .button-primary:hover,
body.login #registerform .button-primary:focus,
body.login #lostpasswordform .button-primary:hover,
body.login #lostpasswordform .button-primary:focus,
body.login #resetpassform .button-primary:hover,
body.login #resetpassform .button-primary:focus {
	background: var(--ee-login-red-dark) !important;
	border-color: var(--ee-login-red-dark) !important;
	color: var(--ee-login-white) !important;
}

body.login #nav,
body.login #backtoblog {
	box-sizing: border-box;
	font-size: 14px;
	line-height: 1.5;
	margin: 18px 0 0;
	padding: 0;
	text-align: center;
	width: 100%;
}

body.login #backtoblog {
	margin-top: 10px;
}

body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a {
	color: var(--ee-login-red) !important;
	font-weight: 600;
	text-decoration: none;
}

body.login #nav a:hover,
body.login #nav a:focus,
body.login #backtoblog a:hover,
body.login #backtoblog a:focus,
body.login .privacy-policy-page-link a:hover,
body.login .privacy-policy-page-link a:focus {
	color: var(--ee-login-red-dark) !important;
	text-decoration: underline;
}

body.login .message,
body.login .notice,
body.login #login_error {
	background: var(--ee-login-white) !important;
	border: 1px solid var(--ee-login-line) !important;
	border-left: 4px solid var(--ee-login-red) !important;
	border-radius: 12px;
	box-shadow: none;
	box-sizing: border-box;
	color: var(--ee-login-ink);
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 18px;
	padding: 14px 16px;
	width: 100%;
}

body.login .message a,
body.login .notice a,
body.login #login_error a {
	color: var(--ee-login-red);
}

body.login #language-switcher {
	background: transparent;
	border: 0;
	box-shadow: none;
	box-sizing: border-box;
	color: var(--ee-login-muted);
	font-family: inherit;
	font-size: 13px;
	margin: 0 auto;
	max-width: 420px;
	padding: 0 16px 28px;
	text-align: center;
	width: min(100%, 420px);
}

body.login #language-switcher select {
	background: var(--ee-login-white);
	border: 1px solid var(--ee-login-line);
	border-radius: 8px;
	color: var(--ee-login-ink);
	font-family: inherit;
	font-size: 13px;
	min-height: 38px;
	padding: 7px 10px;
}

body.login #language-switcher .button {
	background: var(--ee-login-red);
	border: 1px solid var(--ee-login-red);
	border-radius: 999px;
	box-shadow: none;
	color: var(--ee-login-white);
	font-family: inherit;
	font-weight: 700;
	min-height: 38px;
}

body.login :focus-visible {
	outline: 3px solid #171c8f;
	outline-offset: 3px;
}

@media (max-width: 720px) {
	body.ee-redesign .ee-account-content .woocommerce:has(.woocommerce-form-login) #customer_login {
	gap: 28px;
	grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-login,
	body.ee-redesign .ee-account-content .woocommerce form.woocommerce-form-register,
	body.ee-redesign .ee-account-content .woocommerce form.woocommerce-ResetPassword,
	body.ee-redesign .ee-account-content .woocommerce form.login {
	padding: 22px;
	}

	body.login #login {
	padding-top: 30px;
	width: min(100% - 24px, 420px);
	}

	body.login #loginform,
	body.login #registerform,
	body.login #lostpasswordform,
	body.login #resetpassform {
	padding: 22px;
	}

	body.login #login h1 a {
	width: 205px;
	}
}
