 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: #EB2805;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 999;
  box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.5); /* Sombra más oscura */
}


.footer-bar a {
  color: white;
  text-align: center;
  font-size: 16px;
  text-decoration: none;

  /* Evita el azul al tocar en móviles */
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.footer-bar i {
  font-size: 20px;
  text-decoration: none;
}

.icon-label {
  font-size: 12px;
  display: block;
  margin-top: 2px;
}


@media (max-width: 600px) 
{
  .footer-bar a {
	 color: white;
	  text-align: center;
	  font-size: 16px;
	  text-decoration: none;

	  /* Evita el azul al tocar en móviles */
	  -webkit-tap-highlight-color: transparent;
	  -webkit-touch-callout: none;
  }

  /* Fuerza el color blanco en todos los estados */
  .footer-bar a:visited,
  .footer-bar a:hover,
  .footer-bar a:active,
  .footer-bar a:focus {
	color: white;
	text-decoration: 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: 9999;
  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: 9999;
  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 {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 50px;
background-color: #EB2805;
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 */
}

.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;
}