/* =====================================================
	 GRIDJS-LIKE THEME (INDEPENDENT)
	 ===================================================== */

:root {
	--g-bg: #ffffff;
	--g-border: #e5e7eb;
	--g-border-light: #f0f2f5;
	--g-header-bg: #f9fafb;
	--g-header-text: #6b7280;
	--g-text: #111827;
	--g-muted: #9ca3af;
	--g-accent: #3b82f6;
	--g-hover: #f3f4f6;
	--g-radius: 8px;
	--g-font: Muli,Helvetica Neue,Arial,sans-serif !important;

	--sort-neutral: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDEuOTk4IiBoZWlnaHQ9IjQwMS45OTgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMS45OTggNDAxLjk5OCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTczLjA5MiAxNjQuNDUyaDI1NS44MTNjNC45NDkgMCA5LjIzMy0xLjgwNyAxMi44NDgtNS40MjQgMy42MTMtMy42MTYgNS40MjctNy44OTggNS40MjctMTIuODQ3cy0xLjgxMy05LjIyOS01LjQyNy0xMi44NUwyMTMuODQ2IDUuNDI0QzIxMC4yMzIgMS44MTIgMjA1Ljk1MSAwIDIwMC45OTkgMHMtOS4yMzMgMS44MTItMTIuODUgNS40MjRMNjAuMjQyIDEzMy4zMzFjLTMuNjE3IDMuNjE3LTUuNDI0IDcuOTAxLTUuNDI0IDEyLjg1IDAgNC45NDggMS44MDcgOS4yMzEgNS40MjQgMTIuODQ3IDMuNjIxIDMuNjE3IDcuOTAyIDUuNDI0IDEyLjg1IDUuNDI0ek0zMjguOTA1IDIzNy41NDlINzMuMDkyYy00Ljk1MiAwLTkuMjMzIDEuODA4LTEyLjg1IDUuNDIxLTMuNjE3IDMuNjE3LTUuNDI0IDcuODk4LTUuNDI0IDEyLjg0N3MxLjgwNyA5LjIzMyA1LjQyNCAxMi44NDhMMTg4LjE0OSAzOTYuNTdjMy42MjEgMy42MTcgNy45MDIgNS40MjggMTIuODUgNS40MjhzOS4yMzMtMS44MTEgMTIuODQ3LTUuNDI4bDEyNy45MDctMTI3LjkwNmMzLjYxMy0zLjYxNCA1LjQyNy03Ljg5OCA1LjQyNy0xMi44NDggMC00Ljk0OC0xLjgxMy05LjIyOS01LjQyNy0xMi44NDctMy42MTQtMy42MTYtNy44OTktNS40Mi0xMi44NDgtNS40MnoiLz48L3N2Zz4=");
	--sort-asc: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOTIuMzYyIiBoZWlnaHQ9IjI5Mi4zNjEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI5Mi4zNjIgMjkyLjM2MSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTI4Ni45MzUgMTk3LjI4NyAxNTkuMDI4IDY5LjM4MWMtMy42MTMtMy42MTctNy44OTUtNS40MjQtMTIuODQ3LTUuNDI0cy05LjIzMyAxLjgwNy0xMi44NSA1LjQyNEw1LjQyNCAxOTcuMjg3QzEuODA3IDIwMC45MDQgMCAyMDUuMTg2IDAgMjEwLjEzNHMxLjgwNyA5LjIzMyA1LjQyNCAxMi44NDdjMy42MjEgMy42MTcgNy45MDIgNS40MjUgMTIuODUgNS40MjVoMjU1LjgxM2M0Ljk0OSAwIDkuMjMzLTEuODA4IDEyLjg0OC01LjQyNSAzLjYxMy0zLjYxMyA1LjQyNy03Ljg5OCA1LjQyNy0xMi44NDdzLTEuODE0LTkuMjMtNS40MjctMTIuODQ3eiIvPjwvc3ZnPg==");
	--sort-desc: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOTIuMzYyIiBoZWlnaHQ9IjI5Mi4zNjIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI5Mi4zNjIgMjkyLjM2MiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTI4Ni45MzUgNjkuMzc3Yy0zLjYxNC0zLjYxNy03Ljg5OC01LjQyNC0xMi44NDgtNS40MjRIMTguMjc0Yy00Ljk1MiAwLTkuMjMzIDEuODA3LTEyLjg1IDUuNDI0QzEuODA3IDcyLjk5OCAwIDc3LjI3OSAwIDgyLjIyOGMwIDQuOTQ4IDEuODA3IDkuMjI5IDUuNDI0IDEyLjg0N2wxMjcuOTA3IDEyNy45MDdjMy42MjEgMy42MTcgNy45MDIgNS40MjggMTIuODUgNS40MjhzOS4yMzMtMS44MTEgMTIuODQ3LTUuNDI4TDI4Ni45MzUgOTUuMDc0YzMuNjEzLTMuNjE3IDUuNDI3LTcuODk4IDUuNDI3LTEyLjg0NyAwLTQuOTQ4LTEuODE0LTkuMjI5LTUuNDI3LTEyLjg1eiIvPjwvc3ZnPg==");
}


