/* ===== FEES SNAPSHOT NEW LOOK ===== */

/* 1) the whole fees section gets a soft background */
#secFees {
  background-image: radial-gradient(circle at top, #fef6ff 0%, #eef4ff 40%, #ffffff 100%);
  border-radius: 18px;
  margin-bottom: 16px;
}

/* remove panel body's old grey/white look */
#secFees .panelBody {
  background: transparent !important;
  padding: 16px 10px 10px;
}

/* 2) THIS is the big white box */
#secFees .feesGrid {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  max-width: 560px;
  margin: 0 auto;
  padding: 4px 0;
  /* important: stop old grid layout */
  display: block;
}

/* 3) each fee item becomes a ROW, not a small card */
#secFees .feesGrid .feeBox {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: transparent !important;
  width: auto !important;
  float: none !important;     /* kill old float grid */
  box-shadow: none !important;
}

#secFees .feesGrid .feeBox:last-child {
  border-bottom: none;
}

/* 4) icon (generated, no VB change) */
#secFees .feesGrid .feeHead {
  position: relative;
  flex: 1;
  font-size: 14px;
  color: #0f172a;
  text-transform: none;
  text-align: left;
  padding-left: 38px;  /* space for icon */
}

/* fake icon circle */
#secFees .feesGrid .feeHead::before {
  content: "₹";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(104, 117, 245, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #1f2937;
}

/* amount on right */
#secFees .feesGrid .feeVal {
  font-weight: 400;
  color: #0f172a;
  white-space: nowrap;
}

/* note centered under card */
#secFees .feeNote {
  text-align: center;
  font-size: 11px;
  color: #6b7280;
  margin-top: 10px;
}

/* mobile tweaks */
@media (max-width: 480px) {
  #secFees .feesGrid {
    border-radius: 16px;
  }
  #secFees .feesGrid .feeBox {
    padding: 10px 12px;
  }
  #secFees .feesGrid .feeVal {
    font-size: 13px;
  }
}
