.btn-outline{
	width: 30px;
	height: 25px;
	font-size: 10px;
	margin-top: -7px;
	padding-left: 4px;
	padding-top: 2px;
}

.link-active{
	background-color: #8531FA;
	color: #fff;
}

.td-icon i{
	font-size: 22px;
}

button.px-5{
	float: right;
	height: 40px;
	width: 220px;
}

#image-preview {
	width: 200px;
	height: 200px;
	position: relative;
	overflow: hidden;
	background-color: #ffffff;
	color: #ecf0f1;
	border: 1px solid #CACED2;
	border-radius: 50%;
}

.img-default{
	width: 200px;
	height: 200px;
	margin-left: -7px;
}

/* imagem do template */

.img-template img{
	width: 400px;
	height: 200px;
	border: 1px solid rgb(162, 179, 162);
	border-radius: 5px;
}

.img-template-active img{
	width: 400px;
	height: 200px;
	border: 3px solid green;
	border-radius: 5px;
}

#image-preview input {
	line-height: 200px;
	font-size: 200px;
	position: absolute;
	opacity: 0;
	z-index: 10;
}

#image-preview label {
	position: absolute;
	z-index: 5;
	opacity: 0.8;
	cursor: pointer;
	background-color: #8833FF;
	height: 50px;
	font-size: 15px;
	line-height: 50px;
	text-transform: uppercase;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	text-align: center;
}

.img-round{
	height: 30px;
	border-radius: 50%;
}


/* Imagem da configuração Ecommerce */


._image-preview {
	width: 100px;
	height: 100px;
	position: relative;
	overflow: hidden;
	background-color: #ffffff;
	color: #ecf0f1;
	border: 1px solid rgb(151, 153, 156);
	border-radius: 30%;
}

._image-preview input {
	line-height: 100px;
	font-size: 100px;
	position: absolute;
	opacity: 0;
	z-index: 10;
}

._image-preview label {
	position: absolute;
	z-index: 5;
	opacity: 0.8;
	cursor: pointer;
	background-color: #8833FF;
	height: 25px;
	font-size: 12px;
	line-height: 25px;
	text-transform: uppercase;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	text-align: center;
}

.img-default-contato{
	width: 100px;
	height: 100px;
	margin-left: 1px;
}

body.loading {
	overflow: hidden;
}

/* a partir do momento em que o body estiver com a classe loading,  o modal aparecerá */
body.loading .modal-loading {
	display: block;
}

.modal-loading {
	display: none;
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(255, 255, 255, 0.8)
	url("/loading.gif") 50% 50% no-repeat;
}

.required:after {
	content: "*";
	color: red;
}

.tbl-400{
	height: 400px !important;
}

/* =======================
   RESPONSIVIDADE FRENTE CAIXA
   ======================= */

#salvar_venda{
	margin-right: 10px !important;
}

/* Mobile Portrait - Telas pequenas em pé (< 576px) */
@media screen and (max-width: 575.98px) {
	.btn-ip{
		display: none;
	}

	.texto-leitor{
		font-size: 12px !important;
	}

	.is-desktop{
		display: none;
	}

	.btns-pdv div{
		margin-top: 5px !important;
	}

	#salvar_venda{
		margin-top: 35px !important;
		width: 100% !important;
	}

	.table-pdv th{
		width: 100px;
		font-size: 0.85rem;
	}

	.table-pdv{
		width: 100%;
		display: block;
		overflow-x: auto;
		white-space: nowrap;
		font-size: 0.85rem;
	}
	.table-pdv input{
		width: 100px;
		font-size: 0.85rem;
	}
	.table-pdv button{
		width: 70px;
		font-size: 0.8rem;
	}
	.table-pdv .produto-nome{
		width: 300px !important;
	}
	
	/* Layout de 2 colunas vira 1 coluna em mobile */
	.dark-theme .col-lg-8,
	.dark-theme .col-lg-4 {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100%;
	}
	
	.dark-theme .col-lg-4 .card {
		margin-top: 15px;
		height: auto !important;
		min-height: auto !important;
	}
	
	/* Ajustar altura da tabela em mobile */
	.table-responsive[style*="height"] {
		height: 300px !important;
		max-height: 300px !important;
	}
	
	/* Botões do topo em coluna */
	.row.row-cols-auto.m-3 {
		flex-direction: column;
		gap: 8px;
	}
	
	.row.row-cols-auto.m-3 > .col {
		width: 100%;
		margin: 0 !important;
	}
	
	.row.row-cols-auto.m-3 button {
		width: 100%;
		margin-left: 0 !important;
	}
	
	/* Campos de produto mais compactos */
	.col-md-6, .col-md-2, .col-md-1 {
		flex: 0 0 100%;
		max-width: 100%;
		margin-bottom: 10px;
	}
}

