/* Simulações de Pagamentos. Usa gestao.css (g-*). */
.pg-app { height: 100%; display: flex; flex-direction: column; background: #f8fafc; }
.pg-top { background: #fff; padding: 40px 14px 11px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid #e5e7eb; }
.pg-top span { font-size: 22px; line-height: 1; color: #64748b; }
.pg-top b { font-size: 15px; }
.pg-b { flex: 1; min-height: 0; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.pg-res { display: flex; gap: 9px; align-items: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 8px; }
.pg-res img { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; }
.pg-res div { flex: 1; min-width: 0; }
.pg-res b { display: block; font-size: 12px; }
.pg-res small { font-size: 10.5px; color: #64748b; }
.pg-res strong { font-size: 13px; }
.pg-k { font-size: 10px; letter-spacing: .08em; font-weight: 700; color: #64748b; margin-top: 4px; }
.pg-op { display: flex; gap: 10px; align-items: center; background: #fff; border: 2px solid #e5e7eb; border-radius: 12px; padding: 9px 10px; }
.pg-op i { font-style: normal; width: 32px; height: 32px; border-radius: 9px; background: #f1f5f9; display: grid; place-items: center; }
.pg-op b { display: block; font-size: 12.5px; }
.pg-op small { font-size: 10.5px; color: #64748b; }
.pg-op.on { border-color: #dc2626; background: #fef2f2; }
.pg-tag { margin-left: auto; font-style: normal; font-size: 9.5px; background: #dcfce7; color: #166534; border-radius: 999px; padding: 2px 7px; font-weight: 700; }
.pg-bt { margin-top: auto; background: #dc2626; color: #fff; border-radius: 12px; padding: 12px; text-align: center; font-weight: 700; font-size: 13.5px; }
.pg-pix { align-items: center; text-align: center; }
.pg-pix > small:first-child { color: #64748b; }
.pg-v { font-size: 26px; }
.pg-pix img { width: 170px; height: 170px; background: #fff; border-radius: 14px; padding: 10px; border: 1px solid #e5e7eb; }
.pg-copia { width: 100%; display: flex; gap: 8px; align-items: center; background: #fff; border: 1px dashed #94a3b8; border-radius: 10px; padding: 8px 10px; font-size: 10.5px; }
.pg-copia span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, Menlo, monospace; color: #475569; }
.pg-copia b { color: #dc2626; }
.pg-esp { font-size: 11.5px; color: #b45309; font-weight: 700; animation: ttPisca 1.2s ease-in-out infinite; }
@keyframes ttPisca { 50% { opacity: .35; } }
.pg-ok { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 14px; padding: 14px; text-align: center; color: #065f46; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pg-ok i { font-style: normal; width: 46px; height: 46px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.pg-ok b { font-size: 15px; }
.pg-ok small { font-size: 11px; }
.pg-etapas { list-style: none; margin: 4px 0 0; padding: 0 0 0 8px; display: flex; flex-direction: column; gap: 0; }
.pg-etapas li { position: relative; padding: 0 0 13px 22px; font-size: 12px; color: #94a3b8; border-left: 2px solid #e2e8f0; }
.pg-etapas li::before { content: ""; position: absolute; left: -7px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #e2e8f0; }
.pg-etapas li.ok { color: #111827; border-color: #16a34a; }
.pg-etapas li.ok::before { background: #16a34a; }
.pg-etapas li.at { color: #111827; font-weight: 700; }
.pg-etapas li.at::before { background: #f59e0b; box-shadow: 0 0 0 4px #fde68a; }
.pg-etapas small { display: block; font-weight: 400; color: #64748b; font-size: 10.5px; }
.pg-aviso { margin-top: auto; background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 10px; padding: 9px; font-size: 11.5px; color: #024a51; text-align: center; }

.pg-gws { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.pg-gw { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 11px; display: flex; flex-direction: column; gap: 8px; }
.pg-gw ul { margin: 0; padding-left: 15px; font-size: 10.5px; color: #374151; line-height: 1.55; flex: 1; }
.pg-gw .gp-btn { text-align: center; }
.pg-logo { font-weight: 800; font-size: 12px; border-radius: 7px; padding: 4px 8px; }
.pg-logo--mp { background: #e0f2fe; color: #075985; }
.pg-logo--pb { background: #dcfce7; color: #166534; }
.pg-logo--st { background: #d1fae5; color: #065f46; }
.pg-logo--sc { background: #ccfbf1; color: #025e67; }
.pg-logo--sp { background: #fef9c3; color: #854d0e; }
.pg-st { font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.pg-st.ok { color: #15803d; }
.pg-st.hm { color: #b45309; }
.pg-pix-q { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 11px 13px; font-size: 11.5px; }
.pg-mat th.c, .pg-mat td.c { text-align: center; }
.pg-mat td { font-size: 11.5px; padding: 8px; }
.pg-sw { display: inline-block; width: 30px; height: 17px; border-radius: 999px; background: #e2e8f0; position: relative; vertical-align: middle; }
.pg-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.pg-sw.on { background: #16a34a; }
.pg-sw.on::after { left: 15px; }
.pg-dicas { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; color: #024a51; }
.pg-dicas span { background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 10px; padding: 8px 11px; }
@media (prefers-reduced-motion: reduce) { .pg-esp { animation: none; } }
.pg-agenda { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 8px; text-align: center; }
.pg-agenda span { height: 120px; display: flex; align-items: flex-end; justify-content: center; background: #f8fafc; border-radius: 8px; }
.pg-agenda i { width: 60%; background: #0f766e; border-radius: 6px 6px 0 0; }
.pg-agenda b { display: block; font-size: 11px; margin-top: 5px; }
.pg-agenda small { font-size: 10px; color: #64748b; }
.pg-gw > .g-row { flex-wrap: nowrap; }
.pg-logo { white-space: nowrap; }
