/* Impact Verbond — inlogscherm */

:root {
	--iv-paars: #44001a;
	--iv-roze: #f92a82;
	--iv-kop: "Inter", Arial, sans-serif;
	--iv-tekst: "Roboto Slab", Georgia, serif;
}

html {
	background: var(--iv-paars);
}

body.login {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 40px 16px;
	box-sizing: border-box;
	background: linear-gradient(115deg, #44001a 0%, #5c0629 35%, #94114f 70%, #f92a82 100%) fixed;
	font-family: var(--iv-tekst);
	color: #fff;
}

body.login > * {
	order: 4;
}

body.login #login {
	order: 1;
}

body.login .language-switcher {
	order: 2;
}

body.login .ivb-contact {
	order: 3;
}

/* Formulierblok */
.login #login {
	width: 100%;
	max-width: 360px;
	padding: 0;
	margin: 0;
}

.login h1 a {
	width: 90px;
	height: 41px;
	margin: 0 auto 24px;
	background: url("logo-diapositief.png") center / contain no-repeat;
}

.login h1 a:focus {
	outline: 2px solid #fff;
	outline-offset: 6px;
	box-shadow: none;
}

.login form {
	margin: 0;
	padding: 28px;
	border: 0;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(30, 0, 12, 0.3);
	color: var(--iv-paars);
}

.login label,
.login form .forgetmenot label {
	font-family: var(--iv-tekst);
	font-weight: 400;
	font-size: 13px;
	color: var(--iv-paars);
}

.login form .input,
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
	min-height: 44px;
	margin: 6px 0 18px;
	padding: 6px 12px;
	border: 1px solid #e3d9dd;
	border-radius: 6px;
	background: #fff;
	font-family: var(--iv-tekst);
	font-size: 16px;
	color: var(--iv-paars);
	box-shadow: none;
}

.login form .input:focus,
.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
	border-color: var(--iv-roze);
	box-shadow: 0 0 0 1px var(--iv-roze);
	outline: 0;
}

.login .button.wp-hide-pw {
	top: 6px;
	height: 44px;
	min-width: 44px;
	color: #9a7c88;
}

.login .button.wp-hide-pw:hover,
.login .button.wp-hide-pw:focus {
	color: var(--iv-roze);
	border-color: transparent;
	box-shadow: none;
}

.login input[type="checkbox"] {
	border-color: #cdbcc3;
	border-radius: 4px;
}

.login input[type="checkbox"]:focus {
	border-color: var(--iv-roze);
	box-shadow: 0 0 0 1px var(--iv-roze);
}

.login input[type="checkbox"]:checked::before {
	filter: hue-rotate(110deg) saturate(2);
}

.login #login form .forgetmenot {
	float: none;
	margin-bottom: 0;
}

.login #login form p.submit {
	margin-top: 24px;
}

.wp-core-ui.login .button-primary,
.login .button-primary {
	float: none;
	width: 100%;
	min-height: 44px;
	border: 0;
	border-radius: 6px;
	background: var(--iv-paars);
	box-shadow: none;
	text-shadow: none;
	font-family: var(--iv-tekst);
	font-weight: 500;
	font-size: 15px;
	color: #fff;
	transition: background-color 0.15s ease;
}

.wp-core-ui.login .button-primary:hover,
.wp-core-ui.login .button-primary:focus,
.login .button-primary:hover,
.login .button-primary:focus {
	background: var(--iv-roze);
	color: #fff;
}

.wp-core-ui.login .button-primary:focus {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--iv-roze);
}

/* Meldingen: informatief (bijv. uitgelogd) als rustige tekst */
.login .message,
.login .notice-info,
.login .success {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
	font-weight: 300;
	font-size: 14px;
	color: #fff;
}

.login .message p,
.login .notice-info p,
.login .success p {
	margin: 0;
	padding: 0;
}

/* Foutmeldingen blijven opvallen */
.login #login_error,
.login .notice-error {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 0;
	border-left: 4px solid var(--iv-roze);
	border-radius: 6px;
	background: #fff;
	box-shadow: none;
	font-size: 13px;
	color: var(--iv-paars);
}

.login #login_error a,
.login .notice-error a {
	color: var(--iv-roze);
}

/* Links onder het formulier */
.login #nav,
.login #backtoblog {
	margin: 16px 0 0;
	padding: 0;
	text-align: center;
	font-weight: 300;
	font-size: 13px;
}

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

.login #nav a,
.login #backtoblog a,
.login .privacy-policy-page-link a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

.login #nav a:hover,
.login #backtoblog a:hover,
.login .privacy-policy-page-link a:hover,
.login #nav a:focus,
.login #backtoblog a:focus {
	color: #fff;
	text-decoration: underline;
	box-shadow: none;
}

/* Hulp nodig? */
.ivb-contact {
	width: 100%;
	max-width: 440px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	text-align: center;
}

.ivb-contact__title {
	margin: 0 0 12px;
	font-family: var(--iv-tekst);
	font-weight: 400;
	font-size: 13px;
	color: #fff;
}

.ivb-contact ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ivb-contact li {
	margin: 0;
}

.ivb-contact a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 300;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.ivb-contact a:hover,
.ivb-contact a:focus {
	color: #fff;
	text-decoration: underline;
	box-shadow: none;
}

.ivb-icon {
	width: 13px;
	height: 13px;
	flex: none;
}

/* Privacy en taalkeuze: klein en op de achtergrond */
.login .privacy-policy-page-link {
	margin: 20px 0 0;
	font-size: 12px;
}

.login .language-switcher {
	margin-top: 20px;
}

.login .language-switcher label,
.login .language-switcher label .dashicons {
	color: #fff;
}

.login .language-switcher label {
	font-size: 12px;
}

.login .language-switcher select,
.login .language-switcher .button {
	min-height: 30px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 6px;
	background-color: transparent;
	font-size: 12px;
	color: #fff;
}

.login .language-switcher select {
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E");
}

.login .language-switcher select option {
	color: #44001a;
}

.login .language-switcher .button:hover,
.login .language-switcher .button:focus {
	border-color: #fff;
	background: transparent;
	color: #fff;
}

@media (max-width: 480px) {
	body.login {
		justify-content: flex-start;
		padding-top: 48px;
	}

	.login h1 a {
		margin-bottom: 20px;
	}

	.login form {
		padding: 22px 18px;
	}
}