/* =====================================================
   BASE
   ===================================================== */
.simpleTable {
	font-family: var(--g-font);
	background: transparent;
	width: 100%;
}

.simpleTable-container {
	width: 100%;
}

/* =====================================================
   SEARCH
   ===================================================== */
.simpleTable-search {
	padding: 12px 0px;
}

.simpleTable-search input {
	width: 250px;
	padding: 10px 13px;
	border: 1px solid var(--g-border);
	border-radius: 5px;
	font-size: 14px;
	outline: none;
}

.simpleTable-search input:focus {
	border-color: var(--g-accent);
}

.simpleTable-filter-btn {
	position: relative;
	width: 41px;
	height: 41px;
	padding: 0;
	border: 1px solid var(--g-border);
	border-radius: 5px;
	background: #fff;
	color: var(--g-header-text);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.simpleTable-filter-btn > i {
	margin: 0 !important;
}

.simpleTable-filter-btn:hover,
.simpleTable-filter-btn:focus,
.simpleTable-filter-btn[aria-expanded="true"] {
	border-color: var(--g-accent);
	color: var(--g-accent);
	background: #f8fbff;
	outline: none;
}

.simpleTable-filter-btn::before,
.simpleTable-filter-btn::after {
	position: absolute;
	left: 50%;
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	transition: opacity .15s ease, transform .15s ease;
	z-index: 100;
}

.simpleTable-filter-btn::before {
	content: "";
	top: calc(100% + 3px);
	border: 5px solid transparent;
	border-bottom-color: #202124;
	transform: translate(-50%, -3px);
}

.simpleTable-filter-btn::after {
	content: attr(data-tooltip);
	top: calc(100% + 13px);
	padding: 6px 9px;
	border-radius: 4px;
	background: #202124;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 3px 8px rgba(0, 0, 0, .18);
	transform: translate(-50%, -3px);
}

.simpleTable-filter-btn:hover::before,
.simpleTable-filter-btn:hover::after,
.simpleTable-filter-btn:focus-visible::before,
.simpleTable-filter-btn:focus-visible::after {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.simpleTable-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* SELECT LIMIT  */
.simpleTable-controls {
	display: flex;
	align-items: center;
	gap: 12px;
	justify-content: space-between;
}

.controls-left,
.controls-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.simpleTable-custom-buttons {
	display: flex;
	align-items: center;
	gap: 8px;
}

.simpleTable-custom-btn {
	padding: 8px 12px;
	border: 1px solid var(--g-border);
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.simpleTable-custom-btn:disabled {
	cursor: not-allowed;
	opacity: .65;
}

.simpleTable-limit {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 10px 36px 10px 13px; /* 👈 mais espaço à direita */
	min-width: 95px;
	font-size: 14px;
	border: 1px solid var(--g-border);
	border-radius: 4px;
	background: #fff;
	cursor: pointer;

	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%239ca3af' d='M5.5 7l4.5 4.5L14.5 7z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 22px;
}

.simpleTable-limit:focus {
	outline: none;
	border-color: var(--g-accent);
	/*box-shadow: 0 0 0 2px rgba(59,130,246,.25);*/
}

/* =====================================================
   FILTER DRAWER
   ===================================================== */
body.simpleTable-filter-open {
	overflow: hidden;
}

.simpleTable-filter-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000000000;
	pointer-events: none;
	visibility: hidden;
}

.simpleTable-filter-overlay.is-open {
	pointer-events: auto;
	visibility: visible;
}

.simpleTable-filter-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, .42);
	opacity: 0;
	transition: opacity .22s ease;
}

.simpleTable-filter-overlay.is-open .simpleTable-filter-backdrop {
	opacity: 1;
}

.simpleTable-filter-drawer {
	position: absolute;
	top: 0;
	right: 0;
	width: min(580px, calc(100vw - 24px));
	height: 100%;
	background: #fff;
	box-shadow: -12px 0 32px rgba(17, 24, 39, .18);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform .24s ease;
	font-family: var(--g-font);
}

