/* Botones de descarga en la barra superior (derecha) */
.toolbar-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-shrink: 0;
}

.report-embed {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

/* Barra superior: paginación + descargas */
.report-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 16px;
	background: #f4f6f8;
	border-bottom: 1px solid #d8dee4;
	flex-shrink: 0;
	z-index: 1001;
}

.report-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	flex: 1;
}

.pagination-label,
.pagesize-label {
	font-size: 12px;
	color: #4a5568;
}

.page-input {
	width: 4rem !important;
	padding: 6px 8px;
	border: 1px solid #cbd5e0;
	border-radius: 6px;
	text-align: center;
	font-size: 12px;
}

.page-input::-webkit-outer-spin-button,
.page-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pagesize-select {
	padding: 6px 10px;
	border: 1px solid #cbd5e0;
	border-radius: 6px;
	font-size: 12px;
	background: #fff;
	cursor: pointer;
  width: 4rem !important;
}

.btn-page {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid #cbd5e0;
	border-radius: 6px;
	background: #fff;
	color: #2d3748;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

.btn-page:hover:not(:disabled) {
	background: #edf2f7;
	border-color: #a0aec0;
}

.btn-page:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.report-body {
	position: relative;
	flex: 1;
	min-height: 0;
	overflow: hidden;
}

.report-loader {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.85);
	z-index: 10;
}

.report-loader[hidden] {
	display: none;
}

.report-loader__spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #d8dee4;
	border-top-color: #2b6cb0;
	border-radius: 50%;
	animation: report-spin 0.8s linear infinite;
}

.report-loader__text {
	font-size: 12px;
	color: #4a5568;
}

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

.report-body.is-loading .table-full {
	visibility: hidden;
}

.table-full {
	width: 100%;
	height: 100%;
	border: none;
	outline: none;
	display: block;
}

.table-full img {
    height: 89px !important;
}

/* Botones de descarga */
.btn-download {
	border: none;
	border-radius: 6px;
	width: 36px;
	height: 36px;
	padding: 0;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	transition: background 0.2s, box-shadow 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.btn-download:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.btn-download:active {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Tooltip / Hint */
.btn-download {
	position: relative;
}

.btn-download::before {
	content: attr(data-tooltip);
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background-color: #333;
	color: white;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}

.btn-download:hover::before {
	opacity: 1;
}

/* Botón PDF */
.btn-pdf {
	background-color: #ff4444;
	color: white;
}

.btn-pdf:hover {
	background-color: #cc0000;
}

/* Botón Excel */
.btn-excel {
	background-color: #1e8449;
	color: white;
}

.btn-excel:hover {
	background-color: #145a32;
}

/* El iframe - OCUPA TODA LA PANTALLA */
.fullscreen-iframe {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;   /* 100% del ancho de la ventana */
	height: 100vh;  /* 100% del alto de la ventana */
	border: none;   /* Sin borde */
	margin: 0;
	padding: 0;
	display: block;
}


.clear {
	margin-bottom: 20px !important;
}