.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
}

.modal-bg[hidden] {
  display: none !important;
  pointer-events: none;
  visibility: hidden;
}

.modal-box,
.desconto-modal,
.modal-inadimplente,
.modal-pendencias {
  width: 85%;
  max-width: 420px;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.modal-box {
  background: #fff;
  color: #0f172a;
  text-align: center;
}

.modal-box--compact {
  max-width: 360px;
}

.modal-feedback {
  text-align: center;
}

.modal-feedback h3 {
  color: #0f172a;
}

.modal-copy-small {
  font-size: 14px;
  color: #1e293b;
}

.modal-text-stack {
  margin-top: 10px;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.desconto-modal {
  width: 80%;
  max-width: 300px;
  padding: 22px;
  font-family: "Courier Prime", monospace;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  background: #fff;
}

.desconto-modal h3 {
  margin-bottom: 12px;
}

.desconto-botoes {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.modal-inadimplente {
  color: #fff;
  text-align: left;
  position: relative;
  background: #8b0000d9;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.modal-inadimplente__title {
  margin-bottom: 12px;
  text-align: center;
  font-size: 22px;
}

.mi-info {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 10px;
  background: #660000;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  font-size: 16px;
  line-height: 1.4;
}

.modal-pendencias {
  background: #5a4a3a;
  color: #fff;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.modal-pendencias__body {
  margin-bottom: 20px;
}

.destaque-info,
.destaque-info-total {
  margin: 10px 0;
  padding: 10px 15px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.destaque-info {
  background: #0066cc;
}

.destaque-info-total {
  background: #239700;
}

.valor-destaque,
.valor-destaque-total {
  display: block;
  margin-top: 5px;
  font-size: 1.8rem;
  font-weight: 900;
}
