/* ===============================
   Loader PagaFactu
================================ */

.pagafactu-loader-wrapper {
  /* margin-top: 1rem; */
  text-align: center;
  margin: 0 auto;
}

.pagafactu-loader-img {
  max-width: 100px;
  animation: pagafactu-spin 1.2s linear infinite;
  margin-bottom: 2rem;
}

@keyframes pagafactu-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}



/* ===============================
   Mensaje superior factura
================================ */

.pagafactu-success-title {
  font-size: 28px;
  font-weight: 700;
  color: #1A35F1;
  margin-bottom: 10px;
  text-align: center;
  line-height: 1.3;
}

.pagafactu-success-subtitle {
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

/* ===============================
   PDF grande
================================ */

div#pagafactu-pdf-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

a.pagafactu-pay-button {
  background: transparent;
  border: 1px solid #1A35F1;
  border-radius: 4rem;
  height: 40px;
  width: 215px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  color: #1A35F1;
  font-weight: 700;
  font-size: 16px;
}

a.pagafactu-pay-button:hover {
  background: #1A35F1;
  color: white;
}


.kadence-column5706_59c3d9-8f {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

div#pagafactu-result {
  width: 90%;
}

div#pagafactu-wrapper {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.pagafactu-pdf-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 20px;
}

.pagafactu-pdf-inner {
  min-width: 900px;
}

.pagafactu-pdf-iframe {
  width: 100%;
  height: 85vh;
  border: none;
  background: #fff;
  border-radius: 12px;
}

p.txt-before-btn {
  margin-bottom: 0;
  text-align: center;
}

.pf-res-success p {
    font-size: 18px !important;
}

@media (max-width: 800px) {
  .pagafactu-pdf-iframe {
    width: 100%;
    border-radius: 12px;
    height: 300px !important;
  }

  .kadence-column5706_59c3d9-8f {
    max-width: 100% !important;
  }

  div#pagafactu-result {
    width: 100% !important;
  }


}


/*MESSAGES*/

.pagafactu-error-box {
  text-align: center;
}

/*BTN*/

button#pagafactu-retry-btn {
  background: #454cee;
  font-size: 16px;
  font-weight: bold;
  height: 54px !important;
  width: 200px !important;
  border-radius: 6rem;
  color: white;
  cursor: pointer;
}