html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
	overflow-y: hidden;
    background-color: #009fe3; /* ✅ Aseguramos fondo completo */
	overscroll-behavior: none;
	/*touch-action: manipulation; */ /* Evitar zoom y rotación en Android */
}

html {
    /*height: -webkit-fill-available;*/
    height: 100%;
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
}

body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

/*
input, textarea, select {
	font-size: 16px !important;
}
*/

.icon-badge {
    display: inline-flex; /* Cambio clave */
    align-items: center;  /* Centro vertical */
    justify-content: center; /* Centro horizontal */
    width: 20px;
    height: 20px;
    background-color: #009fe3;
    border-radius: 4px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.icon-badge i {
    color: white;
    font-size: 12px;
}

/* Estilos para el popup */
.popup {
    display: none; /* Inicialmente oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Contenido del popup */
.popup-content {
    background-color: white;
    padding: 20px 20px 20px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left; /* Alinear los textos dentro del popup a la izquierda */
    position: relative;
    width: 90%; /* Establecer un tamaño fijo para el popup */
    overflow-y: auto; /* Permitir scroll si el contenido excede el alto */
    max-height: 80vh; /* Limitar el alto del popup */
	font-size: 15px; /* Tamaño de fuente de 15px para los textos generales */
}

/* Estilo para los botones */
.button-container {
    display: flex;
    flex-wrap: wrap; /* Permite que los botones se ajusten en varias filas */
    gap: 10px; /* Espacio entre los botones */
    margin-bottom: 10px; /* Espacio debajo de cada grupo de botones */
	/*margin-top: 25px;*/
}

.number-btn {
    display: flex;
    justify-content: inherit; /* Alinea el texto de cada botón al centro */
    align-items: center;
    padding: 5px 10px 5px 10px;
    font-size: 16px;
    background-color: #009fe3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box; /* Incluir el padding en el tamaño total del botón */
	/*height: 30px;*/
	height: auto; /* 👈 Importante: deja la altura automática */
    min-height: 30px; /* 👈 Altura mínima como la que tenías */
    white-space: normal; /* 👈 Permite que el texto se divida en varias líneas */
    text-align: center; /* 👈 Asegura el centrado del texto */
    line-height: 0.5; /* 👈 Opcional: mejora el espaciado de líneas */
}

.number-btn:hover {
    background-color: #0081b8;
}

/* Botón con ancho flexible */
/*
.wide-btn {
    width: auto;
    padding: 10px 20px;
	height: 30px;
}
*/

/* Estilo para el botón de cierre */
.close-btn {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 30px;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
}

.close-btn:hover {
    color: #009fe3;
}

/* Inputs de ancho completo */

.popup-input, .popup-input-2 {
	width: 100%; /* Ocupa todo el ancho disponible */
	padding: 10px;
	margin-bottom: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 15px;
	box-sizing: border-box;
	height: 30px;
}

/* Botón de guardar */
#save-btn, #save-btn2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 16px;
    background-color: #009fe3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
    height: 30px; /* Altura ajustada para que sea similar a los demás botones */
    width: 100%;  /* Aseguramos que el botón ocupe todo el ancho disponible */
}

/* Hover sobre el botón de guardar */
#save-btn:hover, #save-btn2:hover {
    background-color: #0081b8;
}

/* Deshabilitado (cuando no se puede hacer clic) */
#save-btn:disabled, #save-btn2:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/****/

.rating-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* Arriba compensamos: por debajo, la fila ya tiene la separación hasta el
       campo de texto, que comparte este mismo pie. Así queda centrada. */
    padding: 4px 10px 0 10px;
    box-sizing: border-box;
}

.rating-container .stars {
    width: 50%;
    display: flex;
    justify-content: left;
    align-items: center;
}
.rating-container .buttons {
    width: 50%;
    display: flex;
    justify-content: left;
    align-items: center;
}

.stars {
    font-size: 24px;
    color: #fff;
}

.buttons {
    gap: 10px;
    justify-content: center;
}

.buttons button {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 26px;
    padding: 0px 0px;
}

