/** @format */

:root {
	--font-size-base: 100%;
}
html {
	font-size: var(--font-size-base);
}

body {
	font-size: 1rem;
	margin: 0;
	padding: 0;
	background-color: #aab8c1;
	font-family: Arial, Helvetica, sans-serif;
}
.header {
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem;
	background-color: #031d29;
	margin-bottom: 8px;
}
.navBar {
	display: none;
	justify-content: center;
	gap: 1rem;
}
ion-icon:hover {
	cursor: pointer;
}
.navBar ion-icon {
	color: #fff;
	font-size: 2rem;
}
#formAddAgenda {
	display: none;
	flex-direction: column;
	width: 24rem;
	padding: 1.5rem;
	padding-top: 0.5rem;
	margin: auto;
	border: solid 1px #ccc;
	border-radius: 5px;
	background-color: #165774;
}
label {
	font-weight: bold;
}
.campos {
	display: flex;
	flex-direction: column;
	margin-bottom: 8px;
}
.campos input {
	padding: 0.3rem;
	border-radius: 2px;
	border: none;
	font-size: 1rem;
}
.campos #date {
	width: 8rem;
}
.campos #hora {
	width: 8rem;
}
.campos #placa {
	width: 8rem;
}

#divValor {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin-bottom: 8px;
}

#valor {
	padding: 0.3rem;
	border-radius: 2px;
	border: none;
	width: 8rem;
	font-size: 1rem;
}
#divCampoValor {
	display: flex;
	flex-direction: column;
}
#divPago {
	width: 7rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1px;
	border-radius: 2px;
	padding: 5px;
	background-color: #ccc;
}
#checkPago {
	width: 1.3rem;
	height: 1.3rem;
	accent-color: green;
}
#spanAdd {
	font-weight: bolder;
	color: red;
}

button {
	width: 10rem;
	margin-top: 5px;
	border: none;
	border-radius: 3px;
	padding: 0.3rem 1rem;
	background-color: #031d29;
	color: #fff;
	cursor: pointer;
	font-size: 1rem;
}
button:hover {
	background-color: #38657a;
}
.divSuperiorForm {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.divSuperiorForm ion-icon {
	font-size: 1.5rem;
}

.divSuperiorForm h3 {
	font-size: 1.5rem;
}

#diaHora {
	display: none;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 5px auto;
	width: 30%;
	padding: 10px;
	background-color: #fff;
	border-radius: 2px;
}
#diaHora ion-icon {
	cursor: pointer;
	font-size: 1rem;
}

#agenda {
	display: none;
	border: none;
	justify-content: center;
	flex-direction: column;
}
#agrupa {
	display: flex;
	justify-content: space-between;
	margin: 3px auto;
	padding: 10px;
	width: 30%;
	border-radius: 3px;
	border: solid 1px #8f8f92;
}
#opcoes {
	display: flex;
	align-items: center;
	flex-direction: column;
}
#opcoes ion-icon {
	cursor: pointer;
	margin-top: 10px;
	font-size: 1rem;
}
#calendar {
	background-color: #fff;
	border: none;
	font-size: 1rem;
}
#formEditAgenda {
	display: none;
	flex-direction: column;
	width: 24rem;
	padding: 1.5rem;
	padding-top: 0.5rem;
	margin: auto;
	border: solid 1px #ccc;
	border-radius: 5px;
	background-color: #165774;
}
.camposEdit {
	display: flex;
	flex-direction: column;
	margin-bottom: 8px;
}
.camposEdit input {
	padding: 0.3rem;
	border-radius: 2px;
	border: none;
	font-size: 1rem;
}
.camposEdit #dateEdit {
	width: 8rem;
}
.camposEdit #horaEdit {
	width: 8rem;
	font-size: 1rem;
}
.camposEdit #placaEdit {
	width: 8rem;
}
.divSuperiorFormEdit {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.divSuperiorFormEdit ion-icon {
	font-size: 1.5rem;
}

.divSuperiorFormEdit h3 {
	font-size: 1.5rem;
}
#divValorEdit {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin-bottom: 8px;
}

