@font-face {
	font-family: "Gilroy";
	src: url("../fonts/Gilroy-Light.woff2") format("woff2");
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gilroy";
	src: url("../fonts/Gilroy-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gilroy";
	src: url("../fonts/Gilroy-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

body.login {
	background-color: #8d7b68;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%), url(../img/login_bg.webp) lightgray 50% / cover no-repeat;
	background-size: cover;
	background-position: center;
	font-family: "Gilroy", sans-serif;
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}

body.login section.header,
body.login .ionos-group-page > .header {
	display: none !important;
}

hr.esh-login-hr {
    width: 40px;
    height: 1px !important;
    margin: auto;
    background: #C4956A;
    border: none;
}

body.login #login {
	width: 420px;
	max-width: calc(100% - 32px);
	background: #fff;
	border-radius: 28px;
	padding: 36px 36px 28px;
	box-shadow: 0 24px 60px rgba(30, 20, 10, 0.28);
	margin: 32px auto !important;
	float: none !important;
	position: relative !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
}

body.login .wp-login-logo {
	margin: 0px 0 2rem;
}

body.login .wp-login-logo a {
	background: url("../img/ESH_Typo_grey.svg") center / contain no-repeat !important;
	text-indent: -9999px;
	overflow: hidden;
	display: block;
	width: 210px;
	height: 58px;
	margin: 0 auto;
	font-size: 0;
	color: transparent !important;
	text-decoration: none;
}

body.login .wp-login-logo a::before,
body.login .wp-login-logo a::after {
	content: none;
	display: none;
}

.esh-portal-kicker {
	text-align: center;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-size: 11px;
	color: #8a8178;
	margin: 8px 0 18px;
}

.esh-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #f3f0eb;
	border-radius: 999px;
	padding: 4px;
	margin-bottom: 22px;
}

.esh-auth-tabs a {
	text-align: center;
	text-decoration: none;
	color: #8a8178;
	border-radius: 999px;
	padding: 8px 10px;
	font-weight: 600;
}

.esh-auth-tabs a.is-active {
	background: #fff;
	color: #2c2a28;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

body.login form {
	margin-top: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
	overflow: visible;
}

body.login form label {
	color: #6d675f;
	font-size: 13px;
}

body.login form .input,
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
	border: 1px solid #e6dfd6;
	border-radius: 999px;
	padding: 12px 16px;
	font-size: 15px;
	box-shadow: none;
	background: #fff;
}

body.login form .input:focus {
	border-color: #c4a36a;
	box-shadow: 0 0 0 1px #c4a36a;
}

body.login .forgetmenot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	float: none;
	margin: 8px 0 16px;
}

body.login .forgetmenot label { font-size: 14px; }

body.login .esh-lost a {
	color: #b89255;
	text-decoration: none;
	font-size: 14px;
}

body.login .wp-hide-pw { border-radius: 999px; }

body.login form .submit { float: none; }
body.login form .submit .button,
body.login #wp-submit {
	width: 100%;
	float: none;
	border: 0 !important;
	border-radius: 999px !important;
	background: #c49a6c !important;
	color: #fff !important;
	text-shadow: none !important;
	box-shadow: none !important;
	height: auto !important;
	padding: 12px 16px !important;
	font-size: 16px !important;
	line-height: 1.3 !important;
}

body.login #nav,
body.login .esh-login-fine {
	text-align: center;
	margin: 14px 0 0;
	padding: 0;
	color: #8a8178;
	font-size: 14px;
}

body.login #nav a { color: #c49a6c; font-weight: 700; text-decoration: none; }
body.login .esh-login-fine { font-size: 12px; }
body.login #backtoblog,
body.login .language-switcher,
body.login .privacy-policy-page-link,
body.login .forgetmenot button { display: none !important; }

body.login .message,
body.login #login_error {
	border-radius: 12px;
	border-left-color: #c4a36a;
}

body.login.login-action-register {
	align-items: flex-start;
}

body.login.login-action-register #login {
	width: 460px;
}

body.login .esh-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

body.login form label span,
.esh-field-hint {
	color: #8a8178;
	font-weight: 400;
}

.esh-field-hint {
	display: block;
	margin-top: 6px;
	font-size: 12px;
}

.esh-verband-field {
	position: relative;
	margin: 0 0 16px;
}

.esh-verband-list {
	position: absolute;
	z-index: 20;
	top: calc(100% - 10px);
	left: 0;
	right: 0;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid #e6dfd6;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(30, 20, 10, 0.08);
}

.esh-verband-list button {
	display: block;
	width: 100%;
	text-align: left;
	background: transparent;
	border: 0;
	border-radius: 8px;
	padding: 8px 10px;
	cursor: pointer;
	font: inherit;
}

.esh-verband-list button:hover {
	background: #f3f0eb;
}

.esh-verband-suggest {
	margin-top: 8px;
	padding: 12px;
	border-radius: 14px;
	background: #f7f3ec;
}

.esh-verband-suggest p {
	margin: 0 0 10px;
}

.esh-verband-suggest .button {
	display: block;
	width: 100%;
	margin: 0 0 8px;
	border-radius: 999px;
	padding: 10px 14px;
	text-align: center;
}

.esh-register-place {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 12px;
}

body.login button.is-busy {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: progress;
}

body.login button.is-busy::before {
	content: "";
	width: 14px;
	height: 14px;
	border: 2px solid color-mix(in srgb, currentColor 35%, transparent);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: esh-login-spin 0.7s linear infinite;
}

@keyframes esh-login-spin {
	to { transform: rotate(360deg); }
}

.esh-register-done-text {
	margin: 8px 0 0;
	text-align: center;
	color: #3f3a35;
	font-size: 16px;
	line-height: 1.5;
}

body.login.esh-register-done #nav,
body.login.esh-register-done .esh-login-fine:empty {
	display: none;
}