.simpleTable-filter-overlay.is-open .simpleTable-filter-drawer {
	transform: translateX(0);
}

.simpleTable-filter-header {
	min-height: 64px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--g-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex: 0 0 auto;
}

.simpleTable-filter-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--g-text);
}

.simpleTable-filter-close {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: var(--g-header-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.simpleTable-filter-close:hover,
.simpleTable-filter-close:focus {
	background: var(--g-hover);
	color: var(--g-text);
	outline: none;
}

.simpleTable-filter-body {
	padding: 25px;
	overflow-x: hidden;
	overflow-y: auto;
	flex: 1 1 auto;
}

.simpleTable-filter-body > form {
	margin: 0;
}

@media (max-width: 767.98px) {
	.simpleTable-controls,
	.controls-left {
		flex-wrap: wrap;
	}

	.simpleTable-search {
		flex: 1 1 auto;
	}

	.simpleTable-search input {
		width: 100%;
	}

	.simpleTable-filter-drawer {
		width: 100vw;
	}

	.simpleTable-filter-body {
		padding: 16px;
	}

}


/* MOSTRAR - ESCONDER COLUNAS */
.simpleTable-columns {
	position: relative;
	display: inline-block;
	*margin-left: auto;
}

.simpleTable-columns-btn {
	padding: 8px 12px;
	border: 1px solid var(--g-border);
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.simpleTable-columns-menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	background: #fff;
	border: 1px solid var(--g-border);
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0,0,0,.08);
	min-width: 200px;
	z-index: 50;
	padding: 8px 0px 0px 0px;
}

.simpleTable-columns-menu.hidden {
	display: none;
}

.simpleTable-columns-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 18px;
	cursor: pointer;
	font-size: 14px;
}

.simpleTable-columns-item:hover {
	background: var(--g-hover);
}

.simpleTable-columns-item input {
	cursor: pointer;
}


/* =====================================================
   WRAPPER + SCROLL
   ===================================================== */
.simpleTable-table-wrapper {
	background: #fff;
	border-radius: var(--g-radius);
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
	border-top: 1px solid #f0f0f0;
	overflow-x: auto;
	width: 100%;
	position: relative;
}

/* =====================================================
   GRID CONTAINER
   ===================================================== */
.simpleTable-grid {
	width: 100%;
	min-width: max-content; /* mantém scroll horizontal quando necessário */
}

/* =====================================================
   HEADER
   ===================================================== */
.simpleTable-head {
	display: grid;
	position: sticky;
	top: 0;
	z-index: 10;
	background: var(--g-header-bg);
	border-bottom: 1px solid var(--g-border);
	user-select: none;
}

.simpleTable-th {
	position: relative;
	padding: 0;
	border-right: 1px solid var(--g-border);
	background: transparent;
}

.simpleTable-th:last-child {
	border-right: none;
}

