@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
	--cor_amarelo: #d5ab52;
	--cor_azul: #13253b;
	--cor-vermelho: #c41b4c;
	--cor_cinza: #6284a5;
	--cor-cinza-escuro: #363636;
	--cor-laranja: #f0544f;
}

.table th,
.table td {
	vertical-align: middle !important;
}

/* container */
#proponente+.select2-container {
	width: 100% !important;
}

/* campo principal */
#proponente+.select2-container .select2-selection--multiple {
	min-height: 38px;
	background-color: #fff;
	border: 1px solid var(--cor_azul);
	border-radius: .25rem;
	padding: 4px 6px;
}

/* foco */
#proponente+.select2-container--focus .select2-selection--multiple {
	border-color: var(--cor_amarelo);
	box-shadow: 0 0 0 .15rem rgba(213, 171, 82, .35);
}

/* área renderizada */
#proponente+.select2-container .select2-selection__rendered {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	max-height: 64px;
	/* 🔥 evita quebrar layout */
	overflow-y: auto;
}

/* chip selecionado */
#proponente+.select2-container .select2-selection__choice {
	background-color: var(--cor_azul);
	border: none;
	border-radius: 14px;
	padding: 2px 8px;
	font-size: 13px;
	color: var(--cor_amarelo);
	display: flex;
	align-items: center;
	margin: 0;
}

/* texto do chip */
#proponente+.select2-container .select2-selection__choice__display {
	padding-right: 6px;
}

/* REMOVE (X) DO SELECT2 - PROponente */
#proponente+.select2-container .select2-selection__choice__remove {
	color: var(--cor_amarelo) !important;
	font-weight: 700;
	font-size: 14px;
	margin-right: 4px;
	cursor: pointer;
	background: transparent !important;
	border: none !important;
}

/* hover do X */
#proponente+.select2-container .select2-selection__choice__remove:hover {
	color: #ffe08a !important;
}

#proponente+.select2-container .select2-selection__choice__remove:hover {
	color: #ffdddd;
}

/* placeholder */
#proponente+.select2-container .select2-search__field::placeholder {
	color: #999;
}

/* dropdown */
.select2-container--default .select2-dropdown {
	border: 1px solid var(--cor_azul);
}

/* item dropdown */
.select2-container--default .select2-results__option {
	padding: 6px 10px;
}

/* hover dropdown */
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background-color: var(--cor_azul);
	color: var(--cor_amarelo);
}

/* item selecionado no dropdown */
.select2-container--default .select2-results__option--selected {
	background-color: rgba(19, 37, 59, .08);
}



.link-azul {
	color: var(--cor_azul) !important;
}

.titulo-certidao {
	background-color: #d5ab52 !important;
	font-weight: bold;
	text-align: start;
}

.btn-amarelo {
	background-color: var(--cor_amarelo);
	color: #fff;
	border-color: var(--cor_amarelo);
}

.btn-amarelo:hover {
	background-color: #c49a45;
	border-color: #c49a45;
	color: #fff;
}

.btn-azul {
	background-color: var(--cor_azul);
	color: #fff;
	border-color: var(--cor_azul);
}

.btn-azul:hover {
	background-color: #112135;
	border-color: #112135;
	color: #fff;
}

.cor-link {
	color: var(--cor_azul);
}

.cor-link:hover {
	color: var(--cor_amarelo);
}

.bg-cinza {
	background-color: var(--cor_cinza);
}

.bg-laranja {
	background-color: var(--cor-laranja);
}

.bg-vermelho {
	background-color: var(--cor-vermelho);
}

.bg-cinza-escuro {
	background-color: var(--cor-cinza-escuro);
}

body {

	font-family: "Roboto Flex", sans-serif !important;
	color: var(--cor_azul) !important;
}

.texto-azul {
	color: var(--cor_azul);
}

.texto-amarelo {
	color: var(--cor_amarelo);
}

.bg-amarelo {
	background-color: var(--cor_amarelo);
}

.bg-azul {
	background-color: var(--cor_azul)
}

.fonte-logo {
	font-family: century-gothic, sans-serif;
	font-weight: bold;
	font-size: 18px;
}

.fw-bold {
	font-weight: bold;
}

.icone-logo {
	max-width: 36px;

}

.logo-login {
	max-width: 200px;
}

.page-login {
	background: url('../../../../img/back-login2.png');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	height: 100vh;
}


.custom-btn {
	background-color: var(--cor_azul);
	border-radius: 0;
	/* Sem canto arredondado */
	color: #fff;
	/* Cor do texto */
	border: none;
	/* Sem borda */
	transition: background-color 0.3s ease;
	/* Transição suave */
}

.custom-btn:hover {
	background-color: #0e1d2b;
	/* Mais escura no hover */
}



/* Cores institucionais */
.bg-federal {
	background-color: #13253b !important;
	color: white !important;
}

.bg-estadual {
	background-color: #dba84f !important;
	color: white !important;
}

.text-federal {
	color: #13253b !important;
}

.text-estadual {
	color: #dba84f !important;
}

.border-federal {
	border-color: #13253b !important;
}

.border-estadual {
	border-color: #dba84f !important;
}

/* Cards Nice Admin */
.info-card {
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.info-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.info-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
}

.info-card.primary::before {
	background: #13253b;
}

.info-card.success::before {
	background: #28a745;
}

.info-card.warning::before {
	background: #dba84f;
}

.info-card.info::before {
	background: #17a2b8;
}

.info-card.danger::before {
	background: #dc3545;
}

.card-icon {
	font-size: 32px;
	line-height: 1;
	margin-bottom: 10px;
}