/* Tablet e Telas Médias (576px - 991px) */
@media screen and (min-width: 576px) and (max-width: 991.98px) {
	.is-desktop {
		display: none;
	}
	
	/* Layout de 2 colunas vira empilhado em tablet */
	.dark-theme .col-lg-8,
	.dark-theme .col-lg-4 {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100%;
	}
	
	.dark-theme .col-lg-4 .card {
		margin-top: 20px;
		height: auto !important;
		min-height: 400px !important;
	}
	
	/* Ajustar altura da tabela em tablet */
	.table-responsive[style*="height"] {
		height: 400px !important;
		max-height: 400px !important;
	}
	
	/* Botões do topo em grid 2 colunas */
	.row.row-cols-auto.m-3 {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	
	/* Campos de produto em grid responsivo */
	.row.mt-2 .col-md-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}
	
	.row.mt-2 .col-md-2 {
		flex: 0 0 25%;
		max-width: 25%;
	}
	
	/* Botão adicionar */
	.col-md-1.is-desktop,
	.col-md-1.is-mobile {
		flex: 0 0 100%;
		max-width: 100%;
		margin-top: 10px;
	}
	
	.col-md-1.is-mobile button {
		width: 100%;
	}
}

/* Monitores Quadrados e Retangulares em Pé (992px - 1199px) - Aspectos 4:3, 5:4, etc */
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
	.is-mobile {
		display: none;
	}
	
	.btns-pdv button {
		height: 50px;
	}
	
	/* Layout adaptado para monitores quadrados */
	.dark-theme .col-lg-8 {
		flex: 0 0 60%;
		max-width: 60%;
	}
	
	.dark-theme .col-lg-4 {
		flex: 0 0 40%;
		max-width: 40%;
	}
	
	/* Ajustar altura do card lateral */
	.dark-theme .col-lg-4 .card[style*="height: 650px"] {
		height: auto !important;
		min-height: 500px !important;
		max-height: calc(100vh - 200px) !important;
	}
	
	/* Ajustar altura da tabela */
	.table-responsive[style*="height: 480px"] {
		height: 400px !important;
		max-height: 400px !important;
	}
	
	/* Botões do topo mais compactos */
	.row.row-cols-auto.m-3 {
		flex-wrap: wrap;
		gap: 8px;
	}
	
	.row.row-cols-auto.m-3 button {
		font-size: 0.85rem;
		padding: 0.5rem 0.75rem;
	}
	
	/* Campos de produto mais compactos */
	.col-md-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}
	
	.col-md-2 {
		flex: 0 0 20%;
		max-width: 20%;
	}
}