#valorEdit {
	padding: 0.3rem;
	border-radius: 2px;
	border: none;
	width: 8rem;
	font-size: 1rem;
}
#divCampoValorEdit {
	display: flex;
	flex-direction: column;
}
#divPagoEdit {
	width: 7rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1px;
	border-radius: 2px;
	padding: 5px;
	background-color: #ccc;
}
#checkPagoEdit {
	width: 1.3rem;
	height: 1.3rem;
	accent-color: green;
}
#spanAddEdit {
	font-weight: bolder;
	color: red;
}
#login {
	display: flex;
	flex-direction: column;
	width: 30%;
	padding: 1.5rem;
	padding-top: 0.5rem;
	margin: auto;
	border: solid 1px #ccc;
	border-radius: 5px;
	background-color: #165774;
}
#login button {
	width: 100%;
}
#email,
#senha {
	padding: 0.3rem;
	border-radius: 2px;
	border: none;
	font-size: 1rem;
}
#alterarSenha {
	display: flex;
	flex-direction: column;
	width: 20rem;
	padding: 1.5rem;
	padding-top: 0.5rem;
	margin: auto;
	border: solid 1px #ccc;
	border-radius: 5px;
	background-color: #165774;
}
#alterarSenha div {
	display: flex;
	flex-direction: row;
	gap: 10px;
}
#novaSenha {
	padding: 0.3rem;
	border-radius: 2px;
	border: none;
}
#settings,
#power {
	display: none;
}
#config {
	display: none;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 30%;
	padding: 1.5rem;
	padding-top: 0.5rem;
	margin: auto;
	border: solid 1px #ccc;
	border-radius: 5px;
	background-color: #165774;
}
#config div {
	display: flex;
	width: 100%;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
#config ion-icon {
	cursor: pointer;
	font-size: 1.5rem;
}
#reader-outline {
	display: none;
}
#divRelatorio {
	justify-content: center;
}
#filtroAno {
	width: 3rem;
	font-size: 1rem;
}
.filtroMes {
	font-size: 1rem;
}

#filtros {
	display: flex;
	align-items: center;
	gap: 10px;
}
#btnFiltros {
	width: 6rem;
	height: 2.5rem;
	padding: 0.2rem 1rem;
	margin-bottom: 5px;
}
#btnExportToExcel {
	width: 6rem;
	height: 2.5rem;
	padding: 0.2rem 1rem;
	margin-bottom: 5px;
}
#divRelatorio {
	display: none;
	margin: auto;
	flex-direction: column;
	width: 90%;
}
#tabelaServicos {
	border-collapse: collapse;
	width: 100%;
	border-color: #000;
}
td {
	background-color: #fff;
}
th {
	background-color: #ccc;
}
#spanTotalGeral {
	background-color: #031d29;
	color: #fff;
	padding: 5px;
	font-weight: bold;
	border-radius: 2px;
}
#spanNaoPago {
	background-color: #a84032;
	padding: 5px;
	font-weight: bold;
	border-radius: 2px;
}
#spanPago {
	background-color: #4ea832;
	padding: 5px;
	font-weight: bold;
	border-radius: 2px;
}

#imgLogo {
	margin-top: 20px;
	border-radius: 50%;
}

#config .controle-fonte {
	max-width: 340px;
	margin: 20px auto;
	padding: 16px;
	border-radius: 12px;
	background: #f4f4f4;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

	display: flex;
	flex-direction: column;
	gap: 12px;
}

.controle-fonte label {
	text-align: center;
}

.linha-controle {
	display: flex;
	align-items: center;
	gap: 8px;
}

.linha-controle button {
	width: 40px;
	height: 36px;
	border-radius: 8px;
	border: none;
	background-color: #031d29;
	font-size: 1rem;
	cursor: pointer;
}

.linha-controle input[type='range'] {
	accent-color: #031d29;
	flex: 1;
}

#config .controle-fonte #btnAplicarFonte {
	padding: 8px;
	border-radius: 8px;
	border: none;
	font-size: 1rem;
	cursor: pointer;
}

#config .divAlteraSenha {
	max-width: 340px;
	margin: 20px auto;
	padding: 16px;
	border-radius: 12px;
	background: #f4f4f4;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

	display: flex;
	flex-direction: column;
	gap: 12px;
}

