/*
 Theme Name:     Handlangers Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Handlangers Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* Center WP PDF Embedder container */

.pdfemb-viewer {
  margin: 0 auto !important;
}

/* -------------------------------------------------------------------------
   PotatoEurope – front page (exposantenzone login)
   ------------------------------------------------------------------------- */

body.pe-login-page {
	--pe-ink: #14261c;
	--pe-muted: #3d5647;
	--pe-leaf: #247a3e;
	--pe-leaf-deep: #14532d;
	--pe-paper: #ffffff;
	--pe-line: rgba(20, 38, 28, 0.14);
	--pe-danger: #9b1c1c;
	--pe-ok: #14532d;
	background: #edf6f0;
}

/* Let our panel own the page; strip Divi container constraints */
body.pe-login-page #page-container,
body.pe-login-page #et-boc,
body.pe-login-page #et-main-area,
body.pe-login-page #main-content,
body.pe-login-page #main-content > .container {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

body.pe-login-page #main-content > .container:before,
body.pe-login-page #main-content > .container:after {
	display: none !important;
}

/* Hide bloated Divi footer widgets on the login page */
body.pe-login-page #main-footer .footer-widget,
body.pe-login-page #footer-widgets,
body.pe-login-page #main-footer .et_pb_gutters3 {
	display: none !important;
}

body.pe-login-page #main-footer {
	background: #14532d !important;
}

body.pe-login-page #footer-bottom {
	padding: 1rem 0 !important;
	background: #0f3d22 !important;
}

body.pe-login-page .pe-home {
	position: relative;
	isolation: isolate;
	box-sizing: border-box;
	width: 100%;
	min-height: calc(100vh - 160px);
	padding: clamp(2.75rem, 7vw, 5rem) 1.25rem 3.5rem;
	color: var(--pe-ink);
	font-family: "Source Sans 3", "Segoe UI", sans-serif !important;
	font-size: 1.0625rem;
	line-height: 1.55;
	background:
		radial-gradient(100% 70% at 0% 0%, rgba(36, 122, 62, 0.22), transparent 55%),
		radial-gradient(80% 60% at 100% 10%, rgba(15, 70, 45, 0.16), transparent 45%),
		linear-gradient(160deg, #edf6f0 0%, #f4faf6 45%, #e3efe8 100%);
	overflow: hidden;
}

body.pe-login-page .pe-home__atmosphere {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		radial-gradient(circle at 20% 80%, rgba(36, 122, 62, 0.09) 0 1px, transparent 1px),
		radial-gradient(circle at 80% 30%, rgba(20, 83, 45, 0.08) 0 1px, transparent 1px);
	background-size: 28px 28px, 36px 36px;
	pointer-events: none;
}

body.pe-login-page .pe-home__shell {
	position: relative;
	z-index: 1;
	width: min(100%, 26rem);
	margin: 0 auto;
	animation: pe-home-rise 0.7s ease-out both;
}

@keyframes pe-home-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

body.pe-login-page .pe-home__brand {
	margin: 0 0 1.5rem;
	text-align: left;
}

body.pe-login-page .pe-home__brand-name {
	margin: 0;
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: clamp(2.4rem, 8vw, 3.2rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	line-height: 1.05 !important;
	color: var(--pe-leaf-deep) !important;
}

body.pe-login-page .pe-home__brand-sub {
	margin: 0.4rem 0 0;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pe-muted);
}

body.pe-login-page .pe-home__intro {
	margin: 0 0 1.5rem;
}

body.pe-login-page .pe-home__title {
	margin: 0 0 0.75rem !important;
	padding: 0 !important;
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: clamp(1.4rem, 4.5vw, 1.75rem) !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	color: var(--pe-ink) !important;
}

body.pe-login-page .pe-home__lead {
	margin: 0;
	color: var(--pe-muted);
}

body.pe-login-page .pe-home__auth,
body.pe-login-page .pe-home__register,
body.pe-login-page .pe-home__deadlines,
body.pe-login-page .pe-home__signoff {
	margin-top: 1.5rem;
}

body.pe-login-page .pe-home__auth {
	padding: 1.4rem 1.35rem 1.15rem;
	background: var(--pe-paper);
	border: 1px solid var(--pe-line);
	border-radius: 4px;
	box-shadow: 0 20px 44px rgba(20, 38, 28, 0.08);
}

body.pe-login-page .pe-home__notice {
	margin: 0 0 1rem;
	padding: 0.7rem 0.85rem;
	border-radius: 4px;
	font-size: 0.95rem;
}

body.pe-login-page .pe-home__notice--error {
	color: var(--pe-danger);
	background: rgba(155, 28, 28, 0.08);
	border: 1px solid rgba(155, 28, 28, 0.2);
}

body.pe-login-page .pe-home__notice--ok {
	color: var(--pe-ok);
	background: rgba(36, 122, 62, 0.08);
	border: 1px solid rgba(36, 122, 62, 0.18);
}

body.pe-login-page #pe-login-form {
	margin: 0;
}

