/* ============================================
   Nomads on Wheels - Fluent Forms Brand Styling
   Brand tokens: ink olive #1C2011, cream #fcfaf4,
   orange #e0851d (hover #c97318), muted card #ede8dc,
   text #2D2D2D. Fonts: Oswald (labels/buttons), Source Sans 3 (body)
   ============================================ */

.fluentform .ff-el-group {
  margin-bottom: 1.35rem;
}

/* Labels */
.fluentform .ff-el-input--label label,
.fluentform .ff-el-input--label {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1C2011;
  font-size: 0.95rem;
  text-transform: none;
  margin-bottom: 0.4rem;
}

/* Required asterisk in brand orange */
.fluentform .ff-el-is-required.asterisk-right label:after,
.fluentform .ff-el-form-control:required + label:after {
  color: #e0851d;
}

/* Text inputs, textarea, selects */
.fluentform .ff-el-form-control {
  font-family: 'Source Sans 3', -apple-system, sans-serif;
  font-size: 1rem;
  color: #2D2D2D;
  background-color: #fcfaf4;
  border: 1.5px solid #d8d2c4;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
}

.fluentform .ff-el-form-control::placeholder {
  color: #9a9482;
  opacity: 1;
}

/* Focus state - brand orange */
.fluentform .ff-el-form-control:focus {
  border-color: #e0851d;
  box-shadow: 0 0 0 3px rgba(224, 133, 29, 0.12);
  outline: none;
  background-color: #ffffff;
}

/* Textarea */
.fluentform textarea.ff-el-form-control {
  min-height: 120px;
  line-height: 1.5;
  resize: vertical;
}

/* Select dropdowns */
.fluentform select.ff-el-form-control {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231C2011' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

/* Help text (e.g. 'WhatsApp gets you the fastest reply') */
.fluentform .ff-el-help-message {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  color: #6b6656;
  font-style: italic;
  margin-top: 0.3rem;
}

/* Submit button - brand orange with Oswald */
.fluentform .ff-btn-submit {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1rem;
  color: #ffffff !important;
  background-color: #e0851d !important;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 2.2rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 8px rgba(224, 133, 29, 0.25);
}

.fluentform .ff-btn-submit:hover {
  background-color: #c97318 !important;
  transform: translateY(-1px);
}

.fluentform .ff-btn-submit:active {
  transform: translateY(0);
}

/* Helper line under button - the 1-hour promise */
.now-reply-promise {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  color: #6b6656;
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.now-reply-promise:before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.18);
}

/* Validation errors */
.fluentform .ff-el-is-error .ff-el-form-control {
  border-color: #c0392b;
}
.fluentform .error.text-danger,
.fluentform .ff-el-is-error .text-danger {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  color: #c0392b;
  margin-top: 0.3rem;
}

/* Success message after submit */
.fluentform .ff-message-success,
.ff-message-success {
  font-family: 'Source Sans 3', sans-serif;
  background-color: #ede8dc;
  border: 1.5px solid #e0851d;
  border-radius: 10px;
  color: #1C2011;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
}