/**
 * Page de connexion WordPress aux couleurs d'IzInvoice.
 */

body.login {
	background: linear-gradient(120deg, #0f284d 0%, #163f70 48%, #256fd1 100%);
	color: #3a4a5c;
	font-family: Arial, Helvetica, sans-serif;
}

#login {
	padding: 7vh 20px 40px;
	position: relative;
	width: 360px;
}

.login h1 a {
	background-image: url("../images/izinvoice-logo-white.png");
	background-position: center;
	background-size: contain;
	height: 70px;
	margin-bottom: 24px;
	width: 245px;
}

.login form {
	background: #fff;
	border: 0;
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(15, 40, 77, 0.28);
	padding: 32px;
}

.login label {
	color: #3a4a5c;
	font-size: 14px;
	font-weight: 600;
}

.login form .input,
.login input[type="text"] {
	background: #f4f7fb;
	border: 1px solid #e4e9f0;
	border-radius: 12px;
	box-shadow: none;
	color: #1a2738;
	font-size: 16px;
	min-height: 50px;
	padding: 8px 12px;
}

.login form .input:focus,
.login input[type="text"]:focus {
	background: #fff;
	border-color: #2b74e3;
	box-shadow: 0 0 0 3px rgba(43, 116, 227, 0.15);
}

.login .button.wp-hide-pw {
	align-items: center;
	background: transparent;
	border: 0;
	bottom: auto;
	box-shadow: none;
	box-sizing: border-box;
	color: #2b74e3;
	display: flex;
	height: 44px;
	justify-content: center;
	margin: 0;
	min-width: 44px;
	padding: 0;
	right: 3px;
	top: 50% !important;
	transform: translateY(-50%) !important;
}

.login .button.wp-hide-pw .dashicons {
	display: block;
	font-size: 20px;
	height: 20px;
	line-height: 20px;
	margin: 0;
	position: static;
	width: 20px;
}

.login .forgetmenot {
	align-items: center;
	display: flex;
	float: none !important;
	gap: 7px;
	margin: 14px 0 0 !important;
	width: 100%;
}

.login .forgetmenot label {
	align-items: center;
	display: inline-flex;
	line-height: 18px;
	margin: 0;
}

.login .forgetmenot input[type="checkbox"] {
	flex: 0 0 16px;
	height: 16px;
	margin: 0;
	width: 16px;
}

.login .forgetmenot .wp-tooltip {
	align-items: center;
	display: inline-flex;
	height: 20px;
	justify-content: center;
	margin: 0;
	vertical-align: middle;
}

.login .forgetmenot .wp-tooltip__toggle {
	align-items: center;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #3a4a5c;
	display: inline-flex;
	height: 20px;
	justify-content: center;
	margin: 0;
	min-height: 20px;
	padding: 0;
	width: 20px;
}

.login .forgetmenot .wp-tooltip__toggle .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	margin: 0;
	width: 16px;
}

.login .submit {
	clear: both;
	margin: 0;
	padding-top: 24px;
}

.wp-core-ui .button-primary {
	background: #2b74e3;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 10px 22px -8px rgba(43, 116, 227, 0.65);
	font-size: 15px;
	font-weight: 700;
	height: 51px;
	transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
	width: 100%;
}

.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus {
	background: #1b5fcf;
	box-shadow: 0 12px 26px -8px rgba(27, 95, 207, 0.75);
	transform: translateY(-1px);
}

.login #login_error,
.login .message,
.login .success {
	border: 0;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(15, 40, 77, 0.18);
}

.login #nav,
.login #backtoblog {
	padding: 0 12px;
	text-align: center;
}

.login #nav a,
.login #backtoblog a,
.login .privacy-policy-page-link a {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 600;
}

.login #nav a:hover,
.login #backtoblog a:hover,
.login .privacy-policy-page-link a:hover {
	color: #fff;
}

.login .language-switcher label {
	color: #fff;
	font-weight: 600;
}

.login .language-switcher label .dashicons {
	color: #fff;
	vertical-align: middle;
}

.login .language-switcher .button {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 8px;
	box-shadow: none;
	color: #fff;
	font-weight: 600;
}

.login .language-switcher .button:hover,
.login .language-switcher .button:focus {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
}

@media (max-width: 480px) {
	#login {
		box-sizing: border-box;
		padding-left: 20px;
		padding-right: 20px;
		width: 100%;
	}

	.login form {
		padding: 26px 24px;
	}
}
