 body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    header {
      position: relative;
      width: 100%;
      overflow: hidden;
    }

.bgapp
{
	background-image: url('../img/bgapp.png');
	background-size: cover; 
	background-position: center; 
}

section {
  flex: 1;
  padding: 5px;
}

.footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #EA5807 !important;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 9999;
  box-shadow: 0px -1px 10px rgba(0, 0, 0, 0.5);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.footer-bar a {
  color: #ffffff !important;
  text-align: center;
  font-size: 16px;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
}

.footer-bar a:link,
.footer-bar a:visited,
.footer-bar a:hover,
.footer-bar a:focus,
.footer-bar a:active {
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.footer-bar a i {
  font-size: 20px;
  color: #ffffff !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.icon-label {
  font-size: 12px;
  display: block;
  margin-top: 2px;
  color: #ffffff !important;
}

@media (max-width: 600px) {
  .footer-bar a,
  .footer-bar a:visited,
  .footer-bar a:hover,
  .footer-bar a:active,
  .footer-bar a:focus {
    color: #ffffff !important;
    background: transparent !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

.btn-success {
	color: #fff;
	background-color: #5cb85c;
	border-color: transparent;
	height: 35px;
	border-radius: 5px;
}

.btn-success.focus,
.btn-success:focus {
	color: #fff;
	background-color: #449d44;
	border-color: #255625
}

.btn-success:hover {
	color: #fff;
	background-color: #449d44;
	border-color: #398439
}

.btn-success.active,
.btn-success:active,
.open>.dropdown-toggle.btn-success {
	color: #fff;
	background-color: #449d44;
	border-color: #398439
}

.btn-success.active.focus,
.btn-success.active:focus,
.btn-success.active:hover,
.btn-success:active.focus,
.btn-success:active:focus,
.btn-success:active:hover,
.open>.dropdown-toggle.btn-success.focus,
.open>.dropdown-toggle.btn-success:focus,
.open>.dropdown-toggle.btn-success:hover {
	color: #fff;
	background-color: #398439;
	border-color: #255625
}

.btn-success.active,
.btn-success:active,
.open>.dropdown-toggle.btn-success {
	background-image: none
}

.btn-success.disabled.focus,
.btn-success.disabled:focus,
.btn-success.disabled:hover,
.btn-success[disabled].focus,
.btn-success[disabled]:focus,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success.focus,
fieldset[disabled] .btn-success:focus,
fieldset[disabled] .btn-success:hover {
	background-color: #5cb85c;
	border-color: #4cae4c
}

.btn-success .badge {
	color: #5cb85c;
	background-color: #fff
}

.requerido label::after {
	content: " *";
	color: red;
	font-weight: bold;
}

.input-invalido {
	border: 2px solid red !important;
}
  
.texto-delgado {
  font-family: 'Ashtung', sans-serif;
  display: block;
  font-size: 15px;
  color: #000000;
  line-height: 1.1;       /* Espacio mínimo */
}

.texto-mayus {
  font-family: 'Ashtung', sans-serif;
  display: block;
  font-weight: bold;
  font-size: 25px;
  text-transform: uppercase;
  color: #004ECA;
  line-height: 1.1;       /* Espacio mínimo */
}

.texto-label{
  font-family: 'Ashtung', sans-serif;
  display: block;
  font-size: 17px;
  color: #000000;
  line-height: 1.1;       /* Espacio mínimo */
}

.texto-normal{
  font-family: 'Ashtung', sans-serif;
  display: block;
  font-size: 17px;
  color: #000000;
  line-height: 1.1;       /* Espacio mínimo */
}

.titulo-seccion {
  text-align: center;
  color: #28a745;
  font-size: 20px;
  margin-bottom: 20px;
}

#bgp
{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/bgp.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transition: opacity 0.8s ease;
}

#app {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  overflow-y: auto;                  /* scroll dentro del div */
  -webkit-overflow-scrolling: touch; /* scroll suave en iOS */
  display: flex;
  justify-content: center;       /* flex-start para que el contenido no se centre verticalmente */
  align-items: center;
  z-index: 5;
  transition: opacity 0.8s ease;
}
/*
#app
{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 /* background-image: url('../img/bgp.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}*/

#bgpx
{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/bgp2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  transition: opacity 0.8s ease;
}
 
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/bgapp.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

.splash-content {
  text-align: center;
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

.sponsor-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 5px;
}

.encuestas-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#copyright {
  position: absolute;
  bottom: 20px;
  font-size: 14px;
  color: #ffffff;
  opacity: 0.8;
}

#copyrightblue {
  position: absolute;
  bottom: 20px;
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

.splash-logo {
  width: 120px;
  margin-bottom: 15px;
}

.logo {
  width: 200px;
  height: auto;
  animation: bounce 2s infinite;
}

.logosponsor {
  width: 40%;
  height: auto;
}

.qr {
  width: 60%;
  height: auto;
}

.logodatuvo
{
  width: 40%;
  height: auto;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
	transform: translateY(0);
  }
  40% {
	transform: translateY(-30px);
  }
  60% {
	transform: translateY(-15px);
  }
}

