/* ========================================
   muegnetDashboard-estadistica.css
   Estilos del modulo Estadistica
   ======================================== */

.ijijiiijii {
}

.jijjjijjii {
	background-color: #fff !important;
}

.iijijijjij {
	text-align: left !important;
}

.iijjijjjii {
	text-align: right !important;
}

.iijjiijiii {
	/*
	background-color: #B484B7;
*/
	text-align: center !important;
}

/* ========================================
   HIGHCHARTS DATAGRID OVERRIDES
   ======================================== */

.highcharts-datagrid-header-cell {
	text-align: center;
}

.highcharts-datagrid-header-cell-content {
	font-weight: bold;
	text-align: center !important;
}

/* FIX: Permitir que headers de Highcharts DataGrid se ajusten en multiples lineas */
.hcg-header-cell,
.highcharts-datagrid-header-cell {
	white-space: normal !important;
	height: auto !important;
	min-height: 40px;
	padding: 8px 10px !important;
	line-height: 1.3 !important;
	overflow: visible !important;
	text-overflow: clip !important;
}

.hcg-header-cell-container {
	white-space: normal !important;
	overflow: visible !important;
	height: auto !important;
}

.hcg-header-cell-content {
	white-space: normal !important;
	text-overflow: clip !important;
	overflow: visible !important;
	display: block !important;
	word-wrap: break-word !important;
	text-align: center !important;
}

.highcharts-credits {
	font-size: 0px !important;
}

.highcharts-datagrid-credits {
	font-size: 0px !important;
}

/* ========================================
   PANEL TABLA ESTADISTICA DASHBOARD
   ======================================== */

