* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

body {
	background-color: #040915;
}

@font-face {
    font-family: "fonteTitulo";
    src: url("../fonts/font_titulo.ttf");
}

@font-face {
    font-family: "fonteBotao";
    src: url("../fonts/font_btn.ttf");
}

@font-face {
    font-family: "fonteLoginSeguro";
    src: url("../fonts/font_login_seguro.otf");
}

header {
	background-color: #0B1626;
	display: flex;
	padding: 0 15%;
	align-items: center;
	justify-content: space-between;
	height: 12vh;
	border-bottom: 1.8px solid #274D67;
}

.logo, .logo span {
	font-family: 'fonteTitulo';
	text-transform: uppercase;
	color: white;
	font-size: 1.4rem;
}

.logo span {
	color: #00D4EC;
}

.texto_cadastro {
	color: #bfbfbf;
	font-weight: 300;
}

.texto_cadastro a {
	color: #00D4EC;
}

main#container {
	width: 100%;
	height: auto;
	min-height: 88vh;
	background-color: #040915;
	display: flex;
	align-items: center;
	justify-content: center;
}

.form_login {
	background-color: #122036;
	padding: 50px 30px 10px;
	border-radius: 10px;
	border: 1px solid #274D67;
}

.titulo_form {
	display: flex;
	align-items: center;
	margin: 0 auto 35px;
	justify-content: center;
}

.titulo_form h1 {
	margin-left: 15px;
	font-family: 'fonteTitulo';
	color: white;
	font-size: 2.5rem;
}

.titulo_form h1 span {
	color: #00D4EC;
	font-family: 'fonteTitulo';
}

.titulo_form img {
	width: 60px;
}

input {
	width: 100%;
	font-weight: 300;
	font-size: 16px;
	background-color: white;
	border-radius: 5px;
	outline: none;
	border: none;
	color: black;
	padding: 12px 5px 12px 13%;
}

input::placeholder {
	color: #808080;
}

input[name=email_usuario] {
	background-image: url(../img/icone_email.png);
    background-position: 4% center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

input[name=cpf_usuario] {
	background-image: url(../img/icone_senha.png);
    background-position: 4% center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

.btn_login {
	background-color: #00D4EC;
	color: #053135;
	text-transform: uppercase;
	width: 100%;
	margin-top: 15px;
	letter-spacing: 2px;
	font-family: 'fonteBotao';
	outline: none;
	font-weight: 500;
	border: none;
	padding: 5px 0 10px;
	font-size: 1.8rem;
	border-radius: 5px;
}

.btn_login:hover {
	cursor: pointer;
	background-color: #05a1b2;
	transition: .1s linear;
}

.login_seguro {
	font-family: 'fonteLoginSeguro';
	color: #274D67;
	letter-spacing: 2px;
	font-size: 1.8rem;
	text-align: center;
	font-weight: 400;
	padding-top: 20px;
}

@media (max-width: 996px) {
	header {
		padding: 10px 15px;
		flex-wrap: wrap;
		height: auto;
		text-align: center;
		justify-content: center;
	}

	.titulo_form h1 {
		font-size: 2rem;
	}

	.titulo_form img {
		width: 50px;
	}

	.texto_cadastro {
		width: 100%;
		padding-top: 10px;
	}

	.form_login {
		width: 90%;
		padding: 40px 15px 10px;
	}

	.login_seguro {
		padding-top: 5px;
	}

	input {
		padding: 12px 5px 12px 14%;
	}
}

@media (max-width: 373px) {
	.titulo_form h1 {
		font-size: 1.7rem;
	}

	.titulo_form img {
		width: 40px;
	}

	.form_login {
		width: 90%;
		padding: 40px 15px 10px;
	}
}

.modal_error {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 20vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.2);
}

.modal_error_content {
  background-color: #F65656;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 400;
  color: white;
  margin: auto;
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 375px;
}

#msg_error {
	font-size: 1.2rem;
}

.show {
	animation: show-modal .35s ease-in-out;
}

.hide {
	animation: hide-modal .5s ease-in-out;
}

@keyframes show-modal {
	0% {
		transform: scale(0);
	}
	60% {
		transform: scale(1.1);
	}
	80% {
		transform: scale(.95);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes hide-modal {
	0% {
		transform: scale(1);
	}
	20% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(0);
	}
}

/* Exemplo de estilos para o toggle */
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.switch-label {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  margin: 0 10px;
  cursor: pointer;
}

.switch-label input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #05a1b2;
}

input:checked + .slider:before {
  transform: translateX(28px);
}

.toggle-text {
  color: #FFF;
  font-size: 1rem;
  user-select: none;
  font-weight: 500;
}

/* Esconde formulário com suave transição */
.hidden-form {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0; left: 0; width: 0; height: 0;
  pointer-events: none; 
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