.topbar {
	z-index: 5;
position: fixed;
top: 0;
left: 0;
right: 0;
height: 50px;
background-color: #EA5807;
display: flex;
justify-content: flex-end;
align-items: center;
padding: 0 15px;
z-index: 1000;
border-bottom-left-radius: 20px; /* Esquina inferior izquierda redondeada */
border-bottom-right-radius: 20px; /* Esquina inferior derecha redondeada */
}
   

.topbarwhite {
position: realtive;
top: 0;
left: 0;
right: 0;
height: 50px;
background-color: #ffffff;
color: black;
display: flex;
align-items: center;
justify-content: center;
padding: 0 15px;
z-index: 1000;
border-bottom-left-radius: 20px; /* Esquina inferior izquierda redondeada */
border-bottom-right-radius: 20px; /* Esquina inferior derecha redondeada */
}

.topbar a,
.topbar a:focus,
.topbar a:active,
.topbar a:visited {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.topbarwhite-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}


.topbarw-icons .icon {
  color: #FF5200;
  font-size: 20px;
  text-decoration: none;
}

.topbar-icons {
  display: flex;
  gap: 15px;
}

.topbar-icons .icon {
  color: white;
  font-size: 20px;
  text-decoration: none;
}

.topbar-icons .icon:hover {
  color:white;
  text-decoration: none;
}

/* Estilo para la imagen debajo de la topbar */
.topbar-image {
  position:absolute;
  top:20px;
  margin-top: 0px; /* <- Esto empuja la imagen debajo de la barra */
  width: 100%;
  height: 250px;
  background-image: url('../img/topbanner.png'); /* Asegúrate de que esta ruta es válida */
  background-size: cover;
  background-position: center;
}

.topbarimg-image
{
  position:absolute;
  top:20px;
  margin-top: 0px; /* <- Esto empuja la imagen debajo de la barra */
  width: 100%;
  height: 250px;
  background-image: url('../img/topbannerdos.png'); /* Asegúrate de que esta ruta es válida */
  background-size: cover;
  background-position: center;
}

  
/* Estilos para el contenedor del grid */
.container {
  display: grid;
  grid-template-columns: 10px 1fr; /* La primera columna será de 50px para el icono, y la segunda columna se ajustará al texto */
  gap: 20px; /* Espacio entre las columnas */
  align-items: center; /* Centra el contenido verticalmente */
  border: solid 1px;
}

.grid-item.icon i {
  font-size: 2rem; /* Tamaño del icono */
  color: #007bff; /* Color del icono (puedes cambiarlo) */
}

.grid-item.text p {
  font-size: 1rem; /* Tamaño de fuente del texto */
  color: #333; /* Color del texto (puedes cambiarlo) */
}

.opmenu{
	text-decoration: none !important;
	color:black;
	font-family: 'Segoe UI', sans-serif;
}

.inputcode !important
{
	height:55px;
	width:45px;
}

.titlecat
{
  color: darkgrey;
  font-size: 14px;
}

.form-group
{
	 margin-top: -5px;
}


/* Por defecto, mostrar todo y ocultar el aviso */
body {
  display: block;
}

.aviso-pantalla {
  display: none;
}