/* Orientação Portrait em telas médias/grandes (height > width) */
@media screen and (min-width: 992px) and (orientation: portrait) {
	.is-mobile {
		display: none;
	}
	
	/* Layout empilhado verticalmente em portrait */
	.dark-theme .col-lg-8,
	.dark-theme .col-lg-4 {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100%;
	}
	
	.dark-theme .col-lg-4 .card {
		margin-top: 20px;
		height: auto !important;
		min-height: 350px !important;
	}
	
	/* Ajustar altura da tabela para usar melhor o espaço vertical */
	.table-responsive[style*="height: 480px"] {
		height: calc(50vh - 100px) !important;
		max-height: calc(50vh - 100px) !important;
	}
	
	/* Card de pagamento mais compacto */
	.dark-theme .col-lg-4 .card[style*="height: 650px"] {
		height: auto !important;
		min-height: 350px !important;
	}
	
	#salvar_venda {
		margin-top: 20px !important;
		width: 100% !important;
	}
	
	/* Botões do topo em grid responsivo */
	.row.row-cols-auto.m-3 {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 10px;
	}
	
	/* Campos de produto em layout flexível */
	.row.mt-2 {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}
	
	.row.mt-2 .col-md-6 {
		flex: 1 1 calc(50% - 5px);
		min-width: 200px;
	}
	
	.row.mt-2 .col-md-2 {
		flex: 1 1 calc(25% - 8px);
		min-width: 100px;
	}
}

/* Desktop Grande (≥ 1200px) - Layout padrão completo */
@media only screen and (min-width: 1200px) {
	.is-mobile {
		display: none;
	}
	
	.btns-pdv button {
		height: 50px;
	}
	
	.btn-venda {
		float: right;
	}
	
	/* Layout padrão 8/4 em telas grandes */
	.dark-theme .col-lg-8 {
		flex: 0 0 66.666667%;
		max-width: 66.666667%;
	}
	
	.dark-theme .col-lg-4 {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
}

/* Monitores muito largos mas com altura limitada (ex: 1920x1080, 1600x900) */
@media screen and (min-width: 1400px) and (max-height: 900px) {
	/* Ajustar altura do card lateral para não ocupar tanto espaço vertical */
	.dark-theme .col-lg-4 .card[style*="height: 650px"] {
		height: calc(100vh - 150px) !important;
		max-height: calc(100vh - 150px) !important;
		overflow-y: auto;
	}
	
	/* Ajustar altura da tabela */
	.table-responsive[style*="height: 480px"] {
		height: calc(100vh - 400px) !important;
		max-height: calc(100vh - 400px) !important;
	}
}

/* Monitores Quadrados Específicos (4:3, 5:4) - Altura similar à largura */
@media screen and (min-width: 992px) and (max-width: 1400px) and (min-aspect-ratio: 1/1.2) and (max-aspect-ratio: 1.3/1) {
	/* Layout mais equilibrado para monitores quadrados */
	.dark-theme .col-lg-8 {
		flex: 0 0 65%;
		max-width: 65%;
	}
	
	.dark-theme .col-lg-4 {
		flex: 0 0 35%;
		max-width: 35%;
	}
	
	/* Card lateral com altura adaptada */
	.dark-theme .col-lg-4 .card[style*="height: 650px"] {
		height: auto !important;
		min-height: 450px !important;
		max-height: calc(100vh - 180px) !important;
		overflow-y: auto;
	}
	
	/* Tabela com altura adaptada */
	.table-responsive[style*="height: 480px"] {
		height: calc(100vh - 450px) !important;
		max-height: calc(100vh - 450px) !important;
		min-height: 300px;
	}
	
	/* Botões mais compactos */
	.row.m-3.g-2 button {
		font-size: 0.8rem;
		padding: 0.4rem 0.7rem;
	}
	
	/* Espaçamentos reduzidos */
	.card.card-custom.gutter-b.example {
		padding: 10px;
	}
}

/* Ajustes gerais para melhor organização dos botões */
.row.m-3.g-2 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.row.m-3.g-2 .col-auto {
	margin: 0;
}

/* Garantir que os botões não fiquem muito pequenos */
@media screen and (min-width: 992px) {
	.btns-pdv .btn {
		white-space: nowrap;
	}
}

/* Ajustes para o card lateral usar flexbox corretamente */
.col-lg-4 .card[style*="display: flex"] {
	overflow-y: auto;
	overflow-x: hidden;
}

/* Melhorar scroll da tabela */
.table-responsive[style*="overflow-y: auto"] {
	scrollbar-width: thin;
	scrollbar-color: #ccc transparent;
}

.table-responsive[style*="overflow-y: auto"]::-webkit-scrollbar {
	width: 8px;
}

.table-responsive[style*="overflow-y: auto"]::-webkit-scrollbar-track {
	background: transparent;
}

.table-responsive[style*="overflow-y: auto"]::-webkit-scrollbar-thumb {
	background-color: #ccc;
	border-radius: 4px;
}

.table-responsive[style*="overflow-y: auto"]::-webkit-scrollbar-thumb:hover {
	background-color: #aaa;
}

/* Ajustes para campos de produto em telas pequenas */
@media screen and (max-width: 991.98px) {
	.row.mt-2.g-2 .col-md-6,
	.row.mt-2.g-2 .col-md-2,
	.row.mt-2.g-2 .col-sm-12,
	.row.mt-2.g-2 .col-sm-6,
	.row.mt-2.g-2 .col-6 {
		margin-bottom: 0.5rem;
	}
}

/* Garantir que o botão finalizar venda fique visível */
#salvar_venda {
	position: relative;
	z-index: 10;
}


