@font-face {
	font-family: 'poppins', sans-serif;
	font-weight: 500;
	font-style: normal;
	src: url('path/to/poppins-medium.woff2') format('woff2'),
		url('path/to/poppins-medium.woff') format('woff');
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'poppins', sans-serif;
	outline: none;
	text-decoration: none;
}

html,
body {
	background-color: #f0f4f8;
	overflow-x: hidden;
}

/* NAVBAR */

#navbar {
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 65px;
	position: relative;
	z-index: 2;
}

#navbar-left {
	display: flex;
	align-items: center;
}

#navbar-right {
	display: flex;
	align-items: center;
	margin-right: 100px;
}

#boxContaCadastrada,
#boxConfigEtiq {
	height: 65px;
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 0 10px;
}

#boxContaCadastrada:hover,
#boxConfigEtiq:hover {
	background-color: #eaecf0;
	cursor: pointer;
}

#boxContaCadastrada {
	width: 245px;
}

#contaCadastrada {
	color: #4e6074;
	font-size: 18px;
	margin: 0;
}

#nav-logo {
	width: 100px;
	height: 40px;
	margin-left: 100px;
}

.nav-icon {
	width: 30px;
	height: 30px;
}

/* Modal config */
#ModalConfig {
	width: 100px;
	height: 50px;
	background-color: #fff;
	display: none;
	position: fixed; /* Changed from absolute to fixed */
	z-index: 1000;
	right: 20px;
	top: 65px;
	border-radius: 5px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
	align-items: center;
	justify-content: center;
}

#boxLogout {
	padding: 5px;
	width: 90%;
	display: flex;
	position: absolute;
	right: 5px;
	top: 5px;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;

	p {
		margin: 0;
	}
}

#iconLogOut {
	width: 22px;
	height: 22px;
}

#textLogout {
	color: #4e6074;
	font-size: 18px;
}

/* >>>>>> */
.navigation-buttons {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 30px; /* reduzido verticalmente */
	background-color: #f0f4f8;
	position: sticky;
	top: 0;
	z-index: 0;
}

.navigation-buttons .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background: linear-gradient(to right, #68c899, #489d73);
	color: #f0f4f8;
	border: none;
	width: 120px;
	height: 40px;
	padding: 0px 16px;
	border-radius: 25px;
	font-size: 16px;
	margin: 0 5px;
	font-weight: bold;
	cursor: pointer;
}

.navigation-buttons .btn:hover {
	background: linear-gradient(to right, #68c899, #489d73);
}

#btn-voltar img {
	width: 23px;
	height: 23px;
	margin-right: 4px;
}

#btn-proximo img {
	width: 23px;
	height: 23px;
	margin-right: 4px;
}

.nav-icon button img {
	width: 20px;
	height: 20px;
	margin-right: 8px;
}

#filtro-btn {
	display: flex;
	justify-content: flex-end; /* joga tudo para a direita */
	align-items: center; /* alinha verticalmente */
	gap: 15px;
	padding: 0 20px;
	margin: 15px 0;
	background-color: transparent;
}

#produtos {
	font-size: 20px;
	font-weight: bold;
	display: flex;
	align-items: center;
	height: 100%;
	margin: 0;
	padding: 0;
	color: #344253;
}

.botao-filtrar {
	color: white;
	background-color: #489d73;
	border: 2px solid #489d73;
	border-radius: 5px;
	padding: 5px 10px;
}

#icon-filtro {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.grupo-filtro {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	background-color: white;
	padding: 8px 10px;
	border-radius: 10px;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
}

.select-filtro {
	border: 2px solid #489d73;
	border-radius: 14px;
	padding: 8px 10px;
	font-weight: 500;
	background-color: white;
	color: #489d73;
	cursor: pointer;
}

.select-wrapper {
	position: relative;
	display: inline-block;
}