/* 👇 Cuando el dispositivo esté en landscape */
@media screen and (orientation: landscape) {
  body > *:not(.aviso-pantalla) {
    display: none !important; /* Oculta todo menos el aviso */
  }

	 .aviso-pantalla {
	  display: block !important;
	  padding: 2rem;
	  font-size: 1.5rem;
	  text-align: center;
	  background-color: #004ECA; /* Fondo azul */
	  color: #fff;
	  margin-top: 0px;
	  border-bottom-left-radius: 25px;
	  border-bottom-right-radius: 25px;
	}
}


.content-leyenda .leyenda {
  color: #0D78BA;
  font-size: 25px;
  text-align: center;
  margin-top: 20px;
}

.pregunta {
	  display: none;
	}

.pregunta.activa {
  display: block;
  font-size: 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #000;
  float: left;
  width: 98% !important;
  max-width: 98% !important;
  box-sizing: border-box;
  margin-left: 5px;
  padding: 0 10px !important; /* Espaciado opcional lateral */
}


button {
  margin-top: 10px;
}

.puntogrande
{
 transform: scale(1.5);
}

.ajd
{
	margin-left:15px;
	margin-top:5px;
	font-size:18px;
}

.autoriza
{
  display: flex;
  justify-content: center;  /* centra horizontalmente */
  align-items: center;      /* centra verticalmente */
}

.iconofin {
  font-size: 40px;
  display: block;
  text-align: center;
  margin-bottom: 10px;
}


.mespacio
{
	margin-left: 5px;
}

.lbpregunta
{
  font-size: 18px;
  font-family: 'Segoe UI', sans-serif;
  color: #000;
  float: left;
  margin-left: 5px;
  margin-bottom: 10px;
}



.combi
{
  width: 350px;
  font-size: 18px;
  font-family: 'Segoe UI', sans-serif;
  border: solid 1px #000;
  height: 46px;
  
}

.combi2
{
  width: 350px;
  font-size: 18px;
  font-family: 'Segoe UI', sans-serif;
  border: solid 1px #000;
  height: 46px;
  
}

.combi3
{
  width: 350px;
  font-size: 18px;
  font-family: 'Segoe UI', sans-serif;
  border: solid 1px #000;
  height: 46px;
  
}

.fotop
{
	font-size: 18px;
}


video, canvas {
  width: 100%;
  max-width: 400px;
  border: 2px solid #333;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Generaliza a cualquier contenedor que empiece con "camera-container" */
[id^="camera-container"] {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3/4;
  margin: auto;
  /*border: 2px dashed #ccc;*/
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #f8f9fa;
}

/* Estilos para video e imágenes dentro de cualquier contenedor de cámara */
[id^="camera-container"] video,
[id^="camera-container"] img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}


 .swal2-icon {
    width: 60px !important;   /* Tamaño más pequeño */
    height: 60px !important;
    font-size: 20px !important;
  }

/* Opcional: ajustar márgenes */
.swal2-icon.swal2-warning {
margin: 10px auto !important;
}

.swal-custom {
  font-size: 18px; /* Aumenta tamaño global */
  width:98%;
}

.swal-title {
  font-size: 22px; /* Tamaño del título */
  font-weight: bold;
}

.swal-text {
  font-size: 16px; /* Tamaño del texto */
}

.swal-button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 18px;
  padding: 12px 20px;
  background-color: #5cb85c;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-align: center;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"] {
  font-size: 18px !important;
  font-weight: normal;
}

.espacio
{
	margin-bottom: 35px;
	max-width: 100%;
	width: 92% !important;
}

.espaciotxt
{
	margin-bottom: 35px;
	max-width: 100%;
	width: 100% !important;
}

.btnprg 
{
	position: absolute;
    bottom: 10px;
	max-width: 100%;
	display: block;
	 margin: 40px auto 0 auto; /* separa del contenido y centra */
     padding: 12px 24px;
	font-size: 18px !important;
	text-align: center !important;
	width: 92% !important;
	margin-top: 20px !important;
	background-color: #005FD5 !important;
	height: 45px;
	color: #fff;
	border-radius: 4px; /* Bordes ligeramente redondeados */
	border: none; /* Opcional: elimina el borde predeterminado */
}

