/* =========================
   ROOT VARIABLES
========================= */
:root {
  --primary: #dc8543;
  --primary-dark: #d46410;
  --secondary: #f5faf8;
  --border: #e3e8ee;
  --text: #1f2937;
  --muted: #6b7280;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* =========================
   WRAPPER
========================= */
.mfs-wrap {
  max-width: 900px;
  margin: 40px auto;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: "Noto Sans Devanagari", system-ui, sans-serif;
  color: var(--text);
}

/* =========================
   HEADINGS
========================= */
.mfs-wrap h3 {
  margin: 30px 0 14px;
  font-size: 20px;
  color: var(--primary-dark);
  border-left: 5px solid var(--primary);
  padding-left: 12px;
}

/* =========================
   RADIO FORM SELECTOR (PILLS)
========================= */
.mfs-radio {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.mfs-radio label {
  position: relative;
  cursor: pointer;
}

.mfs-radio input {
  display: none;
}

.mfs-radio span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--secondary);
  border: 2px solid var(--border);
  font-weight: 600;
  transition: all 0.3s ease;
}

.mfs-radio input:checked + span {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 14px rgba(26, 127, 90, 0.35);
}

/* =========================
   GRID LAYOUT
========================= */
.mfs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* =========================
   FORM FIELDS
========================= */
.mfs-wrap label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: var(--muted);
}

.mfs-wrap input,
.mfs-wrap select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 15px;
  transition: all 0.25s ease;
  background: #fff;
}

.mfs-wrap input:focus,
.mfs-wrap select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26, 127, 90, 0.15);
}

/* =========================
   FILE UPLOAD
========================= */
.mfs-wrap input[type="file"] {
  padding: 10px;
  background: #fafafa;
}

/* =========================
   FORM SECTIONS
========================= */
.mfs-section {
  margin-top: 18px;
  padding: 18px;
  background: #f9fbfa;
  border-radius: 12px;
  border: 1px dashed var(--border);
  animation: fadeSlide 0.4s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   SUBMIT BUTTON
========================= */
.mfs-btn {
  margin-top: 30px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mfs-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(26, 127, 90, 0.4);
}

/* =========================
   MESSAGE
========================= */
.mfs-msg {
  margin-top: 16px;
  font-weight: 600;
  color: var(--primary-dark);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .mfs-grid {
    grid-template-columns: 1fr;
  }

  .mfs-wrap {
    padding: 20px;
    margin: 20px 12px;
  }
}