.icon-inside-select {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	pointer-events: none;
	filter: brightness(0) saturate(100%) invert(48%) sepia(18%) saturate(759%)
		hue-rotate(97deg) brightness(94%) contrast(91%);
}

.select-wrapper select {
	padding-left: 34px !important; /* espaço para o ícone dentro */
}

#filtro-btn {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0;
	padding: 0 20px;
	background-color: transparent;
}

#select-btn {
	border: 2px solid #489d73;
	border-radius: 6px;
	padding: 8px 10px;
	font-weight: 500;
	background-color: white;
	color: #489d73;
	cursor: pointer;
}

.escondido {
	display: none;
}

#filtro-btn div button {
	display: flex;
	justify-content: center;
	align-items: center;
}

.botao-filtro {
	background-color: #489d73;
	color: white;
	border: none;
	border-radius: 6px;
	padding: 8px 10px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	cursor: pointer;
}

.botao-filtrar label {
	display: flex;
	gap: 6px;
	align-items: center;
}

.filter {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 6px;
	background-color: white;
	padding: 8px 10px;
	border-radius: 10px;
}

.select-filtro.escondido {
	visibility: hidden;
}

table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

.bloco-tabela {
	background-color: white;
	border-radius: 20px;
	padding: 16px 20px;
	margin: 20px auto;
	margin-top: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	max-width: 95%;
	overflow-x: auto;
	transition: all 0.3s ease-in-out;
	min-height: 780px; /* Altura mínima fixa */
}

#containerProdBotoes {
	width: 95%;
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 1000px;
	left: 25px;
	background-color: white;
	z-index: 10;
}

.icons-tabela {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.delete-icon {
	background-color: transparent;
	border: white;
	border-radius: 0px solid white;
}

#confirm-modal {
	display: none;
	z-index: 1000;
}

/* Modal de adicionar categoria */

#adicionar-modal-categ {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.4);
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

#adicionar-modal-categ.visivel {
	display: flex;
	background-color: rgba(0, 0, 0, 0.5);
}

#modal-adicionar-categ {
	border-radius: 15px;
	height: 40%;
	width: 20%;
	top: 0;
	left: 0;
	background-color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	z-index: 1500;
	overflow-y: auto;
	justify-content: space-around;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#boxTopAddCateg {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 80%;
	height: 35%;
}

#boxBottomAddCateg {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 80%;
	height: 11%;
}

#box-inp-dados-categoria {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	height: 55%;
}

#box-btn-add-categ {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
}

#btn-adicionar-categoria {
	border: none;
	border-radius: 8px;
	color: #fff;
	background-color: #489d73;
	height: 40px;
	width: 90px;
	cursor: pointer;
}

#btn-adicionar-categoria:hover {
	background-color: #38614d;
}

#btn-cancelar-categoria {
	border-radius: 8px;
	border: 2px solid #c95454;
	color: #c95454;
	background-color: #fff;
	height: 40px;
	width: 90px;
	cursor: pointer;
}

#btn-cancelar-categoria:hover {
	background-color: #d38b8b;
}

#inpNomeAddCateg {
	height: 30px;
	border-radius: 5px;
	border: 1px solid #050607;
}

#titleAddCateg {
	font-size: 20px;
	font-weight: 600;
}

/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */

/* Modal de editar / deletar categoria */

#edit-modal-categ {
	position: fixed;
	display: none;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1500;
}

#edit-modal-categ.visivel {
	display: flex;
	background-color: rgba(0, 0, 0, 0.5);
}

#modal-edit-del-categ {
	border-radius: 15px;
	height: 40%;
	width: 20%;
	background-color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	z-index: 1500;
	overflow-y: auto;
	justify-content: space-around;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#selectModalEditCateg {
	width: 100%;
	border-radius: 5px;
	height: 30px;
}

#inpNomeEditCateg {
	border-radius: 5px;
	border: 1px solid #050607;
	height: 30px;
}

#inpColorEditCateg {
	height: 30px;
}

