/* Título */
.titulo-pagina {
	font-size: 2.2rem;
	color: #475569;
	font-weight: 600;
	margin-bottom: 2rem;
}

/* Área acima da tabela (pesquisa e botões) */
.acoes {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 20px;
}

.pesquisa {
	flex: 1;
	min-width: 250px;
	margin: 0;
}

.pesquisa input {
	width: 100%;
	height: 42px;
	padding: 0 15px;
	border: 1px solid #9aa9bd;
	border-radius: 4px;
	font-size: 14px;
}

.botoes {
	display: flex;
	gap: 16px;
}

.btn-vermelho {
	width: 155px;
	height: 42px;
	border: none;
	border-radius: 4px;
	background-color: #d43838;
	color: white;
	font-size: 14px;
	cursor: pointer;
}

.btn-cinza {
	width: 180px;
	height: 42px;
	border: none;
	border-radius: 4px;
	background-color: #4b5968;
	color: white;
	font-size: 14px;
	cursor: pointer;
}

/* Legenda das cores */
.legenda {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
	margin-bottom: 14px;
	font-size: 14px;
	color: #475569;
}

.item-legenda {
	white-space: nowrap;
}

/* Mensagem de lista vazia */
#mensagem {
	padding: 12px;
	margin-bottom: 10px;
	border: 1px solid #dddddd;
	background-color: #f9fafb;
	color: #475569;
}

/* Tabela */
.tabela-rolagem {
	overflow-x: auto;
}

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

thead {
	background-color: #aaaaaa;
}

th {
	padding: 12px;
	font-size: 1rem;
	text-align: center;
	color: #4b5563;
	border-right: 1px solid #999999;
}

td {
	padding: 10px;
	text-align: center;
	color: #222222;
	background-color: #e5e5e5;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	vertical-align: middle;
}

th:last-child,
td:last-child {
	border-right: none;
}

.sem-quebra {
	white-space: nowrap;
}

.coluna-saldo {
	font-weight: 700;
}

/* Lote esgotado fica apagado */
.lote-esgotado td {
	color: #6b7280;
	background-color: #f1f1f1;
}

/* Bolinha de status da validade */
.status-lote {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: middle;
	border: 1px solid rgba(0, 0, 0, 0.2);
}

.status-vencido {
	background-color: #dc2626;
}

.status-critico {
	background-color: #f97316;
}

.status-atencao {
	background-color: #facc15;
}

.status-seguro {
	background-color: #16a34a;
}

.status-esgotado {
	background-color: #9ca3af;
}

/* Botões de ação na linha */
.btn-editar {
	background-color: #586ac4;
	color: white;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
	font-size: 14px;
	border-radius: 2px;
}

.btn-excluir {
	background-color: #f2383d;
	color: white;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
	font-size: 14px;
	border-radius: 2px;
}

.coluna-acao {
	width: 70px;
}