.btnprgfocus 
{
	position: relative;
    bottom: 10px;
	max-width: 100%;
	display: block;
	margin: 40px auto 0 auto; /* separa del contenido y centra */
	font-size: 18px !important;
	text-align: center !important;
	width: 92% !important;
	margin-left: 15px;
	margin-top: 20px !important;
	background-color: #005FD5 !important;
	height: 45px;
	color: #fff;
	border-radius: 4px; /* Bordes ligeramente redondeados */
	border: none; /* Opcional: elimina el borde predeterminado */
}

.btnprgmas
{
	position: relative;
    bottom: 10px;
	max-width: 100%;
	display: block;
	font-size: 18px !important;
	text-align: center !important;
	width: 99% !important;
	margin-top: 20px !important;
	background-color: #005FD5 !important;
	height: 45px;
	color: #fff;
	border-radius: 4px; /* Bordes ligeramente redondeados */
	border: none; /* Opcional: elimina el borde predeterminado */
}

.btnfotos
{
	position: relative;
	margin-top: 50px;
	max-width: 100%;
	display: block;
	width: 100% !important;
}

.iconofin
{
	width: 100%;
	max-width: 100%;
	display: block;
	text-align: center;
	font-size: 100px !important;
	color: #198754;
	margin-top: 50px;
}

 #scan-line {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: rgba(255, 0, 0, 0.7);
	box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
	transform: translateY(0%);
	animation: scan-move 2s infinite alternate;
	display: none;
}

@keyframes scan-move {
	from { transform: translateY(0%); }
	to { transform: translateY(calc(100% - 2px)); }
}

.btnfin {
    position: relative;  /* o simplemente quita position */
    width: 100%;
    max-width: 100%;
    display: block;
    font-size: 18px !important;
    text-align: center !important;
    width: 97% !important;
    background-color: #198754 !important;
    height: 45px;
    color: #fff;
    border: none;
    border-radius: 4px;
    margin: 20px auto 0 auto !important; /* margen arriba para separación, y centrado automático */
    left: 0;  /* para evitar desplazamientos si existieran */
    bottom: auto; /* anula bottom absoluto */
}


.mensaje-exito {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #ffffff;
  border: 1px solid #b4e2b4;
  border-radius: 10px;
  max-width: 300px;
  margin: 40px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  text-align: center;
}

.mensaje-exito .icono {
  font-size: 60px;
  color: #28a745;
  margin-bottom: 15px;
}

.mensaje-exito h2 {
  font-size: 24px;
  color: #2c662d;
  margin: 0;
}

.mensaje-exito .exito {
  color: #28a745;
  font-weight: bold;
}

.choices {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: 100% !important;
  z-index: 5 !important;
}

.tabla-posiciones {
  width: 100%;
  margin: 20px auto;
  border-collapse: collapse;
  border:1px solid #000; /* Borde externo de toda la tabla */
}

.tabla-posiciones th,
.tabla-posiciones td {
  border: 1px solid #000; /* Bordes internos entre celdas */
  padding: 10px;
}

.tabla-posiciones thead {
  background-color: #004ECA;
  color: #fff;
}

.card-container {
	max-width: 400px;
	margin: 0 auto;
	padding: 15px;
	font-family: Arial, sans-serif;
}

.top-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 10px;
}

.qr-box {
	width: 140px;
	height: 200px;
	background: #f4f6f9;
	border-radius: 12px;
	margin: 0 auto 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #777;
	border: 1px solid #dcdcdc;
	font-size: 14px;
}

.section-title {
	color: #d82323;
	font-weight: bold;
	font-size: 18px;
	border-bottom: 2px solid #f2d6d6;
	margin: 15px 0;
	padding-bottom: 4px;
}