#box-select-edit-categ {
	width: 80%;
}

#box-input-edit-categ {
	display: flex;
	flex-direction: row;
	width: 80%;
	justify-content: space-between;
}

/* 3 buttons modal-editar-categoria*/

#btn-cancelar-edit-categ {
	border-radius: 8px;
	border: 2px solid #c95454;
	color: #c95454;
	background-color: #fff;
	height: 35px;
	width: 90px;
	cursor: pointer;
}

#btn-cancelar-edit-categ:hover {
	background-color: #d38b8b;
}

#btn-editar-edit-categ {
	border: none;
	border-radius: 8px;
	color: #fff;
	background-color: #489d73;
	height: 35px;
	width: 90px;
	cursor: pointer;
}

#btn-editar-edit-categ:hover {
	background-color: #345a46;
}

#btn-deletar-edit-categ {
	border: none;
	border-radius: 8px;
	color: #fff;
	background-color: #c95454;
	height: 35px;
	width: 90px;
	cursor: pointer;
}

#btn-deletar-edit-categ:hover {
	background-color: #8d3535;
}

/* INPUT TYPE COLOR (meudeus qbagulho chato pra zera a aparencia)*/

input[type='color'] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 45px;
	height: 30px;
	border: none;
	background: none;
	outline: none;
	cursor: pointer;
	padding: 0;
	border-radius: 5px;
}

input[type='color']::-webkit-color-swatch-wrapper {
	padding: 0;
	border: none;
}

input[type='color']::-webkit-color-swatch {
	border: none;
	border-radius: 0;
}

input[type='color']::-moz-color-swatch {
	border: none;
}

/* >>>>>>>>>>>>> */

#box-btn-edit-categ {
	display: flex;
	flex-direction: column;
	width: 80%;
	height: 21%;
	justify-content: space-between;
}

#boxTopEditCateg {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: end;
}

#boxBottomEditCateg {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.modal1 {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.modal-content {
	background-color: white;
	color: black;
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	z-index: 1000;
}

#confirmar-delete {
	padding: 8px 16px;
	border: none;
	background-color: #489d73;
	color: white;
	border-radius: 6px;
	cursor: pointer;
}

#confirmar-delete:hover {
	background-color: #3ca765;
}

#cancelar-delete {
	padding: 8px 16px;
	border: none;
	background-color: #489d73;
	color: white;
	border-radius: 6px;
	cursor: pointer;
}

#cancelar-delete:hover {
	background-color: #3ca765;
}

.editar-icon {
	background-color: transparent;
	border: white;
	border-radius: 0px solid white;
}

#modal-editar {
	display: none;
}

.modal2 {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.4);
	color: black;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.conteudo-modal {
	background-color: white;
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	z-index: 1000;
}

.botoes-modal {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
}

#salvar-edicao {
	padding: 8px 16px;
	border: none;
	background-color: #489d73;
	color: white;
	border-radius: 6px;
	cursor: pointer;
}

#salvar-edicao:hover {
	background-color: #3ca765;
}

#cancelar-edicao {
	padding: 8px 16px;
	border: none;
	background-color: #489d73;
	color: white;
	border-radius: 6px;
	cursor: pointer;
}

#cancelar-edicao:hover {
	background-color: #3ca765;
}

.conteudo-modal {
	background-color: white;
	padding: 20px;
	border-radius: 8px;
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 400px;
}

.conteudo-modal label {
	margin-bottom: 2px;
	font-weight: 500;
}

.conteudo-modal input {
	padding: 6px;
	border: 1px solid #ccc;
	border-radius: 4px;
	width: 100%;
}

thead th {
	padding: 8px 15px;
	border-bottom: 2px solid #e0e0e0;
	text-align: left;
	color: #344253;
}

tbody td {
	padding: 5px 10px;
	border-bottom: 1px solid #e0e0e0;
	text-align: left;
	color: #4e6074;
}

