/* ==========================================================================
   Dolutech Blog — tela de login
   ========================================================================== */

@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/bricolage-grotesque-200-800-latin.woff2') format('woff2');
}

@font-face {
	font-family: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/ibm-plex-sans-400-latin.woff2') format('woff2');
}

@font-face {
	font-family: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
}

body.login {
	background-color: #22305a;
	background-image:
		linear-gradient(rgba(82, 144, 201, 0.1) 1px, transparent 1px),
		linear-gradient(90deg, rgba(82, 144, 201, 0.1) 1px, transparent 1px);
	background-size: 48px 48px;
	color: #0c0d0e;
	font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	min-height: 100vh;
	display: grid;
	align-content: center;
	justify-items: center;
	padding: 40px 16px;
}

.login h1 {
	margin-bottom: 8px;
}

html body.login #login h1 a,
html body.login .login h1 a {
	display: block !important;
	width: 238px !important;
	height: 52px !important;
	margin: 0 auto !important;
	background-image: url('../brand/logo-blog-dark.png') !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: contain !important;
	text-indent: -9999px !important;
	overflow: hidden !important;
}

.dolutech-login-tagline {
	max-width: 360px;
	margin: 0 auto 26px;
	color: #bfd0e4;
	font-family: 'IBM Plex Mono', ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.6;
}

.login form {
	background: #ffffff;
	border: 1px solid #d6d5d5;
	border-radius: 3px;
	box-shadow: 0 24px 60px rgba(9, 18, 32, 0.35);
	padding: 26px 24px 24px;
	width: 100%;
	max-width: 360px;
}

.login label {
	font-family: 'IBM Plex Mono', ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #54595f;
}

.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
	border: 1px solid #d6d5d5;
	border-radius: 3px;
	background: #ffffff;
	color: #0c0d0e;
	font-family: 'IBM Plex Sans', system-ui, sans-serif;
	font-size: 16px;
	padding: 10px 12px;
	box-shadow: none;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
	border-color: #235085;
	box-shadow: 0 0 0 1px #235085;
	outline: 2px solid transparent;
}

.wp-core-ui .button-primary {
	background: #235085;
	border: 1px solid #235085;
	border-radius: 3px;
	color: #ffffff;
	font-family: 'IBM Plex Sans', system-ui, sans-serif;
	font-weight: 600;
	text-shadow: none;
	box-shadow: none;
	height: 40px;
	padding: 0 18px;
	transition: background 180ms ease, border-color 180ms ease;
}

.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus {
	background: #2e68b1;
	border-color: #2e68b1;
	color: #ffffff;
}

.login #nav,
.login #backtoblog {
	text-align: center;
}

.login #nav a,
.login #backtoblog a,
.login .privacy-policy-page-link a {
	color: #a9c9e4;
	font-family: 'IBM Plex Mono', ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.login #nav a:hover,
.login #backtoblog a:hover,
.login .privacy-policy-page-link a:hover {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.login .message,
.login .success,
.login .notice {
	background: #ffffff;
	border: 1px solid #d6d5d5;
	border-left: 3px solid #235085;
	border-radius: 3px;
	box-shadow: none;
	color: #0c0d0e;
	font-family: 'IBM Plex Sans', system-ui, sans-serif;
}

.login .notice-error {
	border-left-color: #9b181c;
}

.dolutech-login-footer {
	margin-top: 26px;
	color: #a9c9e4;
	font-family: 'IBM Plex Mono', ui-monospace, monospace;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
}

.login .privacy-policy-page-link {
	margin-top: 18px;
}

.login .dashicons {
	color: #54595f;
}

@media (max-width: 480px) {
	.login h1 a {
		width: 200px;
		height: 44px;
	}

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