html {
  font-size: 16px !important;
  transform: scale(1) !important;
  transform-origin: top left !important;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;

}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Definición de fuentes locales */

@font-face {
    font-family: 'Font Awesome 6 Free';
    src: url('/static/fonts/fa-solid-900.woff2') format('woff2');
    font-weight: 900;
}


/* Font Awesome solo para íconos */
.fa, .fas, .far, .fab {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* Bootstrap Icons solo para íconos */
.bi {
    font-family: 'bootstrap-icons';
}

/* ============================
   Suavizado y renderizado uniforme
   ============================ */
html, body {
    -webkit-font-smoothing: antialiased; /* Chrome, Safari */
    -moz-osx-font-smoothing: grayscale;  /* Firefox */
    font-smooth: always;                 /* Edge, Opera */
    text-rendering: optimizeLegibility;  /* mejora kerning y ligaduras */
}

/* ============================
   Layout
   ============================ */

.container-fluid {
	flex: 1;
}

.icon_cli i {
	color: #25D366;
	/* verde WhatsApp o el color que prefieras */
	text-shadow: 0 0 8px rgba(37, 211, 102, 0.8);
	animation: pulsoLuz 2s infinite ease-in-out;
	/* animación continua */
}

.main-content {
	min-height: calc(100vh - 180px);
	/* deja espacio para el footer */
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.table-container {
	flex: 1;
	margin-bottom: 40px;
	/* separa la tabla del footer */
}

header {
	align-items: flex-end;
	width: 100%;
	flex-grow: 1;
	width: 100%;
	background: #1206bad0;
	margin: 5px auto;
	box-shadow: 0 6px 10px rgba(46, 43, 179, 0.3);
	border-bottom: 3px solid #2e2bb3;
}

.logo {
	width: 100%;
	height: 110px;
	max-width: 100%;
	display: block;
}

.img {
	max-width: 100%;
	height: auto;
	display: block;
}

.logo-img {
	width: 90x;
	height: 60px;
	/* max-width: 60%; */
	display: block;
	border-radius: 5px;
}

.logo-imgC {
	width: 120px;
	height: 120px;
	object-fit: contain;
	border-radius: 8px;
	background-color: #fff;
	padding: 4px;
}

/* TEXTOS TABLA */
.com {
	font-size: 16px;
	line-height: 1.4;
}

/* Escala automática y responsiva para imágenes */
.logo-public,
.slide img {
  width: 100%;
  height: auto;
  max-width: 180px; /* límite superior opcional */
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Ajuste adicional para pantallas pequeñas */
@media (max-width: 768px) {
  .logo-public,
  .slide img {
    max-width: 120px;
  }
}

/* Ajuste del espacio entre imagen y marco */
.slide {
  padding: 1px !important; /* reduce el espacio interno del contenedor */
}

.slide img {
  margin: 0 !important; /* elimina márgenes adicionales */
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}



.logo-cliente {
	width: 100%;
	height: 250px;
	object-fit: contain;
	background: white;
}

/* Filas */
.directorio-row {
	width: 180px;
	/* o el ancho que necesites */
	background-color: #f9f9f9;
	border-bottom: 1px solid #ddd;
	transition: background-color 0.3s ease;
	min-width: 200px;
	min-height: 150px;
}

.logo-directorio {
	height: 120px;
	width: 170px;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.directorio-row:hover {
	background-color: #eef3ff;
	/* tono azul suave al hover */
}

/* Botón Detalle */
.btn-detalle {
	background-color: #2e2bb3;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 6px 12px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.btn-detalle:hover {
	background-color: #00c853;
}

.product-card {
	width: 14rem;
	border: 1px solid #ddd;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	padding: 10px;
	background-color: #fff;
	transition: transform 0.2s ease;
	display: flex;
	flex-direction: column;
	/* organiza imagen y texto verticalmente */
	align-items: center;
}
.prduct-card.img {
	width: 100%; 
	height: 120px;
}

.product-card  .logo-material {
	width: 100%;
  	height: 120px;
  	object-fit: contain;
	/* mantiene proporción sin deformar */	
	background: rgb(254, 254, 254);
	display: block;
    margin: 0 auto;
    border-radius: 6px;
}

.dropdown-center .btn,
.dropdown-center .dropdown-item {
	font-size: 1.1rem;
	/* aumenta el tamaño general */
}

.dropdown-menu {
	font-size: 1.2rem;
	/* aumenta el tamaño general */
}

.product-card .divider {
	height: 2px;
	width: 90%;
	background: linear-gradient(to right, #ccc, #eee, #ccc);
	margin: 10px 0;
	border-radius: 2px;
	transition: background 0.5s ease-in-out;
}

.divider {
	margin-bottom: 2px;
	/* casi pegado al texto */
	opacity: 0.7;
	/* más suave */
}

/* Animación al hover */
.product-card:hover .divider {
	background: linear-gradient(to right, #2e2bb3, #00c853, #2e2bb3);
}

.product-card:hover {
	transform: scale(1.05);
}

.img-container {
	width: 150%;
	height: 100px;
	/* aumenta la altura */
	object-fit: contain;
	/* mantiene proporción sin recortar */

	border-radius: 8px;
	background-color: #f9f9f9;
}

.product-title {
	font-weight: 600;
	margin-top: 10px;
	font-size: 1rem;
}

.product-price {
	color: #007bff;
	font-size: 2rem;
	font-weight: 400;
}


.logo-pres {
	width: 100px;
	/* ocupa todo el ancho del contenedor */
	height: 100px;

	margin-top: 5px;
	border-radius: 15px;
	/* esquinas redondeadas */
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	/* sombra suave */
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	/* animación */
}


.logo-pres:hover {
	transform: scale(1.05);
	/* efecto zoom al pasar el cursor */
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
	/* sombra más intensa */
}


.card-body {
	flex-grow: 1;
	/* permite que el texto use más espacio */
	text-align: left;
}

.card-body h4 {
	font-size: 1.2rem;
	line-height: 1.3;
	margin: 6px 0;
	font-weight: bold;
	word-wrap: break-word;
	/* evita desbordes */
}


.card-body h5 {
	font-size: 1.15rem;
	line-height: 1.3;
	margin: 6px 0;
	font-weight: bold;
	word-wrap: break-word;
	/* evita desbordes */
}

.hCont {
	display: flex;
	align-items: center;
	width: 100%;
}

.nav-list ul {
	list-style: none;
	display: flex;
	gap: 1.6rem;
	margin: 0;
	padding: 0;

}


.cl {
	padding: 8px;

}

.clm-1 {
	flex: 1;
}

.clm-2 {
	flex: 1;
	display: flex;
	justify-content: center;
}

.clm-3 {

	flex: 1;
	display: flex;
	justify-content: flex-end;

}


.nav-list li {
	flex: 0 0 auto;
	align-items: center;
}

.nav-list li a {
	font-size: 1.3rem;
	text-decoration: none;
	color: #fff;
	font-family: "Times New Roman", serif;
	font-size: 20px;
	padding: 0.5rem 1rem;
	transition: .2s;
}

.nav-list li a:hover {
	/* color: #0f0bf3; */
	color: #cdc44f;
	/* background-color: #ffffff; */
	/* background: #1206bad0; */
	text-decoration: underline;
	border-radius: 4px;
}

.nav-list ul {
	list-style: none;
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
	justify-content: center;
}

button {
	display: flex;
	font-size: 1.5rem;
	font-weight: bold;
	font-family: "calibri";
	padding-left: 10rem;
	padding-bottom: 10rem;
	padding-top: 10rem;
	padding-right: 10rem;
	border-radius: 15px;
	border: 2px solid rgba(238, 230, 230, 0.5);
	box-shadow: 2px 2px 10px rgb(253, 251, 251);
	color-scheme: rgb(122, 19, 212);
	color: white;
	background-color: rgb(120, 120, 126);
}

.btn-buscar {
	font-size: 1.1rem;
	font-weight: 600;
	padding: 6px 18px 6px;
	border-radius: 10px;
	border: none;
	color: white;
	background: linear-gradient(135deg, #4a90e2, #007bff);
	width: auto;
	/* ancho automático */
	min-width: 120px;
	/* ancho mínimo */
	max-width: 100%;
	/* nunca se sale del contenedor */
	display: inline-block;
	transition: 0.25s ease;
}

/* Hover */
.btn-buscar:hover {
	/* display: flex; */
	/*font-size: 1.5em;
 	font-weight: bold;
 	padding: 0.03em 0.5em;
 	padding-left: 0.5em;
 	border-radius: 15px;
 	border: 2px solid rgba(238, 230, 230, 0.5);
 	box-shadow: 2px 2px 10px rgb(253, 251, 251);*/
	color-scheme: rgb(0, 0, 0);
	color: rgb(248, 248, 248);
	background-color: rgb(3, 3, 77);
	transform: translateY(-2px);
	background-color: rgb(89, 91, 89);

}


/* Click */
.btn-buscar:active {
	transform: scale(0.97);
}

.table img {
	display: block;
	margin-left: 0;
	margin-right: auto;
	text-align: left;
	width: 60px;
	height: auto;
}

.search {
	font-size: 1rem;
	font-weight: bold;
	width: 100%;
	max-width: 1540px;
	margin: 1px auto;
	padding-top: 0.9rem;
	background-color: rgba(254, 253, 255, 0.349);
	border-radius: 15px;
	box-shadow: 2px 2px 10px rgb(163, 160, 160);
}

.search button {
	display: flex;
	font-size: 1.5rem;
	font-weight: bold;
	padding: 0.03em 0.3rem;
	padding-left: 0.5rem;
	border-radius: 15px;
	border: 2px solid rgba(238, 230, 230, 0.5);
	box-shadow: 2px 2px 10px rgb(253, 251, 251);
	color-scheme: rgb(122, 19, 212);
	color: rgb(225, 220, 220);
	background-color: rgb(31, 31, 197);
}

.search button:hover {
	background-color: rgb(89, 91, 89);
}

h1 {
	font-size: 1.1rem;
}

h2 {
	font-size: 1.3rem;
	font-family: "sans-serif";
	padding-right: 1rem;
	color: rgb(6, 6, 5);
}

h3 {
	font-size: 1.2rem;
	font-family: "calibri";
	color: #9aea4f;
	font-weight: bold;
	padding-right: 2rem;
	text-align: center;
}


h4 {
	font-size: 1rem;
	font-family: "calibri";
	color: #fffbfb;
	padding-right: 2rem;
	text-align: left;
}

h5 {
	font-size: 1.2rem;
	font-family: "calibri";
	color: rgb(12, 9, 226);
	padding-right: 2rem;
	text-align: center;
}

h6 {
	font-size: 0.9rem;
	font-family: "calibri";
	color: rgb(242, 237, 237);
	padding-right: 2rem;
	text-align: center;
}

.perfil {
	font-size: 0.8rem;
	width: 100%;
	max-width: 800px;
	margin: 5px auto;
	padding: 0.8rem 0.8rem;
	background-color: rgba(240, 237, 246, 0.349);
	border-radius: 15px;
	box-shadow: 2px 2px 10px rgb(163, 160, 160);
}

.perfil1 {
	font-size: 0.9rem;
	width: 100%;
	max-width: 690px;
	margin: 5px auto;
	padding: 0.8em 0.8rem;
	background-color: rgba(240, 237, 246, 0.349);
	border-radius: 15px;
	box-shadow: 2px 2px 10px rgb(163, 160, 160);
}

.space {
	margin-left: 15px;
	margin-bottom: 20px;
}

.det {
	width: 100%;
	background-color: rgba(240, 237, 246, 0.349);
	border-radius: 15px;
}

card-header {
	background-color: rgba(7, 3, 15, 0.349);
}

.texto-contacto {
	font-size: 16px;
	font-weight: 400;
	/* opcional: un poco más grueso */
}

.tabla-minimal {
	font-size: 15px;
	/* 👈 ajusta el tamaño */
}

th {
	font-size: 1.1rem;
	background-color: #222;
	color: #eae5e5;
	text-align: center;
	padding: 12px;
	font-weight: 100;
}

th.valor {
	text-align: right;
}

td {
	font-size: 1rem;
}

.responsive-table td {
	text-align: right;
	vertical-align: middle;
	font-style: italic;
}

.format.id_fecha {
	text-align: center;
}


.format {
	font-size: 1rem;
	font-weight: 600;
	font-size: small;
	max-width: 750px;
	margin: 20px auto;
	padding: 0.8rem 0.8rem;
	background-color: #f5f5f5d9;
	border-radius: 15px;
	box-shadow: 2px 2px 10px rgb(163, 160, 160);
}

.term {
	font-size: 1rem;
	font-weight: 600;
	max-width: 900px;
	margin: 20px auto;
	padding: 0.8rem 2rem 0.8rem 4.5rem;
	border-radius: 15px;
	box-shadow: 2px 2px 10px rgb(163, 160, 160);
}

/* Formularios responsivos */
.form-select,
.form-control {
	width: 100%;
}

.formatG {
	font-size: 1.2rem;
	font-weight: 500;
	width: 100%;
	max-width: 1600px;
	margin: 20px auto;
	padding: 30px 30px;
	background-color: rgba(249, 249, 250, 0.349);
	border-radius: 15px;
	box-shadow: 2px 2px 10px rgb(163, 160, 160);
}


.formatclient {
	font-size: 1rem;
	font-weight: 600;
	font-size: large;
	max-width: 750px;
	margin: 10px auto;
	padding: 10px 10px;
	background-color: rgba(249, 249, 250, 0.349);
	border-radius: 15px;
	box-shadow: 2px 2px 10px rgb(163, 160, 160);
}

.form-text {
	font-size: 1rem;
}

.form-label {
	font-size: 1rem;
	padding-bottom: 0.1rem;
	padding-top: 10px;
	font-weight: bold;
}

.responsive-table img {
	width: 100%;
	height: auto;
}

#lista {
	/* Estilos para el menú desplegable */
	padding: 5px;
	border: 1px solid #ccc;
	border-radius: 4px;
	width: 100%;
}

#lista option {
	/* Estilos para cada opción */
	padding: 5px;
	background-color: #f9f9f9;
}

.mess {
	font-size: 1.4rem;
	color: #fff;
}

.mess2 {
	font-size: 1rem;
	color: #282727;
}

.mess3 {
	color: #86e131;
	font-size: 1.4rem;
	font-weight: bold;

}

.tit1 {
	font-size: 1.1rem;
	padding: 10px 20px;
}

.tit2 {
	font-size: 1.5rem;
	font-weight: bold;
}

.titulo-cliente {
	font-size: 1.9rem;
	color: #f3f5f3;
}

.texto-promocion {
	display: inline-block;
	background-color: white;
	/* fondo del cuadro */
	color: #25D366;
	/* texto verde WhatsApp */
	padding: 12px 24px;
	/* espacio interno */
	border-radius: 10px;
	/* esquinas redondeadas */
	font-weight: 600;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
	/* sombra suave */
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	/* animación */
 
}

.moveicon:hover {
	transform: scale(1.5);
	background: linear-gradient(to right, #2e2bb3, #00c853, #2e2bb3);

}

.texto-promocion:hover {
	transform: scale(1.03);
	/* efecto de zoom al pasar el cursor */
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
	/* sombra más intensa */
}


.link {
	font-size: 1rem;
	color: #ffffff;
}

.main,

.texto-size {
	font-size: 12rem;
}

.foot {
	font-size: 1rem;
	font-weight: bold;
	width: 100%;
	max-width: 1600px;
	margin: 5px auto;
	padding: 1px 10px;
	background-color: rgba(221, 219, 227, 0.349);
	/* border-radius: 15px; */
	/* box-shadow: 2px 2px 10px rgb(163, 160, 160); */
}


.table-container {
	width: 95%;
	/* ocupa casi todo el ancho disponible */
	max-width: 1400px;
	/* 🔹 límite máximo en pantallas grandes */
	margin: 0 auto;
	/* centra el contenido */
	overflow-x: auto;
	/* permite scroll horizontal si se excede */
	/* margin-bottom: 80px; */
	/* separa la tabla del footer */
}

footer {
	position: relative;
	bottom: 0;
	width: 100%;
	background-color: #f8f9fa;
	padding: 15px 0;
	width: 100%;
	/* max-width: 1700px; */
	margin: 5px auto;
	background: #fff;
}

.centered {
	text-align: center !important;
	vertical-align: left !important;
}

.al {
	text-align: right;
}

.mens {
	font-size: 1.3rem;
}

.subt1 {
	font-size: 1.1rem;
}

.efecto {
	font-size: 1.5rem;
	border: 1px solid #f8f6f6;
	border-radius: 8px;
	/* background-color: #e7f1ff; */
	padding: 10px 15px;
	display: inline-block;
	/* font-weight: bold; */
	color: #f4f4f5;

	display: inline-block;
}

.slongan {
	font-size: 1rem;
	font-weight: bold;
}

.slongan:hover {
	transform: scale(1.5);
	/* background: linear-gradient(to right, #2e2bb3, #00c853, #2e2bb3); */

}

.celebre {
	font-size: 1rem;
	font-style: italic;
}

.celebre:hover {
	font-weight: bold;
	font-style: italic;
	/* background: linear-gradient(to right, #2e2bb3, #00c853, #2e2bb3); */

}


.listHeader {
	text-align: left;
}

/* Edicion para  tabla 
 /* Estilo general de la tabla */
table.dataTable {
	font-size: 14px;
	font-family: 'Segoe UI', sans-serif;
	color: #333;
	background-color: #fff;
	border-collapse: collapse;
}

/* Encabezados */
table.dataTable thead th {
	background-color: #0078D4;
	color: rgb(16, 16, 16);
	font-size: 18px;
	font-weight: bold;
	padding: 12px;
	border-bottom: 2px solid #ccc;
}

/* Filas */
table.dataTable tbody td {
	padding: 10px;
	border-bottom: 1px solid #0b3be9;
}

/* Hover sobre filas */
table.dataTable tbody tr:hover {
	background-color: #f2f2f2;
}

/* Paginación y controles */
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info {
	font-size: 15px;
	margin-top: 10px;
}

/* Botones de paginación */
.dataTables_wrapper .dataTables_paginate .paginate_button {
	padding: 6px 12px;
	margin: 2px;
	background-color: #0078D4;
	color: white !important;
	border: none;
	border-radius: 4px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	background-color: #005A9E;
}



/* Ajuste responsivo */
@media (max-width: 1200px) {
	#datatable_clientes {
		width: 100%;
		font-size: 15px;
	}

	#datatable_clientes img.logo-directorio {
		height: 70px;
		width: 110px;
	}
}

/* Contenedor principal */
#datatable_clientes {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 10px;
	/* separa filas como tarjetas */
	font-family: 'Segoe UI', sans-serif;
	font-size: 16px;
	/* 🔹 tamaño general de letra */
	background-color: #fdfdfd;
}

/* Encabezados */
#datatable_clientes thead th {
	background-color: #2e2bb3;
	color: #fff;
	text-align: center;
	padding: 12px;
	font-weight: 500;
	font-size: 15px;
	/* 🔹 tamaño específico para encabezados */
	border-radius: 6px 6px 0 0;
}

/* Filas */
#datatable_clientes tbody tr {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#datatable_clientes tbody tr:hover {
	transform: scale(1.01);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Celdas */
#datatable_clientes td {
	padding: 12px 16px;
	text-align: center;
	vertical-align: middle;
	font-size: 16px;
	/* 🔹 tamaño para contenido */
}

/* Imagenes dentro de la tabla */
#datatable_clientes img.logo-directorio {
	height: 80px;
	width: 130px;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	display: block;
	margin: 0 auto;
}

