/* =========================================================
   ویجت مشترک «پیام به مدیریت باشگاه»
   این فایل در همه‌ی لندینگ‌ها یکسان بارگذاری می‌شود؛
   عمداً رنگ‌بندی مستقل و خنثی دارد (نه وابسته به رنگ هر صفحه)
   تا روی هر پس‌زمینه‌ای یک‌دست و قابل‌شناسایی باشد.
   ========================================================= */

.mfw-trigger-wrap {
  text-align: center;
  padding: 8px 24px 56px;
}

.mfw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid #C9A227;
  background: transparent;
  color: #8a6a12;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.mfw-btn:hover {
  background: #C9A227;
  color: #fff;
}

/* ---------- دکمه‌ی شناور سراسری (همه‌ی صفحات سایت) ---------- */
.mfw-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 999px;
  border: none;
  background: #17273a;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23,39,58,.32);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.mfw-fab:hover {
  background: #23374d;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(23,39,58,.4);
}
.mfw-fab-icon { font-size: 16px; line-height: 1; }

@media (max-width: 640px) {
  .mfw-fab {
    left: 14px;
    bottom: 14px;
    padding: 12px 16px;
    font-size: 12.5px;
  }
}

/* ---------- کادر (Modal) ---------- */
.mfw-modal { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; padding: 20px; direction: rtl; font-family: 'Vazirmatn', Tahoma, sans-serif; }
.mfw-modal[hidden] { display: none; }
.mfw-modal-backdrop { position: absolute; inset: 0; background: rgba(23,39,58,.55); }
.mfw-modal-box {
  position: relative; z-index: 1; width: 100%; max-width: 420px;
  background: #fff; border-radius: 16px; padding: 26px 24px 22px;
  box-shadow: 0 24px 44px -20px rgba(23,39,58,.4), 0 4px 10px -2px rgba(23,39,58,.16);
  border: 1px solid #ece2c4;
  max-height: 90vh; overflow: auto;
}
.mfw-modal-close {
  position: absolute; top: 14px; left: 14px; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid #e2d5b0; background: #fff; color: #51606f;
  font-size: 16px; line-height: 1; cursor: pointer;
}
.mfw-modal-close:hover { background: #f7f2e6; }
.mfw-modal-title { font-size: 17px; font-weight: 800; color: #17273a; margin: 0 0 6px; }
.mfw-modal-subtitle { font-size: 12.5px; color: #51606f; margin: 0 0 18px; line-height: 1.7; }
.mfw-modal-label { display: block; font-size: 12px; font-weight: 700; color: #51606f; margin: 14px 0 6px; }
.mfw-modal-input {
  width: 100%; font: inherit; font-size: 14px; padding: 10px 13px; border-radius: 9px;
  border: 1px solid #e2d5b0; background: #fff; color: #17273a; box-sizing: border-box;
}
.mfw-modal-textarea { resize: vertical; min-height: 64px; }
.mfw-modal-actions { margin-top: 20px; }
.mfw-modal-submit {
  width: 100%; font: inherit; font-size: 14px; font-weight: 700; padding: 12px; border-radius: 10px;
  border: 1px solid #C9A227; background: #C9A227; color: #fff; cursor: pointer;
  transition: background .15s ease;
}
.mfw-modal-submit:hover { background: #a5811d; }
.mfw-modal-submit[disabled] { opacity: .6; cursor: default; }
.mfw-modal-status { font-size: 12.5px; margin: 12px 0 0; color: #51606f; min-height: 1em; }
.mfw-modal-status[data-state="ok"] { color: #a5811d; font-weight: 700; }
.mfw-modal-status[data-state="err"] { color: #b3392c; font-weight: 700; }
