/* Mensalidades: usado na central de cobranças e na aba Financeiro dos sites. */
.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #eeece8; color: #555; white-space: nowrap; }
.chip--pago { background: #e2f4e9; color: #0b6b37; }
.chip--aberto { background: #fff4d1; color: #8a5a00; }
.chip--atrasado { background: #fde3e0; color: #b01f17; }
.chip--cancelado { background: #eeece8; color: #777; text-decoration: line-through; }
.flash--info { background: #e8f0fb; color: #1d4d8f; }

.copy { display: flex; gap: 6px; align-items: stretch; }
.copy input, .copy textarea { flex: 1; min-width: 0; font: 13px/1.4 ui-monospace, Consolas, monospace; padding: .55em .7em; border: 1.5px solid #e4e1dc; border-radius: 10px; background: #faf9f7; resize: none; }

.fin { display: grid; gap: 16px; }
.fin__total { padding: 14px 16px; border-radius: 12px; background: #fff4d1; color: #6b4600; font-size: 1.05rem; }
.fin__total strong { font-size: 1.3rem; }
.fin__total--ok { background: #e2f4e9; color: #0b6b37; font-weight: 600; }
.fin__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fin__row { display: grid; grid-template-columns: 1fr auto auto 150px; gap: 14px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid #e4e1dc; border-radius: 12px; }
.fin__row--atrasado { border-color: #f3b9b3; }
.fin__mes { display: grid; }
.fin__valor { font-weight: 700; font-variant-numeric: tabular-nums; }
.fin__acao { text-align: right; }
.btn--pix { background: #32bcad; border-color: #32bcad; color: #fff; }
.btn--pix:hover { background: #24978b; border-color: #24978b; color: #fff; }
.fin__dia { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 14px; background: #fff; border: 1px solid #e4e1dc; border-radius: 12px; }
.fin__dia .f { min-width: 180px; }
.fin__dia-msg { flex-basis: 100%; margin: 0; }
.fin__dia-msg.is-ok { color: #0b6b37; font-weight: 600; }

.fin__dlg { border: 0; border-radius: 16px; padding: 0; width: min(420px, calc(100vw - 24px)); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.fin__dlg::backdrop { background: rgba(20,20,20,.55); }
.fin__dlg-in { position: relative; display: grid; gap: 10px; padding: 22px; text-align: center; }
.fin__dlg-in h2 { margin: 0; font-size: 1.2rem; }
.fin__dlg-in .copy { text-align: left; }
.fin__dlg-valor { margin: 0; font-size: 1.6rem; font-weight: 800; }
.fin__x { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #777; }
.fin__qr { width: 220px; height: 220px; margin: 0 auto; image-rendering: pixelated; }
.fin__qr--sim { display: grid; place-items: center; border: 2px dashed #ccc; border-radius: 12px; color: #888; font-size: .85rem; }
.fin__espera { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; color: #555; font-weight: 600; }
.fin__spin { width: 16px; height: 16px; border: 2px solid #ddd; border-top-color: #32bcad; border-radius: 50%; animation: finspin .8s linear infinite; }
@keyframes finspin { to { transform: rotate(360deg); } }
.fin__ok { padding: 34px 22px; }
.fin__ok-ico { width: 64px; height: 64px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: #0b7a3e; color: #fff; font-size: 2rem; }

@media (max-width: 640px) {
  .fin__row { grid-template-columns: 1fr auto; }
  .fin__acao { grid-column: 1 / -1; text-align: left; }
  .fin__acao .btn { width: 100%; }
}