tbody tr:nth-child(even) {
	background-color: #f9fafb;
}

#color-laticinios {
	background-color: #abaeb1;
	border-radius: 20px;
	height: 32px;
	padding: 5px 12px;
	display: inline-block;
	text-align: center;
	color: rgb(0, 0, 0);
	line-height: 22px;
	margin-top: 6px;
	margin-bottom: 4px;
}

#color-bebidas {
	background-color: #c7ac9e;
	border-radius: 20px;
	height: 32px;
	padding: 5px 12px;
	display: inline-block;
	text-align: center;
	color: rgb(0, 0, 0);
	line-height: 22px;
	margin-top: 6px;
	margin-bottom: 4px;
}

#color-cafe {
	background-color: #64a77a;
	border-radius: 20px;
	height: 32px;
	padding: 5px 12px;
	display: inline-block;
	text-align: center;
	color: rgb(0, 0, 0);
	line-height: 22px;
	margin-top: 6px;
	margin-bottom: 4px;
}

#color-hortifruti {
	background-color: #7e81c7;
	border-radius: 20px;
	height: 32px;
	padding: 5px 12px;
	display: inline-block;
	text-align: center;
	color: rgb(0, 0, 0);
	line-height: 22px;
	margin-top: 6px;
	margin-bottom: 4px;
}

#color-graos {
	background-color: #ecc67f;
	border-radius: 20px;
	height: 32px;
	padding: 5px 12px;
	display: inline-block;
	text-align: center;
	color: rgb(0, 0, 0);
	line-height: 22px;
	margin-top: 6px;
	margin-bottom: 4px;
}

#color-padaria {
	background-color: #e69769;
	border-radius: 20px;
	height: 32px;
	padding: 5px 12px;
	display: inline-block;
	text-align: center;
	color: rgb(0, 0, 0);
	line-height: 22px;
	margin-top: 6px;
	margin-bottom: 4px;
}

#color-farinhas {
	background-color: #2e6dab;
	border-radius: 20px;
	height: 32px;
	padding: 5px 12px;
	display: inline-block;
	text-align: center;
	color: rgb(0, 0, 0);
	line-height: 22px;
	margin-top: 6px;
	margin-bottom: 4px;
}

#color-frios {
	background-color: #2e6dab;
	border-radius: 20px;
	padding: 5px 12px;
	display: inline-block;
	text-align: center;
	color: rgb(0, 0, 0);
	line-height: 22px;
	margin-top: 6px; /* afasta da linha de cima */
	margin-bottom: 4px;
}

#color-congelados {
	background-color: #7b9cbc;
	border-radius: 20px;
	height: 32px;
	padding: 5px 12px;
	display: inline-block;
	text-align: center;
	color: rgb(0, 0, 0);
	line-height: 22px;
	margin-top: 6px;
	margin-bottom: 4px;
}

#color-frutas {
	background-color: #d87e7e;
	border-radius: 20px;
	height: 32px;
	padding: 5px 12px;
	display: inline-block;
	text-align: center;
	color: rgb(0, 0, 0);
	line-height: 22px;
	margin-top: 6px;
	margin-bottom: 4px;
}

.btn {
	background-color: #3ecf8e;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 20px;
	cursor: pointer;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 5px;
}

.btn:hover {
	background: linear-gradient(to right, #68c899, #489d73);
}

#footer-geral {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	background-color: white;
	flex-wrap: wrap;
	gap: 10px;
	width: 107%;
	margin-left: -40px;
}

.pagination {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
}

.bnt-footer {
	justify-content: center;
	width: 0px;
	height: 30px;
	background: linear-gradient(to right, #68c899, #489d73);
	color: rgb(0, 0, 0);
	border: none;
	padding: 8px 16px;
	margin: 0;
	border-radius: 20px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.footer button img {
	width: 15px;
	height: 15px;
}

.btn-footer-img img {
	width: 15px;
	height: 20px;
	margin: 0;
	padding: 0;
	object-fit: contain;
	display: block;
}

#footer-acoes-info {
	display: flex;
	color: #344253;
}

#footer-qtd-produtos {
	margin: 0 5px 0 5px;
	padding: 0;
}

