/* Padrão visual compartilhado com a entrada do ISP; limitado ao acesso. */
body:has(.jmf-login:not([hidden])), body:has(.desk-auth) {
	margin: 0;
	min-height: 100vh;
	background: url('/login-padrao/login-background.jpg') center / cover fixed no-repeat !important;
	font-family: BlinkMacSystemFont, -apple-system, 'Segoe UI', sans-serif;
	color: #4a4a4a;
}
body:has(.jmf-login) > header, body:has(.desk-auth) > header {
	display: none;
}
body:has(.jmf-login) > main {
	max-width: none;
	padding: 0 15px 85px;
}
.jmf-login, .desk-auth {
	box-sizing: border-box;
	width: calc(100% - 30px);
	max-width: 570px;
	margin: 80px auto 90px;
	padding: 20px;
	border: 0;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 3px #0a0a0a1a, 0 0 0 1px #0a0a0a1a;
	color: #4a4a4a;
	font-size: 16px;
	color-scheme: light;
}
.jmf-login *, .desk-auth * { box-sizing: border-box; }
.jmf-login .brand, .desk-auth .desk-brand {
	display: block;
	margin: -70px 0 20px;
	text-align: left;
}
.jmf-login .brand img.jmf-company-logo, .desk-auth .desk-brand img {
	width: 210px !important;
	height: auto !important;
	max-height: 170px;
	margin: 0;
	object-fit: contain;
	padding: 5px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 3px #0a0a0a1a, 0 0 0 1px #0a0a0a1a;
}
.jmf-login h1, .desk-auth h1 { font-size: 20px; margin: 12px 0; letter-spacing: normal; }
.jmf-login p, .desk-auth p { color: #4a4a4a; line-height: 1.5; }
.jmf-login label, .desk-auth label { display: block; margin: 0 0 12px; font-size: 14px; color: #4a4a4a; }
.jmf-login input:not([type=hidden]):not([type=checkbox]):not([type=radio]), .desk-auth input:not([type=hidden]) {
	display: block;
	width: 100%;
	height: 45px;
	margin: 5px 0 0;
	padding: 8px 12px;
	border: 1px solid #dbdbdb;
	border-radius: 4px;
	background: #fff;
	color: #363636;
	font: 300 20px BlinkMacSystemFont, -apple-system, 'Segoe UI', sans-serif;
	box-shadow: inset 0 1px 2px #0a0a0a1a;
}
.jmf-login input:focus, .desk-auth input:focus { outline: 2px solid #209cee; outline-offset: 1px; }
.jmf-login input:disabled { background: #f5f5f5; color: #7a7a7a; }
.jmf-login .login-actions button, .desk-auth button {
	width: auto;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid transparent;
	border-radius: 4px;
	background: #209cee !important;
	color: #fff;
	font: inherit;
	cursor: pointer;
}
.jmf-login .login-actions, .desk-auth .login-actions { display: flex; gap: 12px; }
.jmf-login button[type=reset], .desk-auth button[type=reset] { background: #ffdd57 !important; color: #363636; }
.jmf-login .show-password { display: flex; align-items: center; gap: 6px; margin: 8px 0 12px; }
.jmf-login .show-password input { width: auto; margin: 0; }
.jmf-login .muted { font-size: 13px; }
.jmf-login-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 8px 12px;
	background: #363636;
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
}
@media (max-width: 768px), (max-height: 610px) {
	.jmf-login-footer { display: none; }
	.jmf-login, .desk-auth { margin-bottom: 25px; }
}

.jmf-login .login-actions button[type=reset] { color: #363636 !important; }
