.invoiceoptin-hidden {
  display: none !important;
}

#frmCheckout:has(#invoiceOptInBlock) #containerExistingAccountSelect {margin-bottom: 28px;}
.form-check-label{cursor: pointer;}
#invoiceOptInBlock .form-check {
    font-size: 15px;
}
#invoiceOptInBlock .form-check .form-check-label {
    font-size: 1em;
    font-weight: 600;margin: 0;
}
#invoiceOptInBlock #invoiceOptInTitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 22px;
}
#csfSelectedPreview {
    display: flex;
    padding-top: 0;
    padding-bottom: 0;flex-wrap: wrap;
}
#csfSelectedPreview .btn {
    font-size: 1.1em;
}
.form-check::selection {
  background: transparent; /* o 'none' */
  color: inherit;           /* mantiene el color original */
}

.invoiceoptin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 16px;
}

.invoiceoptin-modal-dialog {
  background: #fff;
  border-radius: 8px;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
}

.invoiceoptin-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #6c757d;
}

.invoiceoptin-modal-close:hover,
.invoiceoptin-modal-close:focus {
  color: #000;
}

.invoiceoptin-modal-content {
  padding: 44px 20px 20px 20px;
  overflow: auto;
  max-height: 90vh;
}

.invoiceoptin-modal-content iframe {
  border: 0;
  width: 100%;
  height: 80vh;
}

.invoiceoptin-modal-content img {
  max-width: 100%;
  height: auto;
}

.invoiceoptin-modal-open {
  overflow: hidden;
}