.simpleTable-th-content {
	padding: 14px 20px;
	font-weight: 600;
	font-size: 15px;
	color: var(--g-header-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}




/* =====================================================
   BODY
   ===================================================== */
.simpleTable-body {
	display: block;
	border-bottom: 1px solid var(--g-border);
}
.simpleTable-body.no-transition .simpleTable-row {
	transition: none !important;
}

.simpleTable-row {
	display: grid;
	background: #fff;
	border-bottom: 1px solid var(--g-border-light);
}

.simpleTable-row:last-child {
	border-bottom: none;
}

.simpleTable-row:hover {
	background: var(--g-hover);
}
.simpleTable-row.selectable
{
	cursor: pointer;
}
.simpleTable-row.selected {
	background: #e5f0ff;

	background: #3f8ef8;
	color: #fff;
}

/* =====================================================
   CELLS
   ===================================================== */
.simpleTable-td {
	padding: 0;
	border-right: 1px solid var(--g-border);
	overflow: visible; /* 🔑 dropdowns não cortam */
	background: transparent;
}

.simpleTable-td:last-child {
	border-right: none;
}

.simpleTable-td-content {
	padding: 8px 18px;
	white-space: nowrap;
	overflow: visible;
	text-overflow: ellipsis;

	display: flex;
	align-items: center;     /* 👈 centra verticalmente */
	height: 100%;            /* 👈 essencial */
}
.text-wrapper-td {
	width: 100%;           /* 🔑 isto resolve tudo */
	white-space: nowrap;
	overflow: clip;
	text-overflow: ellipsis;
}
.text-wrapper-td.text-left  { text-align: left; }
.text-wrapper-td.text-center{ text-align: center; }
.text-wrapper-td.text-right { text-align: right; }

.text-wrapper-td.has-dropdown {
	overflow: visible;
}
.dropdown .dropdown-menu .dropdown-item
{
	cursor: pointer;
}


.simpleTable-td.white-space-normal,
.simpleTable-td.white-space-normal .simpleTable-td-content,
.simpleTable-td.white-space-normal .text-wrapper-td
{
	white-space: normal;
}


/* container do menu */
.gl-actions-menu
{
    position: fixed;
    min-width: 180px;
    max-height: calc(100vh - 16px);
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border: 1px solid #e4eaec;
    border-radius: .215rem;
    box-shadow:
        0 6px 18px rgba(0,0,0,0.08),
        0 2px 4px rgba(0,0,0,0.05);
    padding: 5px 0;
    /* z-index alto intencional — necessário para sobrepor modals do sistema que usam valores na ordem dos 1.000.000.000 */
    z-index: 9000000000;
    font-size: 14px;
    animation: gl-dropdown-fade 0.12s ease-out;
}
/* items */
.gl-action-item
{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: #37474f;
    text-align: left;
    white-space: nowrap;
    width: calc(100% - 10px);
    margin: 2px 5px;
    border-radius: .215rem;
}
/* hover */
.gl-action-item:hover {
    text-decoration: none;
    background: linear-gradient(0deg, #f3f7f9, #f8fafb);
}
/* item perigoso */
.gl-action-item.text-danger
{
    color: #dc3545;
}
.gl-action-item.text-danger:hover
{
    background: #fff5f5;
}
/* header */
.gl-header
{
    font-size: 11px;
    font-weight: 600;
    color: #a3afb7;
    padding: 6px 14px 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
/* divisor */
.gl-divider
{
    height: 1px;
    background: #e4eaec;
    margin: 6px 0;
}
/* ícone */
.gl-action-item i
{
    width: 14px;
    text-align: center;
    margin-right: .5em;
    *opacity: 0.75;
}
/* botão ⋯ */
.gl-actions-btn
{
	display: inline-block;
	text-align: center;
	border: 1px solid #e4eaec;
	background: #fff;
	border-radius: .215rem;
	padding: .429rem 1rem .429rem .429rem; /* padding-right maior para a seta */
	line-height: 1.57142857;
	cursor: pointer;
	transition: background 0.15s, border 0.15s;
	position: relative;
}
.gl-actions-btn i
{
	margin-right: 20px;
	padding-left: 10px;
}
.gl-actions-btn:hover
{
    background: #f3f7f9;
    border-color: #ccd5db;
}

/* seta */
.gl-actions-btn::after
{
    content: "";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-30%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #6c757d;
    opacity: 0.8;
    margin-right: 8px;
}
/* hover */
.gl-actions-btn:hover::after
{
    opacity: 1;
    color: inherit;
}


/* animação */
@keyframes gl-dropdown-fade
{
    from
    {
        opacity: 0;

        transform: translateY(-3px);
    }

    to
    {
        opacity: 1;

        transform: translateY(0);
    }
}




.simpleTable-empty-cell {
	grid-column: 1 / -1;   /* 🔑 ocupa todas as colunas */
	text-align: center;
	padding: 24px;
	color: var(--g-muted);
}
/* =====================================================
   RESIZER
   ===================================================== */
.simpleTable-resizer {
	position: absolute;
	top: 0;
	right: 0;
	width: 6px;
	height: 100%;
	cursor: col-resize;
	z-index: 10;
}

.simpleTable-resizer:hover {
	background: rgba(59,130,246,0.3);
}

.simpleTable-resizer.blocked {
	cursor: not-allowed;
	background: rgba(239, 68, 68, 0.25); /* vermelho suave */
}

/* transição suave do layout */
.simpleTable-head,
.simpleTable-row {
	transition: grid-template-columns 160ms ease-out;
}

/* durante drag → sem animação */
.simpleTable-head.no-transition,
.simpleTable-row.no-transition {
	transition: none !important;
}
.simpleTable-resizer:active {
	background: rgba(59,130,246,0.55);
}
/* =====================================================
   FOOTER / PAGINATION
   ===================================================== */
.simpleTable-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 24px;
}

.simpleTable-info {
	font-size: 14px;
	color: #555;
}

.simpleTable-pagination {
	display: flex;
	gap: 0;
}

.simpleTable-page {
	padding: 5px 12px;
	border: 1px solid var(--g-border);
	background: #fff;
	cursor: pointer;
}

.simpleTable-page + .simpleTable-page {
	border-left: none;
}

.simpleTable-page.active,
.simpleTable-page:disabled {
	background: var(--g-accent);
	color: #fff;
	border-color: var(--g-accent);
	cursor: no-drop;
}
.simpleTable-page.disabled
{
	cursor: no-drop;
	background-color: #90baff;
	border-color: #90baff;
}

.simpleTable-page:hover:not(:disabled) {
	background: var(--g-hover);
}
.simpleTable-page.ellipsis {
	padding: 5px 12px;
	*border: 1px solid transparent;
	*background: transparent;
	cursor: pointer;
	color: #999;
}
.simpleTable-page.jump {
	padding: 0;
	border: 1px solid var(--g-border);
	background: #fff;
}
.simpleTable-page.jump input {
	width: 60px;
	padding: 6px 8px;
	border: none;
	outline: none;
	text-align: center;
	font-size: 14px;
}
.simpleTable-page.jump input:focus
{
	border: 1px solid #3f8ef8;
}


/* =====================================================
   SORT (GRID / DIV BASED)
   ===================================================== */

/* header clicável */
.simpleTable-th.sortable {
	cursor: pointer;
	position: relative;
	user-select: none;
	padding-right: 36px; /* espaço para o ícone */
}

/* hover visual */
.simpleTable-th.sortable:hover {
	background-color: var(--g-hover);
}

/* ícone base (neutro) */
.simpleTable-th.sortable::after {
	content: "";
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	opacity: 0.35;
	background-repeat: no-repeat;
	background-size: 12px 12px;
	background-image: var(--sort-neutral);
	pointer-events: none;
}

/* ASC ativo */
.simpleTable-th.sort-asc::after {
	opacity: 1;
	background-image: var(--sort-asc);
}

/* DESC ativo */
.simpleTable-th.sort-desc::after {
	opacity: 1;
	background-image: var(--sort-desc);
}

/* evita conflito com resizer */
.simpleTable-th .simpleTable-resizer {
	pointer-events: auto;
}

/* REORGANIZAR COLUNAS */
.simpleTable-th.draggable {
	cursor: grab;
}
.simpleTable-th.dragging {
	opacity: 0.4;
	cursor: grabbing !important;
}

.simpleTable-th.drag-over {
	outline: 2px dashed var(--g-accent);
}
.simpleTable-th.drop-before {
	box-shadow: inset 2px 0 0 var(--g-accent);
}
.simpleTable-th.drop-after {
	box-shadow: inset -2px 0 0 var(--g-accent);
}

/* =====================================================
   LOADING OVERLAY
   ===================================================== */

/*.simpleTable-loading {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 50;
	pointer-events: all;
}*/
.simpleTable-loading {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.7);
	display: flex;
	align-items: flex-start;     /* 🔥 topo */
	justify-content: center;
	padding-top: 56px;           /* opcional: espaço do topo */
	z-index: 2147483647;
	pointer-events: all;
}

.simpleTable-loading.hidden {
	display: none;
}

/* spinner */
.simpleTable-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--g-accent);
    border-radius: 50%;
    animation: grid-spin 0.8s linear infinite;
    will-change: transform;
}
.simpleTable-spinner-text
{
	margin-right: 20px;
}

