@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.77em;
	width: 100vw;
	height: 100vh;
}

body * {
	box-sizing: border-box;
}

:root {
	--primary-color: #0d3756;
	--secondary-color: #ffb803;
	--tertiary-color: #3b4146;
}

main {
	width: 100vw;
	height: 100vh;
	background: #f7f7f7;
}

.tela-login {
	height: 100%;
	display: flex;
	align-items: center;
}

.box-form-login {
	width: 360px;
}

input[type="text"],
input[type="password"] {
	height: 35px;
	border-radius: 5px;
	padding: 3px 9px 3px 25px;
	color: #000;
	width: 100%;
	border: 1px solid #cfcfcf;
	outline: none;
	font-size: 16px;
}

input[type="text"]:focus,
input[type="password"]:focus {
	border: 1px solid var(--secondary-color);
	box-shadow: 0px 0px 7px 1px var(--secondary-color);
	font-size: 16px;
}

.input-field {
	margin-bottom: 1px;
	position: relative;
}

label {
	color: #fa9c8e;
	position: absolute;
	margin-bottom: -3px;
	transition: 0.3s ease-out;
	padding: 9px 7px;
}

label.label-icon {
	color: var(--secondary-color);
	margin-bottom: -2px;
	padding-top: 11px;
}

/* fundo lateral direita */
.detalhes-login {
	background-size: cover !important;
	background-position: center !important;
	height: 100vh !important;
	overflow: hidden;
}

/* ajuste da imagem de fundo */
.detalhes-login img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* corrige proporção */
	object-position: center;
	display: block;
}

/* ajuste da logo */
.box-info-login {
	text-align: center;
}

.box-info-login img,
.login-logo img {
	max-width: 200px;
	max-height: 120px;
	width: auto;
	height: auto;
	object-fit: contain;
	margin-bottom: 20px;
}

.form-login {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
}

.box-form-login .input-field {
	margin-bottom: 16px;
}

form#formLogin button#btn-acessar {
	width: 100%;
	border: none;
	padding: 13px 0px;
	color: #fff;
	border-radius: 8px;
	font-size: 15px;
}

.help-inline {
	color: red;
}

.form-login h1 {
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
}

.box-form-login h3 {
	font-size: 20px;
	margin-bottom: 32px;
	font-weight: 400;
}

span.view-pass {
	position: absolute;
	right: 12px;
	top: 9px;
	cursor: pointer;
}

span.view-pass i {
	font-size: 17px;
}

/* esqueceu senha */
div#forgotPassword .modal-header {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.btn-esqueceu-senha {
	background: transparent;
	border: none;
	color: var(--primary-color);
	font-size: 15px;
	display: block;
	width: 100%;
	text-align: end;
}

.creditos-footer {
	color: var(--primary-color);
}

/* responsividade */
@media (max-width: 1399.98px) {
	.box-info-login img {
		width: 100%;
		height: auto;
	}
}

@media (max-width: 767.98px) {
	.detalhes-login {
		display: none;
	}
}

/* ===== HOTFIX LOGIN (cole no FINAL do arquivo) ===== */

/* mantém o layout lado-a-lado sempre que for desktop */
.tela-login {
	display: flex;
	align-items: center;
}

.form-login {
	flex: 0 0 50%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.detalhes-login {
	flex: 0 0 50%;
	min-height: 100vh;
	overflow: hidden;
}

/* FUNDO (caso seja <img>) */
.detalhes-login img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
}

/* FUNDO (caso seja background-image no container) */
.detalhes-login {
	background-size: cover !important;
	background-position: center !important;
}

/* LOGO (remove tamanhos fixos e limita) */
.box-info-login img,
.login-logo img,
.box-form-login .box-info-login>img {
	width: auto !important;
	height: auto !important;
	max-width: 200px !important;
	max-height: 120px !important;
	object-fit: contain !important;
	margin-bottom: 20px !important;
}

/* salvaguarda genérica para não estourar imagens */
img {
	max-width: 100%;
	height: auto;
}