/* Button Styles */
.button {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-align: center;
}

.button .button__icon svg {
  display: block;
  height: 1.25rem;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .button .button__icon svg {
    height: 1.25rem;
    width: 1.25rem;
  }
}

.button--icon-right .button__icon {
  order: 1;
}

/* Overlay Background Styles */
.hs-overlay-background {
  position: fixed;

  /* One less than the overlay z-index value */
  z-index: 999999;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.2);
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease 0s, visibility 500ms ease 0s;
  visibility: hidden;
}

.hs-overlay-background.open {
  opacity: 1;
  visibility: visible;
}

/* Overlay Styles */

html.hs-payments--overlay-open {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.hs-overlay {
  position: fixed;

  /* Well below the maximum value, but high enough to cover most cases */
  z-index: 1000000;
  top: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(100% - 50px);
  width: 100vw;
  background-color: #fff;
  transform: translateY(0);
  transition: transform 500ms ease 0s, visibility 500ms ease 0s;
  visibility: hidden;
}

.hs-overlay.open {
  transform: translateY(-100%);
  transition: transform 500ms ease 0s, visibility 500ms ease 0s;
  visibility: visible;
}

button.hs-overlay__close--top {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  height: 30px;
  width: 30px;
  padding: 5px;
  border: none;
  border-radius: 50%;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  outline-color: #33475b;
}

button.hs-overlay__close--top svg {
  fill: #7c98b6;
}

button.hs-overlay__close--top:hover svg,
button.hs-overlay__close--top:focus svg {
  fill: #33475b;
}

@media screen and (min-width: 768px) {
  button.hs-overlay__close--top {
    background: transparent;
  }
}

button.hs-overlay__close--bottom {
  position: absolute;
  top: initial;
  right: 16px;
  bottom: 16px;
  padding: 5px;
  border: none;
  background: none;
  color: #33475b;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: normal;
  opacity: 0;
  outline-color: #33475b;
}

button.hs-overlay__close--bottom:focus {
  opacity: 1;
}

.hs-overlay .payments-iframe-container {
  height: 100%;
  width: 100%;
}

.hs-overlay .payments-iframe-container iframe {
  height: 100% !important;
}

.hs-screen-reader-only {
  position: absolute;
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}




.card_donativo {
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  /*box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);*/
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.card_donativo_titulo {
  font-size: 1.5rem;
  margin: 8px 0;
  color: #ff1055;
  font-weight: bold;
}

.card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.card_donativo_monto {
  font-size: 1.25rem;
  color: #148f8c;
  margin: 8px 0;
  font-weight: bold;
}

.card_donativo_descripcion {
  font-size: 1rem;
  color: #333333;
  margin: 8px 0;
}

.card_donativo_boton {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  overflow: hidden; /* Evita el desbordamiento */
  transform: scale(1); /* Ajusta el tamaño inicial */
  transform-origin: center; /* Escala desde el centro */
  max-width: 100%; /* Se adapta al ancho del contenedor */
}

@media (max-width: 768px) {
  .card_donativo_boton {
    /*transform: scale(0.9); /* Reduce el tamaño en pantallas medianas */
  }
}

@media (max-width: 480px) {
  .card_donativo_boton {
    /*transform: scale(0.8); /* Reduce el tamaño en pantallas pequeñas */
  }
}