/* Botón Detalle */
#datatable_clientes .btn-detalle {
	background-color: #2e2bb3;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 14px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

#datatable_clientes .btn-detalle:hover {
	background-color: #00c853;
}


/* Buscador */
.dataTables_filter input {
	padding: 6px;
	font-size: 0.9rem;
	border-radius: 0.3rem;
	border: 0.06rem solid #ccc;
}

.sizes {
	font-size: 1.5rem;
}

.btn-circle {
	width: 3rem;
	height: 3rem;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-sizing: border-box;
	transition: all 0.3s ease;
}

.btn-circle i {
	font-size: 14px;
	line-height: 1;
	/* evita desplazamiento vertical */
	position: relative;
	top: 0.5px;
}

/* Botón responsivo */
button.btn-primary {
	min-height: 44px;
	/* accesible para pantallas táctiles */
	font-size: 1rem;
}

.custom-select-sm {
	font-size: 16px !important;
}

/* Edicion para  tabla*/
@media (max-width: 768px) {
	.hCont {
		flex-direction: column;
		text-align: center;
		gap: 10px;
		.clm-3 {
			justify-content: center;
		}
	}

	.logo-img {
		width: 100px;
		height: auto;
		display: block;
	}

	h6 {
		padding-right: 0;
		font-size: 1.1rem;
	}

	.efecto {
		font-size: 1.2rem;
	}



	.formatG {
		padding: 10px;
		font-size: 0.95rem;
	}

	table {
		font-size: 14px;
	}
}