#footer-total-produtos {
	margin: 0 5px 0 5px;
	padding: 0;
}

.pag-footer {
	text-align: center;
}

#footer-pag-info {
	display: flex;
	padding: 0;
	color: #344253;
}

#footer-pag-atual {
	margin: 0 5px 0 5px;
}

#footer-pag-total {
	margin: 0 5px 0 5px;
}

#icons {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 105%;
	margin-left: -25px;
	padding: 5px 0 5px 0;
	background-color: white;
	flex-wrap: wrap;
}

#icons div button {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #344253;
	height: 48px;
}

.icons-left {
	display: flex;
	gap: 20px;
	align-items: center;
}

.icons-right {
	display: flex;
	gap: 20px;
	align-items: center;
}

#btn-imprimir {
	border: 2px solid #489d73;
	border-radius: 15px;
	background-color: white;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 16px;
}

#btn-imprimir img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

#btn-VerCategorias {
	border: 2px solid #489d73;
	border-radius: 15px;
	background-color: white;
	padding: 10px 20px;
	display: flex; /* para alinhar texto e imagem lado a lado */
	align-items: center;
	gap: 8px; /* espaço entre texto e imagem */
	cursor: pointer; /* muda o cursor ao passar */
	font-size: 16px;
}

#btn-adicionarCategoria {
	border: 2px solid #489d73;
	border-radius: 15px;
	background-color: white;
	padding: 10px 20px;
	display: flex; /* para alinhar texto e imagem lado a lado */
	align-items: center;
	gap: 8px; /* espaço entre texto e imagem */
	cursor: pointer; /* muda o cursor ao passar */
	font-size: 16px;
}

#btn-adicionarCategoria img {
	width: 20px;
	height: 20px;
	object-fit: contain; /* garante que a imagem fique proporcional */
}

#btn-VerCategorias img {
	width: 20px;
	height: 20px;
	object-fit: contain; /* garante que a imagem fique proporcional */
}
#btn-produto {
	border: 2px solid #489d73;
	border-radius: 15px;
	background-color: white;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 16px;
}
#btn-produto img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

#btn-botao-mais {
	background-color: white;
	border: white;
	border-radius: 1px solid white;
	cursor: pointer;
}

#btn-botao-mais img {
	width: 35px;
	height: 50px;
	object-fit: contain;
}

#adicionar-modal {
	display: none; /* começa invisível */
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.4);
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

/* classe que ativa o modal */
#adicionar-modal.visivel {
	display: flex;
}

#box-adicionar {
	background-color: white;
	padding: 20px;
	border-radius: 10px;
	width: 350px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

#botoes-adicionar {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
}

#btn-salvar-produto {
	padding: 8px 16px;
	border: none;
	background-color: #489d73;
	color: white;
	border-radius: 6px;
	cursor: pointer;
}

#btn-cancelar-produto {
	border-radius: 8px;
	border: 2px solid #c95454;
	color: #c95454;
	background-color: #fff;
	height: 40px;
	width: 90px;
	cursor: pointer;
}

#btn-cancelar-produto:hover {
	background-color: #d38b8b;
}

#btn-salvar-produto:hover {
	background-color: #3ca765;
}

input {
	padding-left: 10px;
}

td .tag-categoria{
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-categoria {
	display: flex;
    width: 50%;
	padding: 8px;
	border-radius: 18px;
	font-size: 15px;
	color: #fff;
    align-items: center;
    justify-content: center;
    height: 32px;
	vertical-align: middle;
	line-height: 25px; /* alinha verticalmente o texto */
	margin: 6px ; /* centraliza dentro do <td> */
    
}

.tag-categoria:hover {
	filter: brightness(85%);
}