.iiiijjiiii {
	width: 100%;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.iiiiijiiii {
	flex: 1;
	overflow-y: auto;
}

.iiijjjijjj {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

	.iiijjjijjj th {
		position: sticky;
		top: 0;
		background: #34495e;
		color: white;
		padding: 10px;
		z-index: 10;
		text-align: right;
	}

		.iiijjjijjj th:first-child {
			text: left;
		}

	.iiijjjijjj td {
		padding: 8px 10px;
		border-bottom: 1px solid #eee;
		cursor: pointer;
	}

	.iiijjjijjj tr:hover {
		background-color: var(--highlight-bg);
	}

	.iiijjjijjj tr.selected {
		background-color: #D5C4D6;
		border-left: 5px solid var(--accent-color);
	}

.iiijjjijjjColumnaNumerica {
	text-align: right;
	font-family: 'Consolas', monospace;
}

/* Indentacion visual de jerarquia */
.iiijjjijjjNivel-0 {
	padding-left: 10px;
	font-weight: bold;
}

.iiijjjijjjNivel-1 {
	padding-left: 25px;
	font-weight: 600;
}

.iiijjjijjjNivel-2 {
	padding-left: 40px;
}

.iiijjjijjjNivel-3 {
	padding-left: 55px;
	color: #555;
}

.iijijjjjjj {
	display: inline-block;
	width: 20px;
	text-align: center;
	font-weight: bold;
	color: #835086;
	margin-right: 5px;
}

/* Clase para ocultar filas de la tabla drill-down */
.iiijjjijjj tr.hidden {
	display: none;
}

/* ========================================
   MEDIA QUERIES - TABLA HIGHCHARTS DATAGRID RESPONSIVA
   ======================================== */

/* Reducir tamano de texto en 10% para moviles (<=768px) */
@media (max-width: 768px) {
	/* Tabla completa */
	.hcg-table,
	.hcg-scrollable-content {
		font-size: 90% !important;
	}

	/* Headers */
	.hcg-header-cell,
	.hcg-header-cell-content {
		font-size: 90% !important;
		padding: 6px 8px !important;
	}

	/* Celdas de datos */
	.hcg-table td,
	.hcg-row td {
		font-size: 90% !important;
		padding: 6px 8px !important;
	}
}
/* ========================================
   muegnetDashboard-indicadores.css
   Estilos del modulo Indicadores (Compartir indicador)
   ======================================== */

.estiloCompartirIndicador {
	border-top: 1px solid #eee;
	padding: 12px 16px;
	text-align: center;
}

.estiloCompartirIndicadorOpciones {
	margin-top: 10px;
}

.estiloCompartirIndicadorPreview {
	text-align: center;
}

.estiloCompartirIndicadorBotones {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	align-items: center;
}
/* ========================================
   muegnetDashboard-pse.css
   Estilos del modulo PSE (Programa Sectorial)
   ======================================== */

.classContadorSinPSE {
	text-align: center;
	padding: 20px;
}

.classContadorNumero {
	font-size: 72px;
	font-weight: 800;
	color: #EB753A;
	line-height: 1;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

.classContadorTexto {
	font-size: 18px;
	color: #666;
	margin-top: 5px;
}

.classContadorPoblacion {
	font-size: 28px;
	font-weight: 700;
	color: #AAB84F;
	margin-top: 15px;
}

.classContadorPoblacionTexto {
	font-size: 14px;
	color: #888;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 480px) {
	.classContadorNumero {
		font-size: 48px;
	}

	.classContadorTexto {
		font-size: 14px;
	}

	.classContadorPoblacion {
		font-size: 22px;
	}
}

@media (max-width: 768px) {
	.classContadorNumero {
		font-size: 56px;
	}
}
/*
* Muegnet Dashboard.css
******************************************************************************/

/* 1. IMPORTAR TIPOGRAFÍA MODERNA (Plus Jakarta Sans) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

.light-style .menu .app-brand.demo {
	height: 64px;
}

.dark-style .menu .app-brand.demo {
	height: 64px;
}

.app-brand-logo.demo svg {
	width: 38px;
	height: 20px;
}

.app-brand-text.demo {
	font-size: 1.25rem;
	letter-spacing: 0.15px;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
	padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
	z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
	display: block !important;
}

.demo-inline-spacing > * {
	margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
	margin-top: 1.25rem !important;
	margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element > :first-child {
	margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
	margin-top: 1.875rem !important;
	margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element > :first-child {
	margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
	margin-top: 5rem !important;
	margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element > :first-child {
	margin-top: 0 !important;
}

.rtl-only {
	display: none !important;
	text-align: left !important;
	direction: ltr !important;
}

[dir='rtl'] .rtl-only {
	display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
	#dropdown-variation-demo .btn-group .text-truncate {
		width: 300px;
		position: relative;
	}

		#dropdown-variation-demo .btn-group .text-truncate::after {
			position: absolute;
			top: 45%;
			right: 0.65rem;
		}
}
/*
* Layout 
******************************************************************************/

.layout-demo-wrapper {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-direction: column;
	flex-direction: column;
	margin-top: 1.25rem;
}

.layout-demo-placeholder img {
	width: 900px;
}

.layout-demo-info {
	text-align: center;
	margin-top: 1.25rem;
}

/*
* Monito
******************************************************************************/

.ijjjjjijji {
	font-size: 35px;
	letter-spacing: 5px;
	color: white;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-shadow: -1px -1px 0 #999999, 1px -1px 0 #333333, -1px 1px 0 #333333, 1px 1px 0 #999999;
}

#jjijijjjjj {
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: none;
}

.btn {
	text-transform: none !important;
}


.tab-content:not(.doc-example-content) {
	padding: 0rem !important;
	border-radius: 0rem !important;
}

/*Quita fondos de las cards */
.tab-content {
	border: 0px !important;
	box-shadow: none !important;
/*	background: #f7f7f9 !important; */
}



.nav-tabs .nav-link, .nav-pills .nav-link {
	text-transform: none !important;
}


/*Quitar las columnas interminables de los datatables */
.text-nowrap {
	white-space: normal !important;
}



.tab-content > .active {
	background-color: white !important;
}


.card {
	box-shadow: 0 0.1rem 0.75rem 12px 0 rgba(38, 43, 67, 0.16) !important;
}


.light-style .select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: #ECE4EC !important;
}

.user-profile-header-banner img {
	width: 100%;
	/* object-fit: cover; 

	height: 250px;
	*/
}


.classBanner {
	/* margin-top: 50px !important;*/
}

.badge-center-indent {
	padding: 3px !important;
	line-height: 1.375;
	height: 1.5rem;
	width: 1.5rem;
	font-size: 0.8125rem;
	margin-left: 20px !important;
}

.alert-outline-secondary {
	border-color: #676B7B !important;
	color: #676B7B !important;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
	color: #676B7B !important;
}

.alert-outline-secondary {
	border-color: #676B7B !important;
	color: #676B7B !important;
}

.classRowRecursos > * {
	margin-bottom: 20px;
}


.jjijijiiii {
	/*	margin-top: 20px;*/
	margin-bottom: 10px;
	padding-bottom: 0px;
}

.ijiijjjjii {
	color: #676B7B !important;
	max-height: 150px;
	overflow: auto;
}

.table th {
	text-transform: none !important;
}


.btn {
	text-align: left !important;
}

.badge-center-indent i {
	font-size: 0.8rem;
}


.no-select {
	-webkit-user-select: none; /* Safari */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE 10+ */
	user-select: none; /* Standard syntax */
}


.classBanner {
	border-radius: 7px;
}


.accordion-item.active {
	max-height: 400px !important;
	overflow-y: auto !important;
}

/*

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #666cff !important;
  color: #fff !important;
}
.select2-container--default.select2-container--focus .select2-selection, .select2-container--default.select2-container--open .select2-selection {
  border-width: 2px;
  border-color: #666cff !important;
}

.form-floating.select2-focus label {
  color: #666cff;
}

.select2-primary .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: #666cff !important;
  color: #fff !important;
}


.tab-pane {
    background-color: #fff !important;
}

*/




/* --------------------------------------------------------------------------
   MONITO - Skin Moderno
   --------------------------------------------------------------------------
*/


/* 2. VARIABLES DE DISEÑO (Para consistencia) */
:root {
	--font-primary: 'Plus Jakarta Sans', sans-serif !important;
	--radius-lg: 24px !important; /* Redondeo fuerte para modernidad */
	--radius-md: 12px !important;
	/*    --color-bg: #f3f4f6 !important; */
	--color-card: #ffffff !important;
	--shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08) !important;
	--shadow-hover: 0 20px 40px -5px rgba(0,0,0,0.12) !important;
	--text-dark: #0f172a !important; /* Slate 900 */
	--text-muted: #64748b !important; /* Slate 500 */
	--brand-morado: #835086 !important;
	--brand-morado-obscuro: #483449 !important;
	--brand-green: #006847 !important;
	--brand-red: #CE1126 !important;
}

