body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle-header {
  width: 100%;
  height: 100px;
  background-color: #000;
  border-bottom-left-radius: 0% 100px;
  border-bottom-right-radius: 0% 100px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}


.circle-header img {
  max-width: 150px;
}

.login-box {
  width: 90%;
  max-width: 400px;
  padding: 20px;
  padding-top: 10px;
  text-align: center;
}

.login-box h2 {
  font-weight: bold;
  text-align: left;
}


.login-box p {
  color: #555;
  font-size: 0.9em;
  margin-bottom: 20px;
}

.input-group {
  display: flex;
  align-items: center;
  border: 1px solid #000;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.input-group .flag {
  margin-right: 10px;
  font-size: 1.2em;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"]{
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.iti {
  width: 100%;
}


button {
  width: 100%;
  padding: 12px;
  background: #000;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
}

a {
  display: inline-block;
  margin-top: 15px;
  color: #000;
  text-decoration: underline;
  font-size: 0.9em;
}


.white-box {
  background-color: #FFFFFF;
  border-radius: 15px;
  padding: 10px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.white-box2 {
  background-color: #000; /* negro */
  border-radius: 15px;
  padding: 5px;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  box-sizing: border-box;
  color:white;
  text-align: left;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px; /* espacio debajo */
}

.left-side {
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre número e imagen */
}

.number {
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

.carousel-container {
  overflow-x: auto;
  overflow-y: hidden; 
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.carousel-track {
  display: flex; 
  flex-direction: row; 
  gap: 10px;
  padding: 10px;
  width: max-content;
}

.carousel-slide {
  flex: 0 0 35%; 
  scroll-snap-align: start;
  border-radius: 15px;
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  aspect-ratio: 4 / 3;
  max-height: 300px;
}

.image-overlay {
  position: relative;
  width: 100%;
 height: 100%;
object-fit: cover;
}

.image-overlay img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.image-overlay p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 2;
}

.black-box {
  background-color: #000; /* negro */
  border-radius: 0; /* quitar todos */
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  padding-top: 0px;
  padding-bottom: 10px;
  padding-right: 20px;
  padding-left: 20px;
  width: 100%;
  max-width: 500px;
  margin: 0px auto;
  box-sizing: border-box;
}

.black-box2 {
  background-color: #000; /* negro */
  border-radius: 15px; /* quitar todos */
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  padding-top: 0px;
  padding-bottom: 10px;
  padding-right: 20px;
  padding-left: 20px;
  width: 100%;
  max-width: 500px;
  margin: 0px auto;
  box-sizing: border-box;
}


.progress-container {
  width: 100%;
  background-color: #ddd;
  border-radius: 20px;
  margin: 20px auto;
  height: 5px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #f9ac30;
  border-radius: 20px;
  transition: width 0.3s ease;
}
.progreso-texto {
  margin: 5px 0;
  font-size: 14px;
  color: white; /* cámbialo a blanco si tienes fondo oscuro */
  text-align: left;
}



.footer-flotante {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 60px;
  max-width: 500px;
  background-color: rgba(0, 0, 0, 1); /* Transparente */
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  display: flex;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(15px); /* Difumina el fondo que está detrás */
}

.footer-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  position: relative;
}

.footer-icons a img {
  width: 20px;
  height: 20px;
  border-radius: 0%;
  transition: transform 0.2s ease;
}

/* Imagen central sobresaliente */
.footer-icons a.central-icon {
  position: relative;
  top: -30px; /* Hace que sobresalga hacia arriba */
  z-index: 2;
}

.footer-icons a.central-icon img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.footer-icons a {
  display: flex;
  flex-direction: column; /* coloca hijos en columna */
  align-items: center;    /* centra horizontalmente */
  text-align: center;     /* centra texto en el span */
  font-size: 12px;
  color: #eee;
  text-decoration: none;
  gap: 4px;               /* espacio entre imagen y texto */
}

.footer-icons a.activo span {
  color: #ffd700; /* amarillo oro */
  font-weight: bold;
}

.footer-icons a.activo img {
  transform: scale(1.2);
  filter: brightness(1.3);
}

.footer-icons img.activo {
  border: 5px solid #ffcc00;
  border-radius: 70%;
  padding: 8px;
  background-color: #222;
  box-shadow: 0 0 5px #ffcc00;
}
.footer-icons img.activo {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform: scale(1.1);
}





.qr-container {
  margin-top: 40px;
}

.qr-card {
  position: relative;
  background: #f3f3f3;
  padding: 20px;
  border-radius: 30px;
  text-align: center;
  margin-bottom: 20px;
}

.qr-star {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-star img {
  width: 24px;
  height: 24px;
}

.qr-image {
  width: 200px;
  height: auto;
  margin: 10px auto;
}

.qr-number {
  margin-top: 10px;
  font-weight: bold;
  font-size: 14px;
}

#qrcode {
  margin: 10px auto;
  width: 200px;
  height: 200px;
}

.activity-list h2 {
  margin-bottom: 20px;
}

.activity-item {
  margin-bottom: 20px;
  text-align: left;
}

.activity-item h3 {
  margin: 0;
  font-size: 1.1em;
  font-weight: bold;
}

.activity-detail {
  margin: 5px 0 0 0;
  color: #777;
  font-size: 0.9em;
}

.scroll-div {
  border: 0px solid #ccc;
  padding: 10px;
  width: 95%;
  height: calc(100vh - 300px); /* Altura total de la ventana menos 100px */
  overflow-y: auto;
}

.scroll-divMenu {
  border: 0px solid #ccc;
  margin-top: 0px;
  padding: 10px;
  width: 95%;
  height: calc(100vh - 400px); /* Altura total de la ventana menos 100px */
  overflow-y: auto;
}


#reader {
  margin: 10px auto;
  border-radius: 12px;
  overflow: hidden;
}

.qr-text-input,
.qr-select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  margin-top: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: white;
  appearance: none; /* quita el estilo nativo del navegador */
  -webkit-appearance: none;
  -moz-appearance: none;
}