.table.table-striped.dataTable thead th {
	background-color: #000;
	color: #fff;
	font-size: 16px;
	padding: 3px;
	border-bottom: 2px solid #ccc;
	text-align: center;
}


@media (max-width: 576px) {
	table.dataTable {
		font-size: 14px;
	}
}

/* tarjetas */
.material-card {
	width: 100%;
	max-width: 160px;
	margin: auto;
}

/* ultra móvil */
@media(max-width:480px) {
	table {
		font-size: 12px;
	}

	h5 {
		font-size: 10px;
	}
}



/* Inputs más anchos */
form .form-control {
	width: 100%;
	max-width: 800px;
	font-size: 1.1rem
}

/* Caja de texto (textarea) más baja */
textarea.form-control {
	min-height: 80px;
	resize: vertical;
}

/* Etiquetas arriba de los campos */
.form-label {
	font-size: 1rem;
	display: block;
	margin-bottom: 0.3rem;
	text-align: left;
}

select.form-control {
	font-size: 17px;
}

select.form-control option {
	font-size: 17px;
	/* 🔹 aumenta tamaño de las opciones */
}

/* Controla el ancho según el dispositivo */
.form-wrapper {
	width: 100%;
	max-width: 500px;
	/* escritorio grande */
	margin: 0 auto;
}

