	/* =======================================================
   Estilos Globais
   ======================================================= */
	* {
		box-sizing: border-box;
		margin: 0;
		padding: 0;
	}

	body {
		font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
		background-color: #f4f7f6;
		color: #333;
	}


	/* =======================================================
Estilo do Formulário
======================================================= */

	.form_padrao_ativas {
		display: flex;
		background-color: #fff;
		padding: 20px;
		border-radius: 8px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		max-width: 80%;
		margin: 40px auto;

	}

	.container-atreladas {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
	}

	.tabela-transportadora {
		width: 100%;
		margin-bottom: 20px;
		/* Ajuste conforme necessário */
	}

	.botoes-atreladas {
		display: flex;
		flex-wrap: wrap;
		/* Permite que os botões se ajustem conforme o espaço */
		justify-content: center;
		gap: 15px;
		/* Espaço entre os botões */
		padding: 10px;
		width: 100%;
	}


	.form_padrao_ativas h2 {
		padding: 8px 12px;
		font-size: 0.9rem;
		font-weight: 600;
		color: #333;
		background-color: #007bff;
		border-radius: 6px;
		text-align: center;
		margin-bottom: 10px;
	}

	.form_padrao_ativas h4 {
		font-size: 1rem;
		font-weight: 600;
		/* Deixa o texto em negrito */
		color: #000000;
		/* Cor preta */
		letter-spacing: 0.5px;
		text-transform: capitalize;
		line-height: 1.3;
		margin-bottom: 2px;
	}

	.form_padrao_ativas span {
		display: block;
		font-size: 0.9rem;
		color: #333;
		margin-bottom: 6px;
	}

	.form_padrao_ativasinput {
		width: 100%;
		padding: 10px;
		font-size: 0.95rem;
		border: 1px solid #ddd;
		border-radius: 6px;
		background-color: #f9f9f9;
		color: #555;
		transition: all 0.3s ease-in-out;
		margin-bottom: 16px;
	}

	.form_padrao_ativasinput:focus {
		border-color: #007bff;
		background-color: #fff;
		outline: none;
	}

	.form_padrao_ativasinput::placeholder {
		color: #bbb;
	}

	.saldo-verde {
		color: green !important;
		font-weight: bold;

	}

	.valor-verde {
		color: green !important;
		font-weight: bold;
		font-size: 1.1rem;
		letter-spacing: 1px;

	}

	.saida-vermelha {
		color: #dc3545 !important;
		font-weight: bold;

	}

	.vermelha-saida {
		color: #dc3545 !important;
		font-weight: bold;
		font-size: 1.1rem;
		letter-spacing: 1px;
	}

	.saldo-azul {
		color: #007bff !important;
		font-weight: bold;
	}

	.azul-saldo {
		color: #007bff !important;
		font-weight: bold;
		font-size: 1.1rem;
		letter-spacing: 1px;
	}


	/* =======================================================
Botões do Formulário
======================================================= */
	.botao_container {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		margin-top: 10px;
	}

	.botao_container button {
		padding: 12px 18px;
		font-size: 0.9rem;
		border: none;
		border-radius: 6px;
		background-color: #007bff;
		color: white;
		transition: background-color 0.3s ease;
	}

	.botao_container button:hover {
		background-color: #0056b3;
	}


	/* =======================================================
Estilos para a Tabela
======================================================= */


	/* Tabela  Abaixo da Folha*/
	/* Tabela */
	#programacao {
		width: 80%;
		/* Limita a largura da tabela */
		margin: 30px auto;
		/* Centraliza a tabela na página */
		border-collapse: collapse;
		/* Remove espaços entre as células */
		font-family: Arial, sans-serif;
		/* Fonte limpa e profissional */
		font-size: 14px;
		/* Tamanho de fonte ajustado */
	}

	/* Cabeçalho da tabela */
	#programacao thead {
		background-color: #3498db;
		/* Cor mais suave para o cabeçalho */
		color: white;
	}

	#programacao thead th {
		padding: 10px;
		text-align: left;
		font-weight: bold;
	}

	/* Linhas de dados */
	#programacao tbody tr {
		border-bottom: 1px solid #ccc;
		/* Linha divisória suave */
	}

	#programacao tbody tr:hover {
		background-color: #f1f1f1;
		/* Cor de fundo no hover */
	}

	/* Ajustando largura das colunas */
	#programacao td,
	#programacao th {
		word-wrap: break-word;
		max-width: 200px;
		/* Limita a largura das células */
	}

	/* Estilo de paginação */
	.dataTables_wrapper .dataTables_paginate .paginate_button {
		background-color: #3498db;
		/* Cor suave para os botões */
		color: white;
		padding: 6px 12px;
		border-radius: 4px;
		font-size: 13px;
		margin: 0 4px;
		border: none;
		/* Remove borda padrão */
	}

	.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
		background-color: #2980b9;
		/* Cor mais escura no hover */
	}

	.dataTables_wrapper .dataTables_paginate .paginate_button.current {
		background-color: #2980b9;
		/* Cor destacada para a página ativa */
	}

	/* Filtro de pesquisa e select para paginação */
	.dataTables_filter input,
	.dataTables_length select {
		padding: 8px 12px;
		border-radius: 4px;
		border: 1px solid #ddd;
		font-size: 13px;
	}

	/* Estilo dos botões de exportação */
	div.top {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 15px;
	}

	/* Responsividade para telas menores */
	@media (max-width: 768px) {
		#programacao {
			width: 95%;
			/* Para telas pequenas, ocupa 95% da largura */
		}

		#programacao td,
		#programacao th {
			padding: 8px;
			font-size: 12px;
			/* Menor tamanho de fonte em dispositivos móveis */
		}

		.dataTables_filter input {
			width: 100%;
			/* Pesquisa ocupa toda a largura em dispositivos móveis */
		}

		.dataTables_length select {
			width: 100%;
			/* Select ocupa toda a largura em dispositivos móveis */
		}

		.dataTables_wrapper .dataTables_paginate .paginate_button {
			padding: 5px 8px;
		}
	}

	/*-------------------------------------------------------------------------------------------*/


	#tabela_transp {
		width: 100%;
		margin-top: 20px;
		font-size: 0.8rem;
		border-collapse: collapse;
		border: 1px solid #ccc;
		border-radius: 0px;
	}


	#tabela_transp th,
	#tabela_transp td {
		padding: 0px 0px;
		text-align: center;
		border: 1px solid #ccc;
	}

	#tabela_transp th {
		background-color: #007bff;
		color: white;
	}

	#tabela_transp td {
		background-color: #f9f9f9;
	}

	#tabela_transp td input {
		width: calc(100% - 10px);
		padding: 5px 10px;
		background-color: red;
		color: white;
		border: none;
		border-radius: 0px;
		cursor: pointer;
		margin: 0 5px;
	}

	#tabela_transp td input:hover {
		background-color: darkred;
	}

	#tabela_transp td {
		padding: 4px 8px;
	}

	.subir-form {
		margin-top: -40px !important;
	}


	/* =======================================================
Variáveis CSS Personalizadas
======================================================= */
	:root {
		--btn-primary-bg: #082464;
		--btn-primary-hover-bg: #0056b3;
		--btn-primary-text: #ffffff;

		--btn-cancel-bg: rgb(255, 0, 25);
		--btn-cancel-hover-bg: rgb(104, 2, 12);
		--btn-cancel-text: #ffffff;
		--btn-cancel-border: rgb(255, 0, 25);
	}


	/* =======================================================
Estilos para Botões Personalizados
======================================================= */
	.custom-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 8px 20px;
		border-radius: 0;
		font-size: 14px;
		font-weight: 600;
		text-transform: uppercase;
		color: var(--btn-primary-text);
		background-color: var(--btn-primary-bg);
		border: 2px solid var(--btn-primary-border);
		cursor: pointer;
		transition: background-color 0.2s ease, transform 0.1s ease;
		text-decoration: none;
		outline: none;
		min-width: 100px;
		margin-right: 12px;
	}

	/* Hover */
	.custom-btn:hover {
		background-color: var(--btn-primary-hover-bg);
	}

	/* Active */
	.custom-btn:active {
		transform: scale(0.97);
	}

	/* Botão Cancelar - Totalmente Vermelho */
	.custom-btn.cancel {
		background-color: var(--btn-cancel-bg);
		border-color: var(--btn-cancel-border);
		color: var(--btn-cancel-text);
	}

	.custom-btn.cancel:hover {
		background-color: var(--btn-cancel-hover-bg);
	}

	.custom-btn.cancel:focus {
		outline: 2px solid rgba(220, 53, 69, 0.5);
	}

	/* Remove margem do último botão */
	.custom-btn:last-child {
		margin-right: 0;
	}


	/* =======================================================
Estilos para Tabelas Responsivas
======================================================= */


	.table {
		font-size: 14px;
		width: 85%;
		margin: 0 auto;
		border-collapse: collapse;
		box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
		background-color: #ffffff;
		margin-top: 30px;
	}

	/* Estilos para cabeçalhos da tabela */
	.table th {
		background-color: #007bff;
		color: #ffffff;
		font-weight: bold;
		padding: 14px 18px;
		text-align: center;
		text-transform: uppercase;
		border-bottom: 3px solid #0056b3;
	}

	/* Estilos para as células da tabela */
	.table td {
		padding: 12px 18px;
		text-align: center;
		color: #333;
		vertical-align: middle;
		border-bottom: 1px solid #ddd;
	}

	/* Tabela com linhas alternadas */
	.table-striped tbody tr:nth-child(odd) {
		background-color: #f8f9fa;
	}

	.table-striped tbody tr:nth-child(even) {
		background-color: #ffffff;
	}

	/* Borda da tabela */
	.table-bordered {
		border: 1px solid #dee2e6;
	}

	.table-bordered th,
	.table-bordered td {
		border: 1px solid #dee2e6;
	}

	/* Efeito hover para as linhas */
	.table tbody tr:hover {
		background-color: #f1f1f1;
		cursor: pointer;
	}

	/* Botões do DataTables */
	.dt-button {
		padding: 10px 18px;
		margin: 6px;
		font-size: 14px;
		color: #fff;
		background-color: #28a745;
		border: none;
		border-radius: 5px;
		box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
		transition: background-color 0.3s ease, transform 0.3s ease;
	}

	.dt-button:hover {
		background-color: #218838;
		transform: translateY(-2px);
	}

	.dt-button.pdfHtml5 {
		background-color: #dc3545;
	}

	.dt-button.pdfHtml5:hover {
		background-color: #c82333;
	}

	/* Ajustes no filtro e barra de pesquisa */
	.dataTables_filter input {
		border: 1px solid #ccc;
		padding: 10px;
		font-size: 14px;
		width: 280px;
		border-radius: 5px;
		margin-bottom: 15px;
	}

	.dataTables_filter input:focus {
		border-color: #007bff;
		outline: none;
	}

	.table th,
	.table td {
		word-wrap: break-word;
		max-width: 250px;
	}

	.infoBox {
		padding: 2rem 10px 1rem 10px;
		margin: 10px auto;
		max-width: 55em;
		width: 100%;
		/* Permite o crescimento automático baseado no conteúdo */
		box-sizing: border-box;
	}

	/* Tabela */
	.infoBox table {
		width: 100%;
		border-collapse: collapse;
	}

	/* Células */
	.infoBox th,
	.infoBox td {
		border: 1px solid #ccc;
		padding: 8px;
		text-align: left;
	}

	/* =======================================================
Estilos Responsivos
======================================================= */
	@media (max-width: 250px) {
		#tabela_transp {
			font-size: 0.7rem;
		}

		#tabela_transp th,
		#tabela_transp td {
			padding: 4px;
		}
	}

	@media (max-width: 250px) {
		.form_padrao_ativas {
			max-width: 90%;
		}
	}

	@media (max-width: 250px) {
		.form_padrao_ativas {
			max-width: 100%;
		}

		.form_padrao_ativas .row {
			flex-direction: column;
		}

		.botao_container {
			flex-direction: column;
		}
	}

	@media (max-width: 250px) {
		.custom-btn {
			padding: 6px 16px;
			font-size: 13px;
		}
	}

	@media (max-width: 480px) {
		.custom-btn {
			width: 100%;
			font-size: 12px;
		}
	}

	@media (max-width: 250px) {
		.custom-btn {
			padding: 6px 16px;
			font-size: 13px;
			min-width: 100px;
		}
	}

	@media (max-width: 250px) {
		.custom-btn {
			width: 100%;
			font-size: 12px;
			margin-right: 0;
			margin-bottom: 10px;
		}
	}

	/* ------------------------------------------------------------------ */