.actividad {
    margin-top: 20px;
    padding: 10px;
}

.actividad-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #ccc;
}

.actividad-info {
    font-size: 14px;
}

.actividad-puntos {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    color: #000000;
}

.estrella {
    width: 18px;
    height: 18px;
    margin-left: 5px;
}




.blur-overlay {
  position: relative;
  filter: blur(0px);
  pointer-events: none;
  user-select: none;
}
.blur-overly {
  position: relative;
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

.overlay-mensaje {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  z-index: 10;
  text-align: center;
}
.login-box,
.scroll-div {
  position: relative;
}


.actividad {
  position: relative;
  padding: 10px 0;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.caro-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

/* oculta scrollbar en la mayoría de navegadores */
.caro-track {
  scrollbar-width: none; /* Firefox */
}
.caro-track::-webkit-scrollbar {
  display: none;
}

.actividad-item {
  flex: 0 0 260px; /* ancho fijo o ajustable */
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 200px; /* fallback */
  box-sizing: border-box;
}

/* adapta tu estilo existente para puntos y estrella */
.actividad-puntos {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
  color: #000;
  gap: 4px;
}

.estrella {
  width: 18px;
  height: 18px;
}

/* botones */
.caro-btn {
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.caro-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.actividad-item {
  position: relative;
  min-width: 220px;
  height: 140px;
  margin-right: 12px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
  background: #222;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  font-family: sans-serif;
  display: flex;
}

.actividad-item .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
  transition: transform .3s ease;
}

.actividad-item:hover .bg {
  transform: scale(1.03);
}

.actividad-item .overlay {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* título centrado y puntos abajo */
  align-items: center;
  text-align: center;
  width: 100%;
}


.actividad-item .texto {
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
}

.actividad-item .texto strong {
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.1;
}

.actividad-item .texto small {
  font-size: 0.65rem;
  text-transform: uppercase;
  opacity: 0.85;
}

.actividad-item .puntos {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,0.45);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-top: 6px;
}

.actividad-item .estrella {
  width: 14px;
  height: auto;
}

.foto-perfil-container {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffcc00;
    cursor: pointer;
}

.foto-perfil-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.actividad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.actividad-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.actividad-header .ver-mas {
  color: #ffcc00; /* amarillo */
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
  padding-bottom: 20px;         /* 🔧 ajusta verticalmente si es necesario */
  display: inline-block;
}

.actividad-header .ver-mas:hover {
  color: #ffb300;
}


/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 18px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #ffb300;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(21px);
  -ms-transform: translateX(21px);
  transform: translateX(21px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
