/* MONFIN — mf-wizard.css
   Style cho nút hero + modal wizard 3 câu lọc thẻ tín dụng.
   Append vào monfin-ui.css hoặc link riêng — class đều prefix mf-wizard- để không đụng CSS khác. */

/* ---- Hero trigger button ---- */
.mf-wizard-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0052CC;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.3);
  transition: transform .15s, box-shadow .15s;
}
.mf-wizard-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.4);
}
.mf-wizard-trigger-icon { font-size: 20px; }

/* ---- Overlay ---- */
.mf-wizard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}
.mf-wizard-overlay.mf-wizard-open { display: flex; }

/* ---- Modal box ---- */
.mf-wizard-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 32px 28px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: mfWizardPop .18s ease-out;
}
@keyframes mfWizardPop {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}

.mf-wizard-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #94A3B8;
  cursor: pointer;
}
.mf-wizard-close:hover { color: #334155; }

/* ---- Progress ---- */
.mf-wizard-progress {
  height: 6px;
  background: #EEF2F6;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}
.mf-wizard-progress-bar {
  height: 100%;
  width: 33.33%;
  background: #0052CC;
  border-radius: 99px;
  transition: width .25s ease;
}
.mf-wizard-step-label {
  font-size: 12px;
  font-weight: 700;
  color: #0052CC;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 18px;
}

/* ---- Question + options ---- */
.mf-wizard-q-title {
  font-size: 19px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 18px;
  line-height: 1.35;
}
.mf-wizard-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mf-wizard-opt {
  text-align: left;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  transition: all .12s;
}
.mf-wizard-opt:hover {
  border-color: #0052CC;
  background: #EFF6FF;
}
.mf-wizard-opt-selected {
  border-color: #0052CC;
  background: #0052CC;
  color: #fff;
}

/* ---- Back button ---- */
.mf-wizard-back-btn {
  margin-top: 18px;
  background: none;
  border: none;
  color: #64748B;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.mf-wizard-back-btn:hover { color: #0052CC; }

/* ---- Mobile ---- */
@media (max-width: 480px) {
  .mf-wizard-modal { padding: 24px 18px 20px; border-radius: 14px; }
  .mf-wizard-q-title { font-size: 17px; }
  .mf-wizard-trigger-btn { width: 100%; justify-content: center; padding: 14px 18px; }
}