@media (max-width: 750px) {
	html {
		font-size: var(--font-size-base);
	}
	body {
		margin: 0;
		padding: 0;
		background-color: #aab8c1;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 1rem;
	}
	#agrupa {
		display: flex;
		justify-content: space-between;
		margin: 3px auto;
		padding: 10px;
		width: 90%;
		border-radius: 3px;
		border: solid 1px #8f8f92;
	}

	#diaHora {
		display: none;
		justify-content: center;
		align-items: center;
		gap: 10px;
		margin: 5px auto;
		width: 90%;
		padding: 10px;
		background-color: #fff;
		border-radius: 2px;
	}
		#diaHora ion-icon {
		font-size: 1.5rem;
	}

	#btnExportToExcel {
		display: none;
	}
	#btnFiltros {
		width: 6rem;
		height: 1.5rem;
		padding: 0.2rem 1rem;
		margin-bottom: 5px;
	}

	#formAddAgenda {
		box-sizing: border-box;
		display: none;
		flex-direction: column;
		width: 100%;
		padding: 1.5rem;
		padding-top: 0.5rem;
		margin: auto;
		border: solid 1px #ccc;
		border-radius: 5px;
		background-color: #165774;
		font-size: 1.1rem;
	}
	#formEditAgenda {
		box-sizing: border-box;
		display: none;
		flex-direction: column;
		width: 100%;
		padding: 1.5rem;
		padding-top: 0.5rem;
		margin: auto;
		border: solid 1px #ccc;
		border-radius: 5px;
		background-color: #165774;
		font-size: 1.1rem;
	}
	.campos input {
		padding: 0.3rem;
		border-radius: 2px;
		border: none;
		font-size: 1rem;
	}
	.camposEdit input {
		padding: 0.3rem;
		border-radius: 2px;
		border: none;
		font-size: 1rem;
	}
	.campos #date {
		width: 9rem;
	}
	.camposEdit #dateEdit {
		width: 9rem;
	}
	.camposEdit #horaEdit {
		width: 9rem;
	}
	.campos #hora {
		width: 9rem;
	}
	.campos #placa {
		width: 9rem;
	}
	button {
		width: 10rem;
		margin-top: 5px;
		border: none;
		border-radius: 3px;
		padding: 0.3rem 1rem;
		background-color: #031d29;
		color: #fff;
		cursor: pointer;
		font-size: 1.1rem;
	}
	#dados p {
		font-size: 1rem;
	}
	#opcoes ion-icon {
		cursor: pointer;
		margin-top: 10px;
		font-size: 1.5rem;
	}
	#login {
		box-sizing: border-box;
		width: 90%;
		display: flex;
		flex-direction: column;
		padding: 1.5rem;
		padding-top: 0.5rem;
		margin: auto;
		border: solid 1px #ccc;
		border-radius: 5px;
		background-color: #165774;
	}
	#login button {
		width: 100%;
		font-size: 1rem;
	}
	#login input {
		font-size: 1rem;
	}
	#valor {
		padding: 0.3rem;
		border-radius: 2px;
		border: none;
		width: 8rem;
		font-size: 1rem;
	}
	#valorEdit {
		padding: 0.3rem;
		border-radius: 2px;
		border: none;
		width: 8rem;
		font-size: 1rem;
	}
	
	#divValorEdit {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		margin-bottom: 8px;
		gap: 12px
	}
	#divValor {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		margin-bottom: 8px;
		gap: 12px
	}

	#config {
		display: none;
		box-sizing: border-box;
		align-items: center;
		flex-direction: column;
		width: 100%;
		border: solid 1px #ccc;
		border-radius: 5px;
		background-color: #165774;
	}

	#config .controle-fonte {
	    box-sizing: border-box;
		max-width: 340px;
		margin: 20px auto;
		padding: 16px;
		border-radius: 12px;
		background: #f4f4f4;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.controle-fonte label {
		text-align: center;
	}

	.linha-controle {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.linha-controle button {
		width: 40px;
		height: 36px;
		border-radius: 8px;
		border: none;
		background-color: #031d29;
		font-size: 1rem;
		cursor: pointer;
	}

	.linha-controle input[type='range'] {
		accent-color: #031d29;
		flex: 1;
	}

	#config .controle-fonte #btnAplicarFonte {
		padding: 8px;
		border-radius: 8px;
		border: none;
		font-size: 1rem;
		cursor: pointer;
	}

	#config .divAlteraSenha {
	    box-sizing: border-box;
		max-width: 340px;
		margin: 20px auto;
		padding: 16px;
		border-radius: 12px;
		background: #f4f4f4;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

		display: flex;
		flex-direction: column;
		gap: 12px;
	}
}