/* =======================
   SIDEBAR COLAPSÁVEL
   ======================= */

/* --- CONFIGURAÇÃO PADRÃO (MENU ABERTO) --- */
.sidebar-wrapper {
    width: 250px;
    transition: width 0.3s;
}
.page-wrapper {
    margin-left: 250px;
    transition: margin-left 0.3s;
}
.topbar {
    left: 250px;
    transition: left 0.3s;
}
.page-footer {
    left: 250px;
    transition: left 0.3s;
}

/* --- ESTADO RECOLHIDO (SEM HOVER) --- */
body.sidebar-collapsed:not(.sidebar-hovered) .sidebar-wrapper {
    width: 70px !important;
    overflow: visible;
    transition: width 0.3s;
}
body.sidebar-collapsed:not(.sidebar-hovered) .page-wrapper {
    margin-left: 70px !important;
    transition: margin-left 0.3s;
}
body.sidebar-collapsed:not(.sidebar-hovered) .topbar {
    left: 70px !important;
    transition: left 0.3s;
}
body.sidebar-collapsed:not(.sidebar-hovered) .page-footer {
    left: 70px !important;
    transition: left 0.3s;
}

/* --- ESTADO RECOLHIDO (COM HOVER) --- */
body.sidebar-collapsed.sidebar-hovered .sidebar-wrapper {
    width: 250px !important;
    z-index: 999;
    transition: width 0.3s;
}
body.sidebar-collapsed.sidebar-hovered .page-wrapper {
    margin-left: 250px !important;
    transition: margin-left 0.3s;
}
body.sidebar-collapsed.sidebar-hovered .topbar {
    left: 250px !important;
    transition: left 0.3s;
}
body.sidebar-collapsed.sidebar-hovered .page-footer {
    left: 250px !important;
    transition: left 0.3s;
}

/* Oculta textos, setas e submenus quando retraída e SEM hover */
body.sidebar-collapsed:not(.sidebar-hovered) .sidebar-wrapper .menu-title,
body.sidebar-collapsed:not(.sidebar-hovered) .sidebar-wrapper .has-arrow:after,
body.sidebar-collapsed:not(.sidebar-hovered) .sidebar-wrapper .has-arrow .bx-right-arrow-alt,
body.sidebar-collapsed:not(.sidebar-hovered) .sidebar-wrapper .has-arrow .bi-chevron-down,
body.sidebar-collapsed:not(.sidebar-hovered) .sidebar-wrapper ul li ul,
body.sidebar-collapsed:not(.sidebar-hovered) .sidebar-wrapper .has-arrow > span,
body.sidebar-collapsed:not(.sidebar-hovered) .sidebar-wrapper li > a > span:not(.parent-icon) {
    display: none !important;
}