.card-title {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	color: #6c757d;
	font-weight: 600;
}

.card-value {
	font-size: 24px;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 5px;
}

.card-link {
	font-size: 12px;
	color: #007bff;
	text-decoration: none;
	font-weight: 600;
}

.card-link:hover {
	text-decoration: underline;
}

/* Gráficos */
.chart-container {
	position: relative;
	height: 350px;
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	margin-bottom: 20px;
}

.chart-title {
	font-size: 16px;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e9ecef;
}

/* Modal Bootstrap 4 Customizado */
.modal-header-custom {
	background: linear-gradient(135deg, #13253b 0%, #1e3a5f 100%);
	color: white;
	border: none;
}

.modal-header-custom .close {
	color: white;
	opacity: 0.8;
}

.modal-header-custom .close:hover {
	opacity: 1;
}

.badge-federal {
	background-color: #13253b;
	color: white;
	padding: 6px 12px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 11px;
}

.badge-estadual {
	background-color: #dba84f;
	color: white;
	padding: 6px 12px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 11px;
}




/* ===============================
   KANBAN CLEAN - ESTILO TRELLO
   Nice Admin + Bootstrap 4
=================================*/

/* Fundo geral */
.kanban-board {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding: 10px 5px 20px 5px;
}

.kanban-board::-webkit-scrollbar {
	height: 8px;
}

.kanban-board::-webkit-scrollbar-thumb {
	background: #d6d9dc;
	border-radius: 4px;
}

/* Colunas */
.kanban-column {
	background: #f4f5f7;
	border-radius: 8px;
	width: 320px;
	min-width: 320px;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 200px);
}

.kanban-column-header {
	font-weight: 600;
	font-size: 14px;
	padding: 12px 14px;
	border-radius: 8px 8px 0 0;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.kanban-column-header .badge {
	background: rgba(255, 255, 255, 0.85);
	font-weight: 600;
	font-size: 12px;
}

/* Área dos cards */
.kanban-cards {
	padding: 8px;
	overflow-y: auto;
	flex-grow: 1;
}

.kanban-cards-empty {
	border: 2px dashed #dfe1e6;
	border-radius: 6px;
	min-height: 80px;
}

/* ===============================
   CARD ESTILO TRELLO
=================================*/

.kanban-card {
	background: #ffffff;
	border-radius: 8px;
	padding: 10px 12px;
	margin-bottom: 10px;
	box-shadow: 0 1px 2px rgba(9, 30, 66, .15);
	transition: all .15s ease;
	cursor: pointer;
	border: none !important;
}

.kanban-card:hover {
	box-shadow: 0 4px 8px rgba(9, 30, 66, .25);
	transform: translateY(-1px);
}

/* Remove aquele border-left forte */
.kanban-card[style] {
	border-left: none !important;
}

/* Título */
.kanban-card h6 {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #172b4d;
}

/* Etiquetas */
.kanban-labels {
	margin-bottom: 6px;
}

.kanban-label-small {
	font-size: 11px;
	padding: 3px 6px;
	border-radius: 4px;
	font-weight: 600;
	margin-right: 4px;
	display: inline-block;
}

/* Info convênio */
.convenio-info {
	font-size: 12px;
	margin-bottom: 4px;
}

.convenio-info .btn {
	font-size: 11px;
	padding: 2px 6px;
}

/* Objeto texto */
.objeto-text {
	font-size: 12px;
	color: #5e6c84;
	margin-bottom: 6px;
}

/* Datas */
.dates {
	font-size: 12px;
	margin-bottom: 4px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.dates .badge {
	font-size: 11px;
	padding: 3px 6px;
}

/* Usuário */
.user-info {
	font-size: 12px;
	color: #5e6c84;
	margin-bottom: 4px;
}

/* Comentários */
.comments-count {
	font-size: 12px;
	color: #5e6c84;
}

/* ===============================
   DRAG & DROP
=================================*/

.sortable-ghost {
	opacity: 0.4;
}

.dragging {
	opacity: 0.6;
	transform: rotate(2deg);
}

/* Coluna hover ao arrastar */
.kanban-column-hover {
	background: #e4e6ea;
}

/* ===============================
   FILTER CARD (mais clean)
=================================*/

.filter-card {
	background: #ffffff;
	padding: 16px;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	margin-bottom: 20px;
}

/* ===============================
   ETIQUETAS NO MODAL
=================================*/

.label-selector {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.label-option {
	padding: 5px 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	opacity: .6;
	transition: all .15s ease;
}

.label-option input {
	display: none;
}

.label-option.selected {
	opacity: 1;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, .08);
}

/* ===============================
   COMENTÁRIOS MODAL
=================================*/

.kanban-comments-section {
	margin-top: 20px;
	border-top: 1px solid #e6e9ed;
	padding-top: 15px;
}

.kanban-comment {
	background: #f4f5f7;
	border-radius: 6px;
	padding: 8px;
	margin-bottom: 8px;
	font-size: 13px;
}

.kanban-comment-header {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: #6c757d;
	margin-bottom: 4px;
}

.kanban-comment-text {
	font-size: 13px;
	margin-bottom: 4px;
}

.kanban-comment-actions {
	text-align: right;
}

.kanban-comment-btn {
	background: none;
	border: none;
	font-size: 12px;
	margin-left: 4px;
	cursor: pointer;
	color: #6c757d;
}

.kanban-comment-btn:hover {
	color: #000;
}

.kanban-comment-btn.delete:hover {
	color: #dc3545;
}

/* ===============================
   RESPONSIVO
=================================*/

@media (max-width: 768px) {
	.kanban-column {
		min-width: 280px;
	}
}