body.pe-login-page #pe-login-form p {
	margin: 0 0 1rem !important;
}

body.pe-login-page #pe-login-form label {
	display: block !important;
	margin: 0 0 0.4rem !important;
	font-size: 0.92rem !important;
	font-weight: 600 !important;
	color: var(--pe-ink) !important;
}

body.pe-login-page #pe-login-form .input,
body.pe-login-page #pe-login-form input[type="text"],
body.pe-login-page #pe-login-form input[type="password"],
body.pe-login-page #pe-user-login,
body.pe-login-page #pe-user-pass {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	box-sizing: border-box !important;
	padding: 0.8rem 0.9rem !important;
	border: 1px solid rgba(20, 38, 28, 0.22) !important;
	border-radius: 4px !important;
	background: #fff !important;
	color: var(--pe-ink) !important;
	font: inherit !important;
	font-size: 1rem !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
}

body.pe-login-page #pe-login-form .input:focus,
body.pe-login-page #pe-login-form input[type="text"]:focus,
body.pe-login-page #pe-login-form input[type="password"]:focus {
	outline: none !important;
	border-color: var(--pe-leaf) !important;
	box-shadow: 0 0 0 3px rgba(36, 122, 62, 0.16) !important;
}

body.pe-login-page #pe-login-form .login-remember {
	display: flex !important;
	align-items: center;
	gap: 0.5rem;
}

body.pe-login-page #pe-login-form .login-remember label {
	margin: 0 !important;
	font-weight: 400 !important;
}

body.pe-login-page #pe-login-form .login-submit {
	margin-bottom: 0.25rem !important;
}

body.pe-login-page #pe-wp-submit,
body.pe-login-page .pe-home__btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 3rem;
	padding: 0.8rem 1.25rem !important;
	border: 1px solid transparent !important;
	border-radius: 4px !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.pe-login-page #pe-wp-submit,
body.pe-login-page .pe-home__btn--primary {
	background: var(--pe-leaf) !important;
	color: #fff !important;
}

body.pe-login-page #pe-wp-submit:hover,
body.pe-login-page .pe-home__btn--primary:hover {
	background: var(--pe-leaf-deep) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

body.pe-login-page .pe-home__btn--secondary {
	background: #fff !important;
	color: var(--pe-leaf-deep) !important;
	border-color: rgba(20, 83, 45, 0.35) !important;
}

body.pe-login-page .pe-home__btn--secondary:hover {
	background: rgba(36, 122, 62, 0.08) !important;
	border-color: var(--pe-leaf-deep) !important;
	color: var(--pe-leaf-deep) !important;
	transform: translateY(-1px);
}

body.pe-login-page .pe-home__forgot {
	margin: 0.5rem 0 0;
	text-align: center;
	font-size: 0.95rem;
}

body.pe-login-page .pe-home__forgot a {
	color: var(--pe-leaf-deep) !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.pe-login-page .pe-home__forgot a:hover {
	color: var(--pe-leaf) !important;
}

body.pe-login-page .pe-home__register-text,
body.pe-login-page .pe-home__contact,
body.pe-login-page .pe-home__deadlines p,
body.pe-login-page .pe-home__signoff p {
	margin: 0 0 0.85rem;
	color: var(--pe-muted);
}

body.pe-login-page .pe-home__actions {
	margin: 0 0 1rem;
}

body.pe-login-page .pe-home__contact a {
	color: var(--pe-leaf-deep) !important;
	font-weight: 600;
}

body.pe-login-page .pe-home__deadlines {
	padding-top: 1rem;
	border-top: 1px solid var(--pe-line);
	font-size: 0.98rem;
}

body.pe-login-page .pe-home__deadlines strong {
	color: var(--pe-ink);
	font-weight: 700;
}

body.pe-login-page .pe-home__signoff {
	padding-top: 0.15rem;
}

body.pe-login-page .pe-home__team {
	margin: 0;
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--pe-leaf-deep) !important;
}

@media (max-width: 600px) {
	body.pe-login-page .pe-home {
		min-height: auto;
		padding-top: 2rem;
		padding-bottom: 2.5rem;
	}

	body.pe-login-page .pe-home__auth {
		padding: 1.15rem;
	}
}