@keyframes grid-spin {
	to { transform: rotate(360deg); }
}


/* =====================================================
   SKELETON
   ===================================================== */

.simpleTable-row.skeleton {
	pointer-events: none;
}

.simpleTable-row.skeleton .simpleTable-td-content {
	padding: 14px 16px;
}

.grid-skeleton-bar {
	height: 14px;
	width: 100%;
	border-radius: 4px;
	background: linear-gradient(
		90deg,
		#e5e7eb 25%,
		#f3f4f6 37%,
		#e5e7eb 63%
	);
	background-size: 400% 100%;
	animation: grid-skeleton 1.4s ease infinite;
}

.grid-skeleton-bar.short {
	width: 60%;
}

.grid-skeleton-bar.tiny {
	width: 35%;
}

@keyframes grid-skeleton {
	0% { background-position: 100% 0; }
	100% { background-position: 0 0; }
}




.simpleTable-totals-row {
    border-top: 2px solid var(--border-color, #ddd);
    font-weight: 500;
    background: var(--totals-bg, #f9f9f7);
}
 
.simpleTable-totals-row .simpleTable-totals-label {
    color: var(--text-secondary, #73726c);
    font-size: 12px;
}
 
.simpleTable-totals-row .simpleTable-totals-value {
    color: var(--text-primary, #1a1a18);
}
