/* ============================================================
   CustomFormBuilder – Front-end Styles
   ============================================================ */

.cfb-front { max-width: 720px; margin: 0 auto; }
.cfb-description { margin-bottom: 24px; color: #555; line-height: 1.6; }

.cfb-success {
  padding: 18px 22px; border-radius: 6px;
  background: #e8f5e9; border: 1px solid #a5d6a7;
  color: #2e7d32; font-size: 15px;
}

.cfb-form { }
.cfb-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) { .cfb-fields-grid { grid-template-columns: 1fr; } }

.cfb-field--full { grid-column: 1 / -1; }
.cfb-field--half { grid-column: span 1; }

.cfb-label {
  display: block; font-weight: 600; margin-bottom: 6px;
  font-size: 13px; color: #333;
}
.cfb-asterisk { color: #e53935; margin-left: 2px; }

.cfb-input {
  width: 100%; box-sizing: border-box;
  border: 1px solid #d0d8e0; border-radius: 4px;
  padding: 9px 12px; font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.cfb-input:focus {
  outline: none;
  border-color: #25B9D7;
  box-shadow: 0 0 0 3px rgba(37,185,215,.15);
}

.cfb-radio-group, .cfb-checkbox-group {
  display: flex; flex-direction: column; gap: 8px;
}
.cfb-radio-label, .cfb-checkbox-label {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 14px;
}

.cfb-submit { margin-top: 24px; }
.cfb-btn-submit { padding: 11px 32px; font-size: 15px; }
