/* G-SportSE Login – huisstijl 3.0 (donker) */
body.login {
	background: #161D29 url("../img/login-achtergrond.jpg") center center / cover no-repeat !important;
	min-height: 100vh;
	background-image: image-set(url("../img/login-achtergrond.webp") type("image/webp"), url("../img/login-achtergrond.jpg") type("image/jpeg")) !important;
	font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #DCE3EC;
}

/* Oude particles van het thema verbergen */
body.login #particles-js,
body.login .particles-js-canvas-el,
body.login canvas { display: none !important; }

/* Logo */
body.login #login h1 a,
body.login .login h1 a {
	background: url("../img/logo-donker.svg") center / contain no-repeat !important;
	width: 280px !important;
	max-width: 100%;
	height: 73px !important;
	margin: 0 auto 28px !important;
	padding: 0 !important;
	text-indent: -9999px;
	overflow: hidden;
}

#login { width: 360px; max-width: calc(100% - 32px); padding-top: 8vh; }

/* Formulier */
body.login #login form {
	background: #20293A !important;
	border: 1px solid #3A475E !important;
	border-radius: 16px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .35) !important;
	padding: 28px 28px 30px !important;
	margin-top: 0;
}

body.login label { color: #DCE3EC; font-size: 15px; font-weight: 700; }

body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
	background: #161D29 !important;
	border: 1px solid #3A475E !important;
	border-radius: 10px !important;
	color: #F9FAFC !important;
	font-family: "Nunito", sans-serif;
	font-size: 18px;
	padding: 6px 12px;
	box-shadow: none !important;
}
body.login input[type="text"]:focus,
body.login input[type="password"]:focus,
body.login input[type="email"]:focus {
	border-color: #509BD5 !important;
	box-shadow: 0 0 0 3px rgba(80, 155, 213, .3) !important;
	outline: none;
}
body.login input:-webkit-autofill {
	-webkit-text-fill-color: #F9FAFC;
	-webkit-box-shadow: 0 0 0 40px #161D29 inset !important;
	caret-color: #F9FAFC;
}

body.login .wp-hide-pw,
body.login .wp-hide-pw:hover,
body.login .wp-hide-pw:focus { color: #509BD5 !important; background: transparent !important; border-color: transparent !important; box-shadow: none !important; }

body.login input[type="checkbox"] {
	background: #161D29;
	border: 1px solid #3A475E;
	border-radius: 4px;
}
body.login input[type="checkbox"]:checked::before { filter: hue-rotate(160deg) saturate(2); }
body.login input[type="checkbox"]:focus { border-color: #509BD5; box-shadow: 0 0 0 2px rgba(80, 155, 213, .4); }

/* Knop */
body.login .button-primary,
body.login .button.button-large {
	background: #509BD5 !important;
	border: 0 !important;
	border-radius: 10px !important;
	color: #161D29 !important;
	font-family: "Montserrat", sans-serif;
	font-weight: 800;
	font-size: 15px !important;
	text-shadow: none !important;
	box-shadow: none !important;
	min-height: 42px !important;
	padding: 0 22px !important;
	transition: background .15s ease;
}
body.login .button-primary:hover,
body.login .button-primary:focus { background: #6ED29C !important; color: #161D29 !important; }
body.login .button-primary:focus { box-shadow: 0 0 0 3px rgba(110, 210, 156, .35) !important; }

/* Links onder het formulier */
body.login #nav,
body.login #backtoblog { text-align: center; padding: 0; }
body.login #nav { margin-top: 20px; }
body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-link { color: #B4BFCE !important; font-size: 14px; }
body.login #nav a:hover,
body.login #backtoblog a:hover,
body.login .privacy-policy-link:hover { color: #6ED29C !important; }

/* Meldingen */
body.login .message,
body.login .notice,
body.login .success,
body.login #login_error {
	background: #20293A !important;
	color: #DCE3EC;
	border: 1px solid #3A475E;
	border-left: 4px solid #509BD5 !important;
	border-radius: 10px;
	box-shadow: none !important;
}
body.login #login_error,
body.login .notice-error { border-left-color: #E26D6D !important; }
body.login .success { border-left-color: #6ED29C !important; }
body.login .message a,
body.login #login_error a { color: #509BD5; }

/* Taalkeuze onderaan */
body.login .language-switcher form { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.login .language-switcher label .dashicons { color: #B4BFCE; }
body.login .language-switcher select {
	background-color: #20293A;
	border: 1px solid #3A475E;
	border-radius: 8px;
	color: #DCE3EC;
}
body.login .language-switcher .button {
	background: transparent;
	border: 1px solid #509BD5;
	border-radius: 8px;
	color: #509BD5;
}

@media (max-width: 480px) {
	#login { padding-top: 6vh; }
	body.login form { padding: 22px 20px 24px !important; }
	body.login #login h1 a, body.login .login h1 a { width: 230px !important; height: 60px !important; }
}