/* 3. BASE Y TIPOGRAFÍA GENERAL */
body {
	font-family: var(--font-primary);
	background-color: var(--color-bg);
	color: var(--text-dark);
	-webkit-font-smoothing: antialiased; /* Texto más nítido */
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .title {
	font-family: var(--font-primary);
	font-weight: 700 !important;
	letter-spacing: -0.02em !important; /* Kerning moderno */
	color: var(--text-dark);
}

/* 4. MODERNIZACIÓN DE TARJETAS (CARDS / PANELES) */
/* Asume clases comunes como .card, .panel, .box, .widget */
.card, .panel, .widget, .box, .paper {
	border: 1px solid rgba(226, 232, 240, 0.8) !important; /* Borde sutil */
	border-radius: var(--radius-lg);
	background-color: var(--color-card);
	box-shadow: var(--shadow-soft);
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
	overflow: hidden !important; /* Para que el contenido respete el borde redondeado */
}

	/* Efecto Hover sutil para interactividad */
	.card:hover, .panel:hover, .widget:hover {
		/*    transform: translateY(-2px) !important; 
    box-shadow: var(--shadow-hover); */
	}

/* Headers de las tarjetas */
.card-header, .panel-heading {
	background-color: transparent !important; /* Quitar fondos grises viejos */
	/*border-bottom: 1px solid #f1f5f9 !important; */
	padding: 1.0rem !important;
}

	.card-header h3, .panel-title {
		font-size: 1.1rem !important;
		text-transform: none !important; /* Evitar mayúsculas forzadas antiguas */
	}

/* 5. BOTONES ELEGANTES */
.btn, button[type="submit"], .button {
	border-radius: 50px !important;
	/*    padding: 10px 24px !important; */
	/*   font-weight: 600 !important; */
	font-family: var(--font-primary);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
	text-transform: none !important;
	letter-spacing: 0.01em !important;
	transition: all 0.2s !important;
}

	.btn:hover {
		transform: translateY(-1px) !important;
		box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
	}

/* Botones Primarios (Ajustar a tu color principal) */
.btn-primary, .btn-success {
	/*	background: linear-gradient(135deg, var(--brand-morado) 0%, var(--brand-morado-obscuro) 100%) !important; */
	background: var(--brand-morado) !important;
	border: none !important;
}


/* 6. INPUTS Y FORMULARIOS */
input, select, textarea, .form-control {
	/*    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1 !important;
    background-color: #f8fafc !important;
    padding: 10px 15px !important; */
	font-family: var(--font-primary);
}

	input:focus, select:focus, textarea:focus, .form-control:focus {
		/*    background-color: #ffffff !important;
    border-color: var(--brand-green) !important;
    box-shadow: 0 0 0 3px rgba(0, 104, 71, 0.1) !important;
    outline: none !important; */
	}

/* 7. BANNERS Y ENCABEZADOS */
/* Si tienes un div con clase .header o .banner */
.main-header, .navbar, .top-bar {
	/*    background: #ffffff !important; 
    backdrop-filter: blur(90px) !important;
    border-bottom: 1px solid #e2e8f0 !important; 
    box-shadow: none !important; */
}

/* 8. GRÁFICOS Y CONTENEDORES (Highcharts containers, etc) */
.highcharts-container {
	font-family: var(--font-primary);
}

/* 9. SIDEBAR / MENÚ LATERAL */
.sidebar, .main-sidebar, .nav-side {
	/*     background-color: #0f172a !important;
    color: #94a3b8 !important;
    border-right: 1px solid rgba(255,255,255,0.05) !important;*/
}

	.sidebar a, .nav-link {
		/*   color: #cbd5e1 !important;
    border-radius: 10px !important;
    margin: 4px 10px !important;
    transition: all 0.2s !important; */
	}

		.sidebar a:hover, .nav-link:hover, .nav-link.active {
			/*    background-color: rgba(255,255,255,0.1) !important; */
			/*    color: #ffffff !important; */
		}

/* 10. UTILIDADES DE TEXTO */
.text-muted {
	color: var(--text-muted) !important;
}

.text-bold {
	font-weight: 700 !important;
}


.nav-align-top > .tab-content, .nav-align-right > .tab-content, .nav-align-bottom > .tab-content, .nav-align-left > .tab-content {
	flex-shrink: 1;
	box-shadow: 0 0.25rem 0.875rem 0 rgba(38, 43, 67, 0.16);
	background-clip: padding-box;
	/*	background: #f7f7f9 !important; */
}


/* ========================================
   MEJORAS CSS/UX - MONITO VIRAL
   ======================================== */

/* Banner overlay gradiente para legibilidad */
.user-profile-header-banner {
	position: relative;
}

.user-profile-header-banner::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60%;
	background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
	pointer-events: none;
	border-radius: 0 0 12px 12px;
}

