.mfap-overlay[hidden] { display: none !important; }
.mfap-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: grid; place-items: center; z-index: 99999; padding: 16px;
}

.mfap-modal {
  background: #101820; color: #fff; width: 100%; max-width: 520px;
  border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.3);
  padding: 20px; outline: none;
}

.mfap-title { margin: 0 0 10px; font-size: 20px; line-height: 1.2; }
.mfap-close {
  position: absolute; margin: 0; top: 10px; right: 14px; border: 0; background: transparent;
  font-size: 28px; color: #7ECDBA; cursor: pointer;
}

.mfap-body { margin-top: 6px; }
.mfap-loading { font-size: 14px; opacity: .9; }
.mfap-error { font-size: 14px; color: #ffb3b3; }

.mfap-content .mfap-row {
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mfap-content .mfap-row span { opacity: .8; }
.mfap-content .mfap-row strong { text-align: right; word-break: break-word; }

.mfap-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.mfap-btn {
  display: inline-block; padding: 10px 14px; border-radius: 10px; text-decoration: none;
  background: #2C3747; color: #fff;
}
.mfap-btn.mfap-primary { background: #7ECDBA; color: #2C3747; font-weight: 600; }

.mfap-hidden { display: none; }

@media (max-width: 480px) {
  .mfap-modal { padding: 16px; border-radius: 14px; }
  .mfap-actions { flex-direction: column; }
}
