body {
    background: #021234;
    color: #fff;

    background: rgb(143, 0, 179);
    background: radial-gradient(circle, rgba(143, 0, 179, 1) 0%, rgba(2, 18, 52, 1) 39%);
}

footer {
    padding: 6rem 0 3rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: small;
}

a{
    color: #fff;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

.logos-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
}

.logos-footer img{
  height: 50px;
  width: auto;
}

@media (max-width: 768px){
    .logos-footer img{
       height: 35px;
    }
}



option {
    -webkit-appearance:button !important;
        -moz-appearance:button !important;
            appearance:button !important;
    cursor: pointer;
}


.papiro {
    background: #D8C5A0;
    color: #021234;

    padding: 2rem 3rem;

    border-radius: 8px 20px 16px 32px;
}


.papiro label {
    font-weight: bold;
    margin-top: 2rem;
    font-size: 1.1em;

}

.papiro input.filtro {
    margin-bottom: 2rem;
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.2em;
    border: 0;
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    color: #603813;
}

input.filtro::placeholder {
    font-weight: bold;
    opacity: 0.5;
    color: rgb(37, 21, 8, 0.4);
}


.papiro.excepciones h2{
    margin: 2em auto 0.5em;
    font-style: italic;
}



/*---- oportunidades --*/

#oportunidades .btn-check+.btn {
    border: 0;
    background: rgba(255, 255, 255, 0.3) !important;
    color: #fff;
    padding: 1em 0.5em;
    margin: 0.5em 0;
    border-radius: 12px !important;
    border: 3px solid transparent;
}

#oportunidades .btn-check:checked+.btn {
    background-color: #fff !important;
    color: #021234;
    border: 3px solid #C242F9;
}

#oportunidades .btn-check+.btn .precio {
    font-weight: bold;
}

#oportunidades .btn-check:checked+.btn .precio {
    color: #C242F9 !important;
}


/*---- pasos ---- */

#steps {
    margin: 0 0 3em;
}

#steps ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

#steps ul li {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1em 0;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    font-weight: bold;
}


#steps ul li .paso {
    padding: 0.5em 1em;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.5em;
    margin-right: 0.5em;
}

#steps ul li.activo {
    border-color: #F7931E;
}

#steps ul li.activo .paso {
    background: #C242F9;
}


/*--- pago  ----*/

.pago {
    background: url("../images/bg-map.png") no-repeat center center;
    background-size: cover;
    padding: 3em 2em 0.5em;
}

.pago .form-floating label {
    color: #021234;
}

.respuesta-pago {
    background: url("../images/bg-map.png") no-repeat center center;
    background-size: cover; /* <-- este es el cambio clave */
    min-height: 500px;
    padding: 3em 2em 0.5em;
    color: #603813;
}

/* Bloque centrado con imagen y mensajes */
.pago-mensaje {
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}

.pago-mensaje .titulo-pago {
    font-size: 1.2rem;
    font-weight: 800;
    color: #603813;
    margin-bottom: 1rem;
}

.pago-mensaje p {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    color: #603813;
    margin-bottom: 2rem;
}

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

.respuesta-pago a {
    color: #603813;
    text-decoration: underline;
}

.respuesta-pago a:hover {
    text-decoration: none;
}

.btn.btn-primary {
    background: #C242F9;
    border-color: #C242F9;
}

.btn.btn-primary:hover {
    background: #9A22CE;
    border-color: #9A22CE;
}

.premio .form-floating label {
    color: #021234;
}

/*--- animaciÃ³n de carga  ----*/

#submitBtn {
    position: relative;
    transition: all 0.3s;
    min-width: 120px;
    padding: 0.75rem 1.5rem;
}

#submitSpinner {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent !important;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}
#submitBtn.loading .button-text {
    display: none !important;
}

#submitBtn .button-text {
    display: inline-block; /* Estado normal */
    transition: opacity 0.2s;
}

#submitBtn.loading #submitSpinner {
    display: block;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}




/*-- canjear PIN --*/


.pin {
    background: #D8C5A0;
    color: #021234;

    padding: 2rem 3rem;

    border-radius: 8px 20px 16px 32px;
}


/* === Iframe sobrepuesto estilo modal === */
/* Estilo base para el overlay */
#iframeTochtliOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;  /* pantalla completa */
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6); /* fondo semitransparente */
  display: none; /* oculto inicialmente */
  
  display: flex;
  justify-content: center;  /* centra horizontal */
  align-items: center;      /* centra vertical */
  z-index: 10000;
}

.iframe-overlay {
  position: relative;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  padding: 1rem;
}

.iframe-overlay iframe {
  display: block;
  border-radius: 4px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
}

.iframeC {
    margin: 0;
    color: black;
    font-family: 'Electrolize', sans-serif;
    background-size: cover;
    background-position: center;
    height: 700px;
    width: 100%;
  }

  iframe {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    overflow-y: scroll;
    
  }


  h4 {
    font-weight: 800;
  }

  label {
    color: rgba(0, 0, 0, 0.5);
  }

  .card {
    padding: 1.5em;
    background: rgba(0, 0, 0, 0.02);
    border: 0;
    border-radius: 12px;
  }

  #iframeDiv {
    background: #fff;
    border-radius: 8px;
  }
  
 .comprobante-card {
  background: white;
  color: black;
  }