/* BetZap — comprovante de saque (tela e impressão) */

.rcpt {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px;
  color: #e7f4ed;
}

.rcpt-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #234436;
}

.rcpt-head strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: #fff;
}

.rcpt-head span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #00dda0;
}

.rcpt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.rcpt-grid > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rcpt-grid span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7e9c8d;
}

.rcpt-grid b {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  word-break: break-word;
}

.rcpt-grid small {
  font-size: 11px;
  color: #8fae9f;
  word-break: break-all;
}

.rcpt-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px !important;
}

.rcpt-note {
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #1f3b2e;
  border-radius: 9px;
  background: #0c1a14;
  font-size: 11.5px;
  line-height: 1.5;
  color: #a8c4b6;
}

.rcpt-foot {
  margin: 0;
  font-size: 10px;
  color: #6f8c7e;
}

.rcpt-actions {
  display: flex;
  justify-content: flex-end;
}

.rcpt-actions .btn {
  min-width: 180px;
}

@media (max-width: 520px) {
  .rcpt-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- impressão ---------- */
@media print {
  body * {
    visibility: hidden !important;
  }

  #modal,
  #modal * {
    visibility: visible !important;
  }

  #modal {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 24px !important;
    background: #fff !important;
    color: #000 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  #modal::backdrop {
    background: #fff !important;
  }

  .rcpt,
  .rcpt * {
    color: #000 !important;
  }

  .rcpt-head {
    border-bottom: 1px solid #999 !important;
  }

  .rcpt-note {
    background: #fff !important;
    border: 1px solid #999 !important;
  }

  .rcpt-grid span,
  .rcpt-foot {
    color: #444 !important;
  }

  .rcpt-actions,
  #modal > button,
  #modal .modal-close,
  #modal [data-close] {
    display: none !important;
  }
}