.grid-box {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.item-box {
	background: #f6f7f8;
	padding: 12px;
	border-radius: 12px;
	font-size: 14px;
	border: 1px solid #e3e3e3;
}

.item-title {
	font-size: 12px;
	color: #888;
	margin-bottom: 4px;
}

.item-value {
	font-weight: bold;
	color: #333;
}

.status-ok {
	color:#1ca545;
	font-weight:bold;
}

.status-alert {
	color:#d82323;
	font-weight:bold;
}

.swal-login-popup{
	width:88% !important;
	max-width:400px !important;
	padding:25px 20px 22px !important;
	border-radius:4px !important;
}

.swal-login-title{
	font-family:'Montserrat',sans-serif !important;
	font-size:20px !important;
	font-weight:700 !important;
	color:#505050 !important;
	margin-top:5px !important;
	padding-top:0 !important;
}

.swal-login-text{
	font-family:'Montserrat',sans-serif !important;
	font-size:15px !important;
	line-height:1.5 !important;
	color:#555555 !important;
	padding:0 10px !important;
}

.swal-login-btn{
	background-color:#EA5807 !important;
	color:#ffffff !important;
	min-width:120px !important;
	height:50px !important;
	padding:0 25px !important;
	border:0 !important;
	border-radius:5px !important;
	font-family:'Montserrat',sans-serif !important;
	font-size:16px !important;
	font-weight:700 !important;
	cursor:pointer !important;
	box-shadow:none !important;
	margin-top:15px !important;
}

.swal-login-btn:hover,
.swal-login-btn:focus,
.swal-login-btn:active{
	background-color:#EA5807 !important;
	color:#ffffff !important;
	outline:none !important;
	box-shadow:none !important;
}

.swal-login-icon{
	width:72px !important;
	height:72px !important;
	border:4px solid #E56676 !important;
	border-radius:50% !important;
	position:relative !important;
	box-sizing:border-box !important;
	margin:8px auto 18px !important;
	display:block !important;
}

.swal-login-icon .linea-diagonal{
	position:absolute;
	width:62px;
	height:5px;
	background-color:#E56676;
	border-radius:5px;
	top:29px;
	left:1px;
	transform:rotate(-45deg);
	transform-origin:center;
	display:block;
}

/* ======================================================
   ESTILOS HOME / HOMEC
   Integrados desde stylehome.css
====================================================== */

.home-header {
  position: relative;
  width: 100%;
  min-height: 310px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.12), transparent 32%),
    linear-gradient(135deg, #EA5807 0%, #EA5807 45%, #EA5807 100%);
  color: #fff;
  padding: calc(18px + env(safe-area-inset-top)) 22px 55px;
  overflow: hidden;
  box-sizing: border-box;
}

.home-header::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 40px solid rgba(255,255,255,.035);
  border-radius: 50%;
  right: -120px;
  bottom: -120px;
}

.home-header .topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: #EA5807 !important;
  padding: 0 15px;
  margin: 0;
  z-index: 10000;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-sizing: border-box;
}

.home-header .header-inner {
  padding-top: 62px;
}