/* Todos los botones de la botonera, con la misma caja cuadrada y el icono
   centrado dentro. Antes cada uno heredaba una altura distinta segun el
   interlineado de su glifo y la fila quedaba descuadrada. */
.rating-container .buttons button {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    line-height: 1;
}

button:disabled {
    background-color: #ccc; /* Gris claro */
    color: #666; /* Texto en gris oscuro */
    cursor: not-allowed; /* Cambia el cursor a "no permitido" */
    opacity: 0.6; /* Reduce la opacidad para mayor claridad */
}

.custom-btn {
    background-color: #009fe3 !important;
    border-color: #009fe3 !important;
    color: white !important; /* Color del icono */
}

.custom-btn:hover {
    background-color: #0081b8 !important;
    border-color: #0081b8 !important;
}

.custom-btn:disabled {
    background-color: #7acdf0 !important;
    border-color: #7acdf0 !important;
    color: #c7eaf9 !important;
    opacity: 1;
    cursor: not-allowed;
}

/* Botón Temas: en blanco sobre la barra morada, para que se vea de lejos que hay
   que pulsarlo. Redondo y del mismo tamaño que los demás: los otros tres iconos
   son circulares, así que el círculo integra y el cuadrado desentonaba. */
#menu-temas-btn.custom-btn {
    background-color: #fff !important;
    border: 2px solid #009fe3 !important;
    color: #009fe3 !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    line-height: 1;
}

#menu-temas-btn.custom-btn:hover {
    background-color: #f0f9fd !important;
    border-color: #0081b8 !important;
    color: #0081b8 !important;
}

#menu-temas-btn.custom-btn:disabled {
    background-color: #edf8fd !important;
    border-color: #7acdf0 !important;
    color: #7acdf0 !important;
}

/* ── Popup títulos y secciones ── */
.popup-title {
    margin: 0 0 16px 0;
    color: #009fe3;
    font-size: 18px;
    font-weight: 700;
}
.popup-title i {
    margin-right: 6px;
}
.popup-section-label {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 14px 0 8px 0;
    padding-bottom: 4px;
    border-bottom: 2px solid #009fe3;
}

/* ── Popup2: grid de herramientas ── */
.popup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.tool-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 13px;
    background-color: #009fe3;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    line-height: 1.3;
}
.tool-btn i {
    font-size: 18px;
    flex-shrink: 0;
}
.tool-btn:hover {
    background-color: #0081b8;
}

/* ── Popup5: tarjetas de información ── */
/* Información de uso: el relleno tiene que ir dentro del ancho, no sumarse a él,
   o el panel se sale de la pantalla y corta el texto por la derecha. Es el mismo
   ajuste que ya lleva «Información de interés». */
.popup-info,
.popup-info * {
    box-sizing: border-box;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.info-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f5fbfe;
    border-left: 4px solid #009fe3;
}
.info-card-icon {
    font-size: 24px;
    color: #009fe3;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
}
.info-card-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}
.info-card-title {
    font-weight: 700 !important;
    color: #009fe3 !important;
    margin-bottom: 4px !important;
}
.info-links {
    margin-bottom: 12px;
}
.info-links p {
    margin: 6px 0;
}
.info-links a {
    color: #009fe3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.info-links a:hover {
    text-decoration: underline;
}
.info-links i {
    margin-right: 4px;
}
.info-meta {
    font-size: 12px;
    color: #888;
}

/* ── Popup3: consentimiento ── */
.popup-consent {
    max-width: 400px;
    padding: 24px 20px;
}
.consent-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.consent-header i {
    font-size: 28px;
    color: #009fe3;
}
.consent-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #009fe3;
}
.consent-intro {
    font-size: 14px;
    color: #555;
    margin: 0 0 16px 0;
}
.consent-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #f5fbfe;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}
.consent-label a {
    color: #009fe3;
    font-weight: 600;
}
.consent-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: #009fe3;
    cursor: pointer;
}
.consent-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background-color: #009fe3;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.consent-btn:hover {
    background-color: #0081b8;
}
.consent-btn:disabled {
    background-color: #6c757d;
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Popup4: visor de imágenes con zoom ── */
.popup4-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
#popup4-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#popup4-img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    transform-origin: 0 0;
    -webkit-user-drag: none;
    pointer-events: none;
}
.popup4-close {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.85);
    color: #333;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.popup4-controls {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 20;
}
.popup4-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.85);
    color: #333;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.popup4-controls button:active {
    background: rgba(255,255,255,1);
}
#popup4-zoom-info {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font: 13px sans-serif;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 20;
    pointer-events: none;
}

#input-form {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
	padding: 0px 10px 30px 10px
}

#input-field {
    width: 97%;
    height: 40px; /*5vh;*/
    border: 1px solid #eef1f5;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 15px;
    outline: none;
	background-color: #fff;
}
.input-focus {
    border: 1px solid black !important;
    background-color: #fff !important; /* Fondo blanco */
}
.input-select {
    border: 1px solid #eef1f5 !important;
    background-color: #e5e5e5 !important; /* Fondo blanco */
}

/* Para pantallas de tamaño tablet (hasta 1024px) y móviles */
@media screen and (max-width: 1024px) {
    #input-field {
        width: 90%;
    }
}

#input-field:focus {
    border-color: #fff;
    outline: none;
}

#submit-button {
    width: 3%;
    height: 6vh;
    background-color: transparent;
    border: none;
    font-size: 25px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
/* Para pantallas de tablet y móvil (hasta 1024px) */
@media screen and (max-width: 1024px) {
    #submit-button {
        width: 10%;
    }
}

.send-icon {
    margin-right: 10px;
    cursor: pointer;
}

form button.submit:hover {
    background: #06b79a;
    color: #fff;
}

#preloader {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.spinner-img {
	width: 100px;
	height: 100px;
	animation: spin 2s linear infinite;
}

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

.hidden {
	opacity: 0;
	visibility: hidden;
}

.box-header.with-border {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.full-height {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
	background-color: #e5e5e5;
}

.box-header {
    flex: 0 0 auto;
}

/*
.box-footer {
    margin-top: auto;
}
.box-footer.text-right.p-0 {
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 999;
}
*/
.box-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
	height: 125px; /* 👈 Ajusta la altura real del footer */
}

#chatbot-container {
display: flex;
flex-direction: column;
height: 100vh; 
width: 100%; 
background-color: #e5e5e5; 
/*
box-sizing: border-box;
*/
}

#chatbot {
flex: 1;
overflow-y: auto;
/*padding: 30px 10px;*/
box-sizing: border-box;
background-color: transparent;
overscroll-behavior: contain;
height: calc(100vh - 100px - 50px); /* Alto viewport - alto footer - alto header aproximado */
-webkit-overflow-scrolling: touch; /* ✅ importante para iOS */	
/*
margin-top: 50px;
margin-bottom: 125px;
*/
}

#conversation {
/*padding: 30px 10px 100px 10px*/
padding: 0px 10px 0px 10px;
/*
display: flex;
flex-direction: column;
background-color: transparent;
*/
}

@keyframes message-fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.chatbot-message {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    font-size: 15px !important;
    line-height: 20px;
    border-radius: 20px;
    word-wrap: break-word;
    white-space: pre-wrap;
    max-width: 100%;
    padding: 0;
	margin-bottom: 5px;
}
.user-message {
    justify-content: flex-end !important;
}
.chatbot-text {
    background-color: white;
    color: #000000;
    font-size: 15px !important;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: 5px;
	margin-bottom: 8px;
}
.chatbot-p {
    background-color: #d9fdd3;
}
.chatbot-v {
    width: 100%;
    margin-bottom: 10px;
}
.chatbot-i {
    width: 100%;
    margin-bottom: 10px;
}
@media (max-width: 768px) { /* Ajusta el ancho de pantalla según necesites */
    .chatbot-i {
        width: 100%;
    }
}
.chatbot-b {
    background-color: white !important;
    color: #31b0d5 !important;
    border-color: white !important;
    padding: 0 !important;
	font-size: 15px !important;
	text-align: left;
}


::-webkit-scrollbar {
    width: 10px;
}
/* Track */

::-webkit-scrollbar-track {
    background: #f1f1f1;
}
/* Handle */

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.jumping-dots span {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  animation: jump 1.5s infinite;
  display: inline-block;
}

