/* 🌸 CFF Styles (warm donation style) */
.cff-wrapper {
  max-width: 820px;
  width: 100%;
  margin: 24px auto;
  padding: 12px 16px 140px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

/* --- Progress Bar --- */
.cff-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cff-progress-label {
  font-weight: bold;
  font-size: 16px;
}

.cff-progress-bar {
  height: 10px;
  background: #ffe3ec;
  border-radius: 6px;
  overflow: hidden;
}

.cff-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #d6336c, #b71c4a);
}

/* --- Form Fields --- */
.cff-fields {
  margin: 18px 0;
}

.cff-field {
  margin-bottom: 14px;
}

.cff-field label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  text-align: left !important
}

.cff-field input,
.cff-field select,
.cff-field textarea {
  width: 100%;
  padding: 7px!important;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
}

.cff-field input:focus,
.cff-field select:focus,
.cff-field textarea:focus {
  border-color: #d6336c;
  outline: none;
  box-shadow: 0 0 4px rgba(214, 51, 108, 0.3);
}

/* --- Step Section Titles --- */
.cff-step-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #b71c4a;
}

/* --- Step 1: Radio Options as Cards --- */
.cff-radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cff-radio {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border: 2px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  font-weight: 600;
  color: #333;
}

/* Hide native radio */
.cff-radio input[type="radio"] {
  display: none;
}

/* Custom radio circle */
.cff-radio span::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #d6336c;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  background: #fff;
  transition: 0.3s ease;
}

/* Selected state */
.cff-radio input[type="radio"]:checked + span {
  color: #d6336c;
  font-weight: 700;
  background: #fff0f5;
  border-radius: 6px;
  padding: 2px 6px;
}

.cff-radio input[type="radio"]:checked + span::before {
  background: #d6336c;
  box-shadow: inset 0 0 0 3px #fff;
}

/* Hover effect */
.cff-radio:hover {
  border-color: #d6336c;
  background: #fff7fa;
}

/* --- Sticky Bottom Bar --- */
.cff-bottom {
  position: sticky;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg, #d6336c, #b71c4a);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 5;
  margin-top: 20px;
}

.cff-bottom span {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}

.cff-bottom button {
  background: #fff;
  color: #d6336c;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.cff-bottom button:hover {
  background: #ffe3ec;
}

/* 📱 Responsive Adjustments */
@media (max-width: 600px) {
  .cff-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 14px;
  }

  .cff-bottom button {
    width: 100%;
  }

  .cff-radio-group {
    flex-direction: column;
    gap: 12px;
  }

  .cff-radio {
    justify-content: flex-start;
    width: 100%;
  }
}