.home-header .topbar-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.home-header .topbar .icon {
  color: #fff !important;
  font-size: 24px;
  text-decoration: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.cliente-text {
  font-size: 16px;
  font-weight: 500;
  opacity: .92;
  margin-top: 3px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 10px;
}

.brand-name {
  font-size: clamp(30px, 8vw, 42px);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1;
}

.portal-badge {
  background: rgba(255,255,255,.94);
  color: #b20f14;
  border-radius: 30px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

.header-module {
  display: flex;
  align-items: center;
  margin-top: 24px;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
}

.module-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
}

.slider-dots span:first-child {
  background: #fff;
  transform: scale(1.15);
}

.main-panel {
  position: relative;
  width: calc(100% - 24px);
  max-width: 650px;
  margin: -38px auto 20px;
  background: #f5f6f8;
  border-radius: 30px 30px 18px 18px;
  padding: 24px 16px 28px;
  box-shadow: 0 5px 25px rgba(20,25,35,.08);
  z-index: 10;
  box-sizing: border-box;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.menu-card {
  position: relative;
  min-height: 165px;
  background: linear-gradient(145deg, #ffffff, #f7f8fa);
  border-radius: 16px;
  text-decoration: none;
  color: #20232a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
  box-shadow: 0 5px 14px rgba(20,25,35,.08);
  transition: transform .18s ease, box-shadow .18s ease;
  overflow: hidden;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.menu-grid a.menu-card:not(.disabled-card):active{
	transform:scale(.94)!important;
	border:2px solid #EA5807!important;
	box-shadow:0 2px 8px rgba(234,88,7,.45)!important;
	background:#fff4ed!important;
	transition:transform .08s ease,box-shadow .08s ease,background .08s ease;
}
/*
.menu-card:active {
  transform: scale(.97);
  border-color: #EA5807;
}
*/
.menu-card:hover {
  box-shadow: 0 8px 20px rgba(20,25,35,.12);
}

.card-icon {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EA5807 ;
  font-size: 54px;
}

.card-title {
  margin-top: 10px;
  text-align: center;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 600;
}

.inventory-card {
  padding-top: 0;
  justify-content: flex-start;
}

.mini-map {
  position: relative;
  width: 100%;
  height: 105px;
  overflow: hidden;
  background:
    linear-gradient(25deg, transparent 44%, rgba(255,255,255,.9) 45%, rgba(255,255,255,.9) 50%, transparent 51%),
    linear-gradient(-35deg, transparent 40%, rgba(255,255,255,.88) 41%, rgba(255,255,255,.88) 46%, transparent 47%),
    linear-gradient(90deg, transparent 38%, rgba(255,255,255,.85) 39%, rgba(255,255,255,.85) 44%, transparent 45%),
    #dce9df;
}

.mini-map::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 150px;
  background: #d7dce2;
  transform: rotate(35deg);
  left: 20px;
  top: -25px;
}

.map-pin {
  position: absolute;
  color: #d31c20;
  font-size: 32px;
  z-index: 3;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.2));
}

.pin1 {
  left: 35%;
  top: 30%;
}

.pin2 {
  right: 16%;
  top: 17%;
  font-size: 24px;
}

.inventory-card .card-title {
  margin-top: 16px;
}

.counter {
  position: absolute;
  right: 10px;
  top: 10px;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  border-radius: 20px;
  background: #c91519;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,.15);
}

@media (max-width: 380px) {
  .home-header {
    padding-left: 17px;
    padding-right: 17px;
  }

  .brand-name {
    font-size: 28px;
  }

  .portal-badge {
    padding: 7px 11px;
    font-size: 11px;
  }

  .main-panel {
    width: calc(100% - 18px);
    padding-left: 12px;
    padding-right: 12px;
  }

  .menu-grid {
    gap: 11px;
  }

  .menu-card {
    min-height: 148px;
  }

  .card-icon {
    font-size: 46px;
  }

  .card-title {
    font-size: 15px;
  }
}

@media (min-width: 700px) {
  .home-header {
    min-height: 330px;
  }

  .header-inner {
    max-width: 650px;
    margin: auto;
  }

  .main-panel {
    padding: 28px;
  }

  .menu-card {
    min-height: 185px;
  }
}



/* ======================================================
   TARJETAS DESHABILITADAS HOME / HOMEC
====================================================== */
.menu-grid .menu-card.disabled-card{
  background:#e5e7eb!important;
  background-image:none!important;
  border:1px solid #d1d5db!important;
  box-shadow:none!important;
  color:#9ca3af!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
}
.menu-grid .menu-card.disabled-card .card-icon{
  color:#9ca3af!important;
}
.menu-grid .menu-card.disabled-card .card-icon i{
  color:#9ca3af!important;
}
.menu-grid .menu-card.disabled-card .card-title{
  color:#9ca3af!important;
}
.menu-grid .menu-card.disabled-card:active{
  transform:none!important;
}
.menu-grid .menu-card.disabled-card:hover{
  background:#e5e7eb!important;
  background-image:none!important;
  box-shadow:none!important;
  transform:none!important;
}


.menu-grid a.menu-card:not(.disabled-card),
.menu-grid a.menu-card:not(.disabled-card):link,
.menu-grid a.menu-card:not(.disabled-card):visited,
.menu-grid a.menu-card:not(.disabled-card):hover,
.menu-grid a.menu-card:not(.disabled-card):focus,
.menu-grid a.menu-card:not(.disabled-card):focus-visible,
.menu-grid a.menu-card:not(.disabled-card):active{
	border:2px solid #EA5807!important;
	outline:none!important;
	-webkit-tap-highlight-color:transparent!important;
}

.home-headerp {
  position: relative;
  width: 100%;
  min-height: 100px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.12), transparent 32%),
    linear-gradient(135deg, #EA5807 0%, #EA5807 45%, #EA5807 100%);
  color: #fff;
  padding: calc(18px + env(safe-area-inset-top)) 22px 55px;
  overflow: hidden;
  box-sizing: border-box;
  height:100px;
}

