﻿/* Pix e comprovante: detalhes de pagamento junto da confirmacao. */
.deposit-card { margin: 0 0 32px; padding: 30px; border: 1px solid #d8bd9690; border-radius: 24px; background: #fffaf3; color: var(--brand-800); box-shadow: 0 10px 35px #42281b07; }
.deposit-card__eyebrow { font-size: 10px; letter-spacing: .15em; font-weight: 700; }
.deposit-card__heading h3 { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 26px var(--font-serif); margin: 10px 0; }
.deposit-card__heading h3 strong { font: 600 20px var(--font-sans); white-space: nowrap; background: #efdfc7; padding: 8px 12px; border-radius: 10px; }
.deposit-card__heading p { font-size: 14px; line-height: 1.7; margin: 0; }
.deposit-card__body { display: grid; grid-template-columns: 192px minmax(0, 1fr); gap: 24px; align-items: center; margin: 24px 0; }
.deposit-card__qr { display: block; width: 192px; height: 192px; border: 1px solid #e8dccb; border-radius: 12px; background: white; }
.deposit-card__details { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 12px; }
.deposit-card__details > strong { font-size: 12px; }
.deposit-card__details label { font-weight: 700; margin-top: 8px; }
#pix-code { width: 100%; min-height: 74px; padding: 10px; resize: vertical; overflow-wrap: anywhere; word-break: break-all; font: 11px/1.5 monospace; border: 1px solid #d8bd96; border-radius: 8px; background: #f8f0e5; color: var(--brand-900); }
.deposit-copy { display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 9px; background: var(--brand-800); color: #fff7ec; padding: 12px; cursor: pointer; font: 600 13px var(--font-sans); }
.deposit-copy:hover { background: var(--brand-900); }
#pix-copy-status { font-size: 12px; line-height: 1.5; }
#pix-copy-status:empty { display: none; }
.deposit-card__notice { margin: 0; border-top: 1px solid #d8bd9680; padding-top: 18px; font-size: 13px; line-height: 1.8; }
.receipt-upload { margin: 24px 0; color: var(--brand-800); }
.receipt-upload__heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.receipt-upload__heading h3 { font: 500 21px var(--font-serif); margin: 0; }
.receipt-upload__heading > span { font-size: 11px; background: #eadcc7; border-radius: 20px; padding: 4px 10px; }
.receipt-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.receipt-dropzone { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; padding: 26px 18px; border: 1.5px dashed #b79367; border-radius: 16px; background: #fcf6ec; color: var(--brand-800); cursor: pointer; transition: background .2s, border-color .2s; font-family: var(--font-sans); text-align: center; }
.receipt-dropzone:hover,.receipt-dropzone.is-dragging { background: #f2e3ce; border-color: var(--brand-800); }
.receipt-dropzone:focus-visible,.deposit-copy:focus-visible,.receipt-remove:focus-visible { outline: 3px solid var(--brand-700); outline-offset: 3px; }
.receipt-dropzone__icon { display: grid; place-items: center; width: 52px; height: 52px; background: #eddec7; border-radius: 50%; }
.receipt-dropzone strong { font-size: 14px; font-weight: 600; }
.receipt-dropzone > span:last-child { font-size: 12px; }
.receipt-preview { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; margin-top: 16px; padding: 16px; border: 1px solid #ddc7aa; border-radius: 16px; background: #fffaf3; }
.receipt-preview[hidden],.receipt-error[hidden] { display: none; }
.receipt-preview__media { grid-column: 1 / -1; overflow: hidden; border-radius: 10px; background: #f1e9dc; }
.receipt-preview__media img { display: block; width: 100%; max-height: 280px; object-fit: contain; }
.receipt-preview__media iframe { display: block; width: 100%; height: 280px; border: 0; }
.receipt-preview__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 12px; }
.receipt-preview__info strong { overflow-wrap: anywhere; }
.receipt-preview__info a { color: var(--brand-700); text-decoration: underline; }
.receipt-remove { align-self: center; background: transparent; border: 1px solid #bc9d79; border-radius: 8px; padding: 8px 12px; font-size: 12px; color: var(--brand-800); cursor: pointer; }
.receipt-upload__notice { font-size: 12px; line-height: 1.75; margin: 12px 0 0; }
.receipt-error { color: #9f293c; font-size: 13px; margin: 12px 0; }
#receipt-status { font-size: 12px; line-height: 1.6; }
@media(max-width: 600px) {
 .deposit-card { padding: 22px 18px; }
 .deposit-card__heading h3 { flex-direction: column; align-items: flex-start; font-size: 25px; }
 .deposit-card__body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
 .deposit-card__qr { justify-self: center; width: 216px; height: 216px; }
 .receipt-upload__heading h3 { font-size: 19px; }
}

.receipt-pdf canvas { display: block; max-width: 100%; max-height: 360px; width: auto; height: auto; margin: auto; }
.receipt-pdf p { font-size: 11px; line-height: 1.5; padding: 10px; margin: 0; text-align: center; }