/* Tabs con indicador visual brand morado */
.nav-pills .nav-link.active {
	border-bottom: 3px solid var(--brand-morado) !important;
}

.nav-tabs .nav-link.active {
	border-bottom: 3px solid var(--brand-morado) !important;
	color: var(--brand-morado) !important;
}

/* Cards con micro-animaciones */
.card {
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Scroll-to-top funcional */
#jjijijjjjj {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 1000;
	cursor: pointer;
	font-size: 16px;
	padding: 8px 12px !important;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	transition: opacity 0.3s, transform 0.3s;
	background-color: var(--brand-morado) !important;
}

#jjijijjjjj:hover {
	transform: translateY(-3px);
}

/* Responsive mapa de Mexico en < 768px */
@media (max-width: 768px) {
	#ijjjjjjijj {
		height: 300px !important;
		min-width: 100% !important;
	}

	.ijjjjjijji {
		font-size: 20px;
		letter-spacing: 2px;
	}

	.user-profile-header-banner img {
		height: auto;
		min-height: 120px;
	}

	/* Tabs en movil - scroll horizontal */
	.nav-pills {
		flex-wrap: nowrap !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.nav-pills .nav-item {
		flex-shrink: 0;
	}
}

/* Responsive < 480px */
@media (max-width: 480px) {
	.ijjjjjijji {
		font-size: 16px;
		letter-spacing: 1px;
	}

	#ijjjjjjijj {
		height: 250px !important;
	}

	.nav-pills .nav-link {
		font-size: 12px !important;
		padding: 8px 12px !important;
	}
}

.nav-align-top > .tab-content, .nav-align-left > .tab-content {
	background: transparent !important;
}