.perfil-panel{
	position:fixed;
	top:60px;
	left:8px;
	right:8px;
	bottom:85px;
	background:#fff;
	border-radius:34px 34px 0 0;
	z-index:20;
	overflow-y:auto;
	padding:35px 18px 20px 18px;
	/*overflow-y:hidden!important;*/
}

.perfil-panel .menu-gridpag{
	margin:0;
	padding:0;
	text-align: center;
}

.txtpage{
  position:relative;
  top:-20px;
  font-size: clamp(30px, 8vw, 42px);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1;
}

.perfil-contenido{
	width:100%;
	padding:10px 22px 100px 22px;
	font-family:'Montserrat',sans-serif;
	color:#30333a;
	height:400px;
}

.perfil-titulo{
	margin:0 0 22px 0;
	text-align:center;
	font-size:27px;
	font-weight:700;
}

.perfil-identidad{
	text-align:center;
}

.perfil-logo{
	width:180px;
	height:90px;
	margin:0 auto 12px auto;
	display:flex;
	align-items:center;
	justify-content:center;
	background:transparent;
	box-shadow:none;
	overflow:visible;
}

.perfil-logo img{
	width:100%;
	height:100%;
	object-fit:contain;
}

.perfil-logo i{
	font-size:40px;
	color:#EA5807;
}

.perfil-identidad h2{
	margin:0;
	font-size:22px;
	font-weight:700;
	color:#222;
}

.perfil-estado{
	display:inline-flex;
	align-items:center;
	gap:8px;
	margin-top:8px;
	padding:6px 14px;
	background:#0BDA30;
	color:#ffffff;
	border-radius:20px;
	font-size:13px;
	font-weight:500;
}

.perfil-estado span{
	width:8px;
	height:8px;
	background:#20a832;
	border-radius:50%;
}

.perfil-estador{
	display:inline-flex;
	align-items:center;
	gap:8px;
	margin-top:8px;
	padding:6px 14px;
	background:#FF2C2C;
	color:#ffffff;
	border-radius:20px;
	font-size:13px;
	font-weight:500;
}

.perfil-estador span{
	width:8px;
	height:8px;
	background:#ffffff;
	border-radius:50%;
}

.perfil-estadisticas{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:12px;
	margin-top:22px;
}

.perfil-stat{
	min-height:80px;
	background:#fff;
	border-radius:16px;
	display:flex;
	align-items:center;
	padding:13px;
	box-shadow:0 5px 18px rgba(0,0,0,.07);
}

.stat-icon{
	width:48px;
	height:48px;
	flex-shrink:0;
	border-radius:50%;
	background:#fff0e8;
	display:flex;
	align-items:center;
	justify-content:center;
	color:#EA5807;
	font-size:21px;
}

.stat-info{
	margin-left:11px;
	display:flex;
	flex-direction:column;
	text-align:left;
}

.stat-info span{
	font-size:11px;
	color:#6c7480;
}

.stat-info strong{
	font-size:23px;
	line-height:25px;
	color:#EA5807;
}

.perfil-seccion-titulo{
	margin:25px 0 10px 0;
	font-size:18px;
	font-weight:700;
	color:#333943;
}

.perfil-card{
	background:#fff;
	border-radius:18px;
	padding:4px 16px;
	box-shadow:0 5px 18px rgba(0,0,0,.06);
}

.perfil-fila{
	min-height:48px;
	display:grid;
	grid-template-columns:28px 74px 1fr;
	align-items:center;
	border-bottom:1px solid #eceff2;
}

.perfil-fila:last-child{
	border-bottom:0;
}

.perfil-fila-icon{
	font-size:16px;
	color:#333943;
}

.perfil-fila-label{
	font-size:12px;
	color:#525b68;
}

