/*body{
background: radial-gradient(circle, rgba(68,137,214,1) 0%, rgba(107,102,222,1) 100%);
color: #fff;
}*/


.menu_direito{

height: 86px;
width: 80px;
background-color: black;
color: white;
position: absolute;
z-index: 2;
opacity: 0;
text-align: center;
line-height: 26px;
cursor: pointer;

}

.flex-container {
	display: flex;
	flex-wrap: wrap;
	/*margin: 0 45px 45px 0;*/
}

.qvplaceholder, .qvobject {
	flex: 1 1 auto;
	height: 300px;
	min-width: 400px;
	margin: 45px 0 0 45px;
}

#popup {
	background-color: #c3534b;
	color: #FFFFFF;
	position: fixed;
	max-width: 250px;
	padding: 10px;
	margin: 10px;
	bottom: 0;
	right: 0;
	display: none;
	border-radius: 5px;
	z-index: 6;
	font-family: sans-serif;
}

.close {
	cursor: pointer;
	background: 0 0;
	border: 0;
	float: right;
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: .2;
	position: absolute;
	right: 9px;
	top: 7px;
}

.close:hover {
	opacity: .5;
}

#popupText {
	margin-right: 23px;
}

.altura_400{
	height: 450px;
}


/* Estilos personalizados para a tabela */
.custom-table {
    font-size: 14px; /* Ajusta o tamanho da fonte da tabela */
    background-color: #f9f9f9; /* Cor de fundo suave */
    border-collapse: collapse; /* Remove espaçamento entre as bordas */
}

.custom-table th, .custom-table td {
    padding: 8px; /* Espaçamento interno nas células */
    text-align: left; /* Alinha o texto à esquerda */
}

.custom-table th {
    background-color: #343a40; /* Cor de fundo do cabeçalho */
    color: #fff; /* Cor do texto do cabeçalho */
    font-weight: bold; /* Texto em negrito no cabeçalho */
    font-size: 14px; /* Ajuste do tamanho da fonte do cabeçalho */
}

.custom-table td {
    border: 1px solid #ddd; /* Bordas leves nas células */
}

.custom-table tr:hover {
    background-color: #f1f1f1; /* Cor de fundo ao passar o mouse */
}

.custom-table tbody tr:nth-child(even) {
    background-color: #f2f2f2; /* Listras nas linhas pares */
}

#custom-background {
    background: linear-gradient(159deg, rgba(11,25,196,1) 0%, rgba(150,190,252,1) 18%, rgba(255,255,255,1) 47%, rgba(255,255,255,1) 100%) !important;
}





.pagination {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.pagination button {
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    min-width: 40px;
    text-align: center;
}

.pagination button.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination button:hover {
    background-color: #ddd;
}

.pagination .dots {
    padding: 5px 10px;
    font-size: 14px;
    color: #555;
    cursor: default;
}

#loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    color: white;
}

.spinner-container {
    text-align: center;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#pagination-container {
    margin-top: 20px; /* Espaço entre a tabela e os botões de paginação */
    text-align: center; /* Centraliza os botões de paginação */
}

#table-container {
    margin-bottom: 0; /* Remove qualquer margem inferior desnecessária */
}
/* ... (seu CSS original) ... */

#pagination-container {
  margin-top: 20px;
  text-align: center;
}

.pagination {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
.pagination button {
  padding: 5px 10px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
  min-width: 40px;
  text-align: center;
}
.pagination button.active { background-color: #007bff; color: #fff; border-color: #007bff; }
.pagination button:hover { background-color: #ddd; }
.pagination .dots { padding: 5px 10px; font-size: 14px; color: #555; cursor: default; }

/* garante área útil para os objetos-ícone */
#QV01_xls_link, #QV01_pdf_link, #QV01_img_link {
  min-height: 56px;   /* pode ajustar para 48–80px */
  height: 56px;
}

/* se o Qlik injetar a classe qvobject dentro, assegura altura */
#QV01_xls_link .qvobject,
#QV01_pdf_link .qvobject,
#QV01_img_link .qvobject {
  min-height: 56px;
}
/* OVERLAY DE LOADING */
.loading-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: none;              /* fica oculto até .show */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;        /* evita foco/tab em elementos por baixo */
}
.loading-overlay.show{
  display: flex;
  pointer-events: all;         /* bloqueia cliques no fundo */
}
.loading-box{
  background: #fff;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  min-width: 220px;
  text-align: center;
}
.spinner{
  width: 36px; height: 36px;
  border: 4px solid rgba(0,0,0,.15);
  border-top-color: #444;
  border-radius: 50%;
  margin: 0 auto 8px;
  animation: spin 0.9s linear infinite;
}
.loading-text{ font-size: 14px; color: #333; }
@keyframes spin{ to { transform: rotate(360deg); } }