/* Centraliza ícones quando retraída */
body.sidebar-collapsed:not(.sidebar-hovered) .sidebar-wrapper .parent-icon {
    margin-right: 0 !important;
    display: flex;
    justify-content: center;
    width: 100%;
}
body.sidebar-collapsed:not(.sidebar-hovered) .sidebar-wrapper li > a {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ======================================================
   ESTILOS ADICIONAIS: MENU MODERNO E MINIMALISTA
   ====================================================== */

/* 1. Remove a sombra pesada e adiciona uma borda sutil */
.sidebar-wrapper {
    box-shadow: none !important;
    border-right: 1px solid #e9ecef;
}
.dark-theme .sidebar-wrapper,
.semi-dark .sidebar-wrapper {
    border-right: 1px solid #343a40;
}

/* 2. Ajusta os links principais do menu */
.metismenu li a {
    font-size: 14px;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 6px;
    margin: 2px 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* 3. Alinha os ícones */
.metismenu li a .parent-icon {
    min-width: 40px;
    font-size: 20px;
    line-height: 1;
}

/* 4. Estado de Hover */
.metismenu li:not(.mm-active) a:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--color-default, #0d6efd);
}
.dark-theme .metismenu li:not(.mm-active) a:hover,
.semi-dark .metismenu li:not(.mm-active) a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* 5. Estado Ativo */
.metismenu li.mm-active > a {
    font-weight: 600;
    color: var(--color-default, #0d6efd);
    background-color: rgba(13, 110, 253, 0.08);
    box-shadow: none;
}
.metismenu li.mm-active {
     border-left: 4px solid var(--color-default, #0d6efd);
     margin-left: 0;
     margin-right: 0;
}
.metismenu li.mm-active a {
    margin-left: 6px;
    margin-right: 10px;
}

/* 6. Refinamento dos Submenus */
.metismenu ul {
    background-color: rgba(13, 110, 253, 0.04);
    border-radius: 8px;
    margin: 4px 10px 10px 10px;
    padding: 6px 12px 10px 14px;
    position: relative;
}
.metismenu ul::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    border-radius: 2px;
    background-color: rgba(13, 110, 253, 0.18);
}
.dark-theme .metismenu ul,
.semi-dark .metismenu ul {
    background-color: rgba(255, 255, 255, 0.03);
}
.dark-theme .metismenu ul::before,
.semi-dark .metismenu ul::before {
    background-color: rgba(255, 255, 255, 0.18);
}

/* 7. Links do Submenu */
.metismenu ul li a {
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 400;
    color: #2f2f2f;
    margin: 3px 6px;
    position: relative;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
    width: 100%;
}
.dark-theme .metismenu ul li a,
.semi-dark .metismenu ul li a {
    color: #d4d7dc;
}
.metismenu ul li a:hover {
    background-color: rgba(13, 110, 253, 0.12);
    color: var(--color-default, #0d6efd);
}
.dark-theme .metismenu ul li a:hover,
.semi-dark .metismenu ul li a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.metismenu ul li a strong {
    color: #333;
    font-weight: 600;
}
.metismenu ul li > a.has-arrow {
    padding-right: 32px;
}
.metismenu ul li > a.has-arrow strong {
    flex: 1;
}
.dark-theme .metismenu ul li a strong,
.semi-dark .metismenu ul li a strong {
    color: #f1f1f1;
}
.metismenu ul ul li a i.bx-circle {
    font-size: 8px !important;
    vertical-align: middle;
}
.metismenu ul li.mm-active > a {
    color: var(--color-default, #0d6efd);
    font-weight: 500;
    background-color: transparent;
}

/* 9. Logo compacta quando menu recolhido */
body.sidebar-collapsed:not(.sidebar-hovered) .sidebar-wrapper .sidebar-header {
    padding: 12px 8px;
}
body.sidebar-collapsed:not(.sidebar-hovered) .sidebar-wrapper .sidebar-header .logo-icon {
    width: 44px;
    max-width: 44px;
    transition: width 0.2s ease;
}
body.sidebar-collapsed.sidebar-hovered .sidebar-wrapper .sidebar-header .logo-icon,
body:not(.sidebar-collapsed) .sidebar-wrapper .sidebar-header .logo-icon {
    width: 60px;
    max-width: 60px;
}

/* 8. Transições de Colapso */
.sidebar-wrapper,
.page-wrapper,
.topbar,
.page-footer {
    transition: all 0.25s ease-in-out !important;
}

/* ===========================
   BOTÕES DE RECOLHER/EXPANDIR
   =========================== */

/* Por padrão, só mostra o botão de recolher */
#btn-expandir-menu { display: none !important; }
#btn-recolher-menu { display: block !important; }

/* Quando retraído, só mostra o botão de expandir */
body.sidebar-collapsed #btn-recolher-menu { display: none !important; }
body.sidebar-collapsed #btn-expandir-menu { display: block !important; }

/* Sidebar para exibir erros de validacao - DESABILITADO */
/*
#error-sidebar {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 260px;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 1100;
}
#error-sidebar .error-item { cursor: pointer; }
*/

/* ===================================
   ESTILOS MINIMALISTAS PARA HEADER
   =================================== */

/* Botões minimalistas do cabeçalho */
.btn-header-minimal {
    padding: 4px 10px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    border-radius: 4px !important;
    border-width: 1px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    height: auto !important;
    min-height: 28px !important;
}

.btn-header-minimal i {
    margin: 0 !important;
}

.btn-header-minimal:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Texto minimalista do cabeçalho */
.header-text-minimal {
    font-size: 11px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

/* Ajustes para botões outline no cabeçalho */
.btn-outline-secondary.btn-header-minimal {
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    background-color: transparent !important;
}

.btn-outline-secondary.btn-header-minimal:hover {
    color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

.btn-outline-primary.btn-header-minimal {
    color: #0d6efd !important;
    border-color: #0d6efd !important;
    background-color: transparent !important;
}

.btn-outline-primary.btn-header-minimal:hover {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.btn-outline-success.btn-header-minimal {
    color: #198754 !important;
    border-color: #198754 !important;
    background-color: transparent !important;
}

.btn-outline-success.btn-header-minimal:hover {
    color: #fff !important;
    background-color: #198754 !important;
    border-color: #198754 !important;
}

.btn-outline-info.btn-header-minimal {
    color: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
    background-color: transparent !important;
}

.btn-outline-info.btn-header-minimal:hover {
    color: #000 !important;
    background-color: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
}

/* Ajustes para o top-menu */
.top-menu {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.top-menu-left {
    display: flex !important;
    align-items: center !important;
}

/* Ajuste responsivo - esconder textos em telas médias */
@media (max-width: 1200px) {
    .header-text-minimal {
        display: none !important;
    }
    .btn-header-minimal {
        padding: 4px 8px !important;
        gap: 0 !important;
    }
}

/* Texto truncado com expansão no hover (EstilosVisualPadraoSistema) */
.text-truncate-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.text-truncate-cell:hover {
    white-space: normal !important;
    word-wrap: break-word;
    overflow: visible;
    background-color: #f8f9fa;
    position: relative;
    z-index: 10;
}
.text-truncate-hover {
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}
.text-truncate-hover:hover {
    white-space: normal;
    word-wrap: break-word;
    max-width: none;
    background-color: #fffbeb;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.text-truncate-sm { max-width: 120px; }
.text-truncate-md { max-width: 200px; }
.text-truncate-lg { max-width: 300px; }
.text-truncate-xl { max-width: 400px; }
.text-truncate-cell.text-truncate-lg { max-width: 220px; }