.perfil-fila-valor{
	font-size:12px;
	color:#333943;
	font-weight:500;
	text-align:left;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.perfil-opciones{
	padding:4px 16px;
}

.perfil-opciones a{
	min-height:49px;
	display:grid;
	grid-template-columns:35px 1fr 20px;
	align-items:center;
	border-bottom:1px solid #eceff2;
	color:#333943;
	text-decoration:none;
	font-size:13px;
}

.perfil-opciones a:last-child{
	border-bottom:0;
}

.perfil-opciones a:active{
	background:#f7f7f7;
}

.opcion-icon{
	font-size:17px;
}

.opcion-flecha{
	text-align:right;
	color:#8b8b8b;
	font-size:14px;
}

.perfil-opciones .opcion-salir{
	color:#e00000;
}

.perfil-estadisticas-uno{
	display:flex;
	justify-content:center;
}

.perfil-estadisticas-uno .perfil-stat{
	width:200px;
}
.copyright-login{
	position:fixed;
	left:0;
	bottom:12px;
	width:100%;
	text-align:center;
	font-family:'Montserrat',sans-serif;
	font-size:11px;
	color:#666;
	z-index:10;
}

a.menu-card,
a.menu-card:link,
a.menu-card:visited,
a.menu-card:hover,
a.menu-card:active,
a.menu-card:focus{
	color:#24242c !important;
	text-decoration:none !important;
	outline:none !important;
}

a.menu-card .card-title,
a.menu-card:hover .card-title,
a.menu-card:active .card-title,
a.menu-card:focus .card-title,
a.menu-card:visited .card-title{
	color:#24242c !important;
	text-decoration:none !important;
}

.inventario-resumen{
	width:calc(100% - 30px);
	margin:15px auto 10px;
	padding:14px 18px;
	background:#FFF3ED;
	border:1px solid #EA5807;
	border-radius:16px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	box-sizing:border-box;
}
.inventario-resumen div{
	display:flex;
	flex-direction:column;
}
.inventario-resumen span{
	font-size:18px;
	color:#777;
}
.inventario-resumen strong{
	font-size:50px;
	color:#292933;
	line-height:1.1;
}
.inventario-resumen>i{
	font-size:32px;
	color:#EA5807;
}
.inventario-scroll{
	width:100%;
	display:flex;
	gap:14px;
	overflow-x:auto;
	overflow-y:hidden;
	padding:4px 15px 15px;
	box-sizing:border-box;
	scroll-snap-type:x mandatory;
	-webkit-overflow-scrolling:touch;
	scrollbar-width:none;
}
.inventario-scroll::-webkit-scrollbar{
	display:none;
}
.ext-card{
	flex:0 0 100%;
	max-width:none;
	min-height:290px;
	background:#fff;
	border:1.5px solid #EA5807;
	border-radius:20px;
	padding:17px;
	box-sizing:border-box;
	scroll-snap-align:center;
	box-shadow:0 5px 16px rgba(0,0,0,.08);
}
.ext-card-top{
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin-bottom:12px;
}
.ext-icon{
	width:48px;
	height:48px;
	border-radius:14px;
	background:#FFF1EA;
	display:flex;
	align-items:center;
	justify-content:center;
	color:#EA5807;
	font-size:26px;
}
.ext-estado{
	padding:5px 10px;
	border-radius:20px;
	font-size:14px;
	font-weight:700;
}
.ext-estado.activo{
	background:#E9F8EE;
	color:#238445;
}
.ext-estado.revision{
	background:#FFF4D6;
	color:#B97A00;
}
.ext-estado.vencido{
	background:#FDE8E8;
	color:#C73838;
}
.ext-codigo{
	font-size:20px;
	font-weight:700;
	color:#292933;
	margin-bottom:3px;
}
.ext-tipo{
	font-size:12px;
	color:#777;
	margin-bottom:17px;
}
.ext-linea{
	display:flex;
	align-items:center;
	gap:8px;
	margin-bottom:11px;
	font-size:12px;
	color:#555;
}
.ext-linea i{
	width:16px;
	color:#EA5807;
	font-size:12px;
	text-align:center;
}
.btn-extintor{
	width:100%;
	height:38px;
	margin-top:10px;
	border:0;
	border-radius:12px;
	background:#EA5807;
	color:#fff;
	font-family:'Montserrat',sans-serif;
	font-size:12px;
	font-weight:700;
}
.scroll-ayuda{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	margin-top:10px;
	font-size:14px;
	color:#888;
}
.scroll-ayuda i{
	color:#EA5807;
}