/* Recibo de pagamento confirmado, opção 05 aprovada pelo Gabriel. */
html:has(.recibo:not([hidden])), body:has(.recibo:not([hidden])) { min-height: 100vh; background: #eeebe3; }
body:has(#resSucesso:not([hidden])) .ck-topo { display: none; }
body:has(#resSucesso:not([hidden])) .ck-main { padding-top: 0; }
body:has(#resSucesso:not([hidden])) .ck-resultados { padding-top: 0; }
body:has(#resErro:not([hidden])) .ck-topo { display: none; }
body:has(#resErro:not([hidden])) .ck-main,
body:has(#resErro:not([hidden])) .ck-resultados { padding-top: 0; }
body:has(#sucesso:not([hidden])) main { max-width: 480px; margin: 0 auto; padding: 0 24px; background: none; border: 0; border-radius: 0; }
body:has(#sucesso:not([hidden])) .teste-intro,
body:has(#sucesso:not([hidden])) main > small { display: none; }
.recibo { width: 100%; max-width: 432px; margin: 0 auto; padding: 20px 0 32px; color: #202a22; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; outline: none; }
.recibo-marca { display: flex; width: fit-content; margin: 0 auto 18px; }
.recibo-marca img { display: block; width: 220px; height: 65px; object-fit: contain; }
.recibo-papel { position: relative; padding: 32px 30px 34px; border-radius: 12px 12px 0 0; background: #faf9f5; box-shadow: 0 14px 26px -10px #35312030; }
.recibo-papel::after { content: ''; position: absolute; height: 12px; bottom: -11px; left: 0; right: 0; background: radial-gradient(circle at 12px 12px, transparent 7px, #faf9f5 7.5px) 0 0 / 24px 12px repeat-x; }
.recibo .recibo-selo { display: block; width: 106px; height: 106px; margin: 0 auto 22px; }
.recibo .recibo-titulo { margin: 0; color: #202b23; font-family: Georgia, 'Times New Roman', serif; font-size: 34px; font-weight: 700; line-height: 1.12; letter-spacing: -.9px; text-align: left; }
.recibo .recibo-obrigado { margin: 14px 0 28px; color: #62615d; font-size: 20px; line-height: 1.45; }
.recibo-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 23px 4px; border-top: 1px dashed #d8d5cc; border-bottom: 1px dashed #d8d5cc; }
.recibo-total > span { color: #686761; font-size: 17px; }
.recibo-total > strong { color: #242722; font-family: Georgia, 'Times New Roman', serif; font-size: 34px; font-weight: 700; white-space: nowrap; }
.recibo-email { padding-top: 26px; text-align: center; }
.recibo-numero { display: flex; justify-content: space-between; gap: 16px; margin-top: 17px; color: #686761; font-size: 13px; }
.recibo-numero strong { color: #30392f; font-weight: 600; overflow-wrap: anywhere; }
.recibo-guardar { display: block; width: calc(100% - 12px); min-height: 48px; margin: 12px 6px 0; padding: 12px 16px; border: 1px solid #898d80; border-radius: 10px; background: transparent; color: #30392f; font: 500 15px/1.4 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; cursor: pointer; }
.recibo-guardar:hover { background: #ffffff60; }
.recibo-guardar:disabled { opacity: .5; cursor: wait; }
.recibo-guardar:focus-visible { outline: 3px solid #467653; outline-offset: 4px; }
.recibo .recibo-estado { margin: 10px 12px 0; text-align: center; font-size: 12px; line-height: 1.5; color: #595d53; }
.recibo-estado:empty { display: none; }
.recibo-recusa .recibo-titulo { color: #733e36; }
.recibo-motivo { border-top: 1px dashed #d8d5cc; border-bottom: 1px dashed #d8d5cc; padding: 22px 0; }
.recibo-motivo > span { display: block; color: #925045; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.recibo .recibo-motivo p { margin: 0; color: #393d35; font-size: 16px; line-height: 1.6; }
.recibo .recibo-orientacao { margin: 24px 0 0; color: #62615d; font-size: 14px; line-height: 1.6; }
.recibo-recusa .recibo-acoes { text-align: center; }
.recibo-tentar { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 5px; background: none; border: 0; border-bottom: 1px solid #30392f; color: #30392f; font: 600 18px/1.4 Inter, sans-serif; cursor: pointer; }
.recibo-tentar:hover { color: #925045; border-color: #925045; }
.recibo-tentar:disabled { opacity: .5; cursor: wait; }
.recibo-tentar:focus-visible { outline: 3px solid #a54d43; outline-offset: 6px; }
.recibo-envelope { display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; margin: 0 auto 17px; border-radius: 50%; background: #e2e9df; color: #467653; }
.recibo-envelope svg { display: block; width: 36px; height: 36px; }
.recibo .recibo-email p { margin: 0; color: #52564e; font-size: 15px; line-height: 1.55; }
.recibo-acoes { margin: 38px 6px 0; }
.recibo-voltar { display: flex; width: 100%; min-height: 62px; align-items: center; justify-content: center; padding: 15px 20px; background: #1c1c1b; color: #fff; font-size: 20px; font-weight: 500; line-height: 1.4; border-radius: 11px; text-decoration: none; transition: background .15s; }
.recibo-voltar:hover { background: #353532; }
.recibo a:focus-visible, .recibo summary:focus-visible { outline: 3px solid #467653; outline-offset: 5px; }
.recibo-detalhes { margin: 22px 6px 0; color: #595d53; font-size: 13px; }
.recibo-detalhes summary { width: fit-content; margin: auto; cursor: pointer; padding: 8px; }
.recibo-detalhes[open] summary { margin-bottom: 10px; }
.recibo-nota { margin-top: 14px; text-align: center; font-size: 12px; line-height: 1.5; }
@media (max-width: 480px) {
  .recibo { padding-top: 10px; }
  .recibo-marca { margin-bottom: 12px; }
  .recibo-marca img { width: 196px; height: 58px; }
  .recibo-papel { padding: 26px 24px 28px; }
  .recibo .recibo-selo { width: 88px; height: 88px; margin-bottom: 20px; }
  .recibo .recibo-titulo { font-size: clamp(26px, 7.6vw, 34px); letter-spacing: -.7px; }
  .recibo .recibo-obrigado { font-size: 17px; margin: 12px 0 25px; }
  .recibo-total { padding: 20px 0; }
  .recibo-total > span { font-size: 15px; }
  .recibo-total > strong { font-size: 29px; }
  .recibo-email { padding-top: 22px; }
  .recibo .recibo-email p { font-size: 14px; }
  .recibo-quebra { display: none; }
  .recibo-voltar { min-height: 56px; font-size: 18px; }
}