.jumping-dots {
	display: flex;
	height: 30px;
    padding: 14px 8px 8px 8px;
}

.jumping-dots .dot-1 {
  background-color: #009fe3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 3px;
  animation-delay: 200ms;
}

.jumping-dots .dot-2 {
  background-color: #009fe3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 3px;
  animation-delay: 400ms;
}

.jumping-dots .dot-3 {
  background-color: #009fe3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 3px;
  animation-delay: 600ms;
}

@keyframes jump {
  0% {
    bottom: 0px;
  }
  20% {
    bottom: 5px;
  }
  40% {
    bottom: 0px;
  }
}

.stepper {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.stepper button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 20px;
  font-weight: bold;
  margin: 0 5px;
  background-color: #009fe3;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-sizing: border-box;
  line-height: 1;
  padding: 0;
}

.stepper button:hover {
  background-color: #0081b8;
}

.stepper input {
  height: 32px;
  width: 60px;
  text-align: center;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  padding: 0 5px;
  line-height: 1;
  margin-bottom: 0px;
}

#video-popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.close-button {
    position: absolute;
    top: -50px; /* 👈 Subimos el botón de cerrar */
    right: 0;
    font-size: 24px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 1001;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #009fe3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
}

.play-button:hover {
    background: #0081b8;
}

table td, table th {
	padding: 10px 10px;
	vertical-align: top;
	border: 1px solid #009fe3;
}

/* ⏰ INTERRUPTOR tipo “iOS switch” */
alarm-toggle-inline {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.alarm-label {
	font-size: 1.2rem;
	font-weight: bold;
}

/* Toggle básico */
.toggle {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
}

.toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 24px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 18px; width: 18px;
	left: 3px; bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

.toggle input:checked + .slider {
	background-color: #66bb6a;
}

.toggle input:checked + .slider:before {
	transform: translateX(26px);
}

/* 📅 / ⌚  CAMPOS NUMÉRICOS Y DE HORA  */
input[type="number"],input[type="time"]{
    /*width:5.5rem;          /* tamaño cómodo en móvil */
    height:38px;           /* dejamos respirar el selector */
    font-size:16px;
    padding:5px 8px;
    border:1px solid #ccc;border-radius:4px;
    background:#fff;color:#000;
    line-height:1.2;       /* anulamos tu 0.5 */
}

input[type="time"]::-webkit-calendar-picker-indicator{
    opacity:1;filter:invert(20%);
}

.btn-form {
    width: fit-content;      /* ⬅️  se adapta al contenido */
    display: inline-flex;    /* ⬅️  evita que flex-box lo estire */
}

/* 🖱️  EVITAR que otros inputs queden aplastados por line-height:0.5 */
/*.number-btn, .wide-btn{line-height:normal}*/

/* ── Popup2: Información de interés (materiales por temas) ──
   Diseñado portrait-first: un solo scroll (el del popup), una columna
   en móvil y objetivos táctiles de 46px. */
.popup-herramientas,
.popup-herramientas * {
    box-sizing: border-box;
}
.mat-seccion {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #009fe3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #d1eefa;
    padding-bottom: 4px;
}
.popup-materiales .mat-seccion:first-child {
    margin-top: 4px;
}
.mat-seccion i {
    font-size: 16px;
}
.mat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}
.popup-materiales .tool-btn {
    min-height: 46px;
    width: 100%;
}
.popup-materiales .tool-btn span {
    flex: 1;
}
.tool-btn.pendiente {
    opacity: 0.45;
    cursor: default;
}
.tool-btn.pendiente::after {
    content: "Próximamente";
    margin-left: 8px;
    font-size: 9px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.25);
    padding: 1px 6px;
    border-radius: 9px;
    flex-shrink: 0;
}
/* Móvil en vertical: popup casi a pantalla completa y una sola columna */
@media (max-width: 480px) {
    .popup-herramientas,
    .popup-info {
        width: 96%;
        max-height: 92vh;
        padding: 14px 12px;
    }
    .mat-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .popup-materiales .tool-btn {
        font-size: 14px;
        padding: 12px;
    }
    .mat-seccion {
        font-size: 12px;
    }
}
