.pb-qr-upload {
  align-items: center;
  background: rgba(255, 122, 0, .025);
  border: 2px dashed rgba(255, 122, 0, .7);
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  margin-bottom: 14px;
  min-height: 78px;
  padding: 12px 14px;
  position: relative;
  transition: background-color .2s, border-color .2s;
}

.pb-qr-upload:hover,
.pb-qr-upload.is-dragging {
  background: rgba(255, 122, 0, .09);
  border-color: var(--orange);
}

.pb-qr-upload.is-reading {
  cursor: progress;
  opacity: .75;
}

.pb-qr-upload__icon {
  color: var(--orange);
  display: grid;
  place-items: center;
}

.pb-qr-upload__icon svg {
  fill: currentColor;
  height: 28px;
  width: 28px;
}

.pb-qr-upload__copy strong,
.pb-qr-upload__copy small {
  display: block;
}

.pb-qr-upload__copy small {
  color: var(--muted);
  margin-top: 3px;
}

.pb-qr-upload__button {
  background: var(--card);
  border: 1px solid var(--orange);
  border-radius: 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  padding: 9px 12px;
  white-space: nowrap;
}

.pb-qr-upload__status {
  bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  grid-column: 2 / 4;
  min-height: 14px;
}

.pb-qr-upload__status:empty {
  display: none;
}

.pb-qr-upload__status.is-error {
  color: #c62828;
}

.pb-qr-upload__reader {
  height: 320px;
  left: -10000px;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 320px;
}

.pb-boleto-code-field .pb-document-hint:empty {
  display: none;
}

#boletoImageDropZone {
  margin-bottom: 2px;
}

.pb-qr-system-logo {
  align-items: center;
  display: flex;
  height: 46px;
  justify-content: flex-start;
  margin-right: auto;
  min-width: 100px;
}

.pb-qr-system-logo img {
  display: block;
  height: auto;
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
  width: auto;
}

.pb-pix-code-actions .pb-boleto-bank-logo {
  align-self: center;
  margin: 0 auto 0 0;
  max-height: 46px;
  max-width: 180px;
}

body[data-theme=dark] .pb-qr-upload__button {
  background: var(--bg);
}

.pb-pdf-password-modal .modal-dialog {
  max-width: 380px;
}

.pb-pdf-password-modal .modal-footer {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  justify-content: flex-end !important;
}

.pb-pdf-password-modal .modal-footer .pb-btn {
  font-size: 13px;
  min-width: 112px !important;
  padding: 10px 16px !important;
  width: auto !important;
}

.pb-pdf-password-form {
  display: grid;
  gap: 14px;
}

.pb-pdf-password-show {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 8px;
  margin: 0;
}

.pb-pdf-password-show input {
  margin: 0;
}

.pb-pdf-password-form .pb-form-feedback {
  margin: 0;
  min-height: 20px;
}

.pb-pdf-password-form .pb-form-feedback.is-error {
  color: #c62828;
}

@media (max-width: 640px) {
  .pb-pdf-password-modal .modal-dialog {
    margin-left: 16px;
    margin-right: 16px;
    max-width: none;
  }

  .pb-pdf-password-modal .modal-footer .pb-btn {
    flex: 1 1 0;
    min-width: 0 !important;
  }

  .pb-qr-upload {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .pb-qr-upload__button {
    grid-column: 1 / 3;
    width: 100%;
  }

  .pb-qr-upload__status {
    grid-column: 1 / 3;
  }

  .pb-qr-system-logo {
    min-width: 64px;
  }

  .pb-qr-system-logo img {
    max-width: 76px;
  }

  .pb-pix-code-actions .pb-boleto-bank-logo {
    max-width: 90px;
  }
}