/* Estilo para el acordeón */
/* Animación suave para el acordeón */
.accordion-collapse {
    transition: height 0.35s ease, opacity 0.35s ease;
    opacity: 0;
}

.accordion-collapse.show {
    opacity: 1;
}

/* Botón del acordeón */
.accordion-button {
    font-weight: bold;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #0d6efd;
    color: #fff;
}

/* Icono dinámico con Bootstrap Icons */
.accordion-button::after {
    content: "\f229"; /* bi-chevron-down */
    font-family: "bootstrap-icons";
    margin-left: auto;
    transition: transform 0.3s ease;
}

.accordion-button.collapsed::after {
    transform: rotate(0deg);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

/* Cuerpo del acordeón */
.accordion-body {
    background-color: #fdfdfd;
    border-left: 3px solid #0d6efd;
    padding: 1rem 1.5rem;
    animation: fadeSlide 0.35s ease;
}

/* Keyframes para efecto combinado */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Reglas avanzadas para impresión */
@media print {
    /* Mostrar todo el contenido del acordeón */
    .accordion-collapse,
    .accordion-collapse.collapse,
    .accordion-collapse.collapsing {
        display: block !important;
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
    }

    /* Quitar los botones y flechas */
    .accordion-button::after {
        content: "" !important;
    }

    .accordion-button {
        background-color: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        pointer-events: none !important;
        border-bottom: 1px solid #ccc !important;
    }

    /* Ajustar el cuerpo del acordeón */
    .accordion-body {
        border-left: none !important;
        padding: 0.5rem 1rem !important;
    }

    /* Ocultar elementos no imprimibles */
    .no-print,
    .btn-buscar {
        display: none !important;
    }

    /* Márgenes y formato general */
    body {
        margin: 1cm;
        font-size: 12pt;
        color: #000;
    }

    /* Evitar saltos de página dentro de capítulos */
    .accordion-item {
        page-break-inside: avoid;
    }
}


/* Tablet */
@media (max-width: 992px) {
	.form-wrapper {
		max-width: 70%;
	}
}

/* Móvil */
@media (max-width: 576px) {
	.form-wrapper {
		max-width: 100%;
		/* ocupa todo el ancho en móvil */
		padding: 0 10px;
		/* pequeño margen lateral */
	}
}

.bordered-img {
	border: 3px solid #333;
	/* borde del recuadro */
	border-radius: 8px;
	/* esquinas redondeadas */
	padding: 5px;
	/* espacio interno */
	background-color: #fff;
	/* fondo del recuadro */
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	margin: 15px;
	/* espacio uniforme alrededor */
}

.slide {
	margin: 2px;
	/* espacio uniforme alrededor de cada cuadro */
}

@media (min-resolution: 1dppx) {
  html {
    zoom: 100% !important;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 15px !important;
  }
}

html {
  font-size: 14px !important;
}

body {
  font-size: 0.9rem !important;
}

:root {
  --bs-body-font-size: 0.9rem;
  --bs-body-line-height: 1.4;
}


/* Escala tipográfica general */
html {
  font-size: 14px !important;
}

body {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

/* Botones */
.btn {
  font-size: 0.85rem !important;
  padding: 0.35rem 0.75rem !important;
}

/* Inputs y labels */
.form-control,
.form-label {
  font-size: 0.85rem !important;
}

/* Encabezados */
h1, h2, h3, h4, h5, h6 {
  font-size: 90% !important;
}

/* Navbar y enlaces */
.nav-link,
.navbar-brand {
  font-size: 0.9rem !important;
}


/* Escala global para todos los componentes Bootstrap */
:root {
  font-size: 14px !important; /* reduce la base de cálculo de rem */
}

/* Botones */
.btn {
  font-size: 0.95rem !important;
  padding: 0.35rem 0.75rem !important;
}

/* Inputs y etiquetas */
.form-control,
.form-label {
  font-size: 0.99rem !important;
}

/* Navbar y enlaces */
.nav-link,
.navbar-brand {
  font-size: 0.9rem !important;
}

/* Encabezados */
h1, h2, h3, h4, h5, h6 {
  font-size: 0.95% !important;
}

/* Ajuste de etiquetas y textos */
label,
.form-label,
.card-body,
p,
span {
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
}

/* Escala uniforme de imágenes */
.logo-public,
.slide img {
  max-height: 120px !important;
  object-fit: contain;
}

.slider .slide {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
}
