
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* ===== Base Typography & Background ===== */
body, .kfd-form-wrapper {
  font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #333;
  background-color: #fff;
}

/* ===== Headings ===== */
.kfd-title, .kfd-section-title {
  font-family: 'Georgia', serif;
  color: #5E4B8B; /* SFHG soft purple */
}

/* ===== Form Styling ===== */
.kfd-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.kfd-form-wrapper input,
.kfd-form-wrapper select,
.kfd-form-wrapper textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

/* ===== Buttons (Fully Rounded, Branded) ===== */
.kfd-button, .kfd-submit-button {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  font-weight: bold;
  color: #ffffff;
  background-color: #726eab; /* SFHG purple */
  border: none;
  border-radius: 999px; /* fully rounded */
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.kfd-button:hover, .kfd-submit-button:hover {
  background-color: #5e59a1;
}

.kfd-button:focus, .kfd-submit-button:focus {
  outline: 2px solid #726eab;
}

/* ===== Recurring Option Styling ===== */
.kfd-recurring-option {
  background-color: #f7f5ff;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #e1d6f0;
}

/* ===== Quote or Testimonial Block ===== */
.kfd-blockquote {
  font-style: italic;
  color: #555;
  border-left: 4px solid #726eab;
  padding-left: 1rem;
  margin: 1.5rem 0;
}

/* ===== Background Image Overlay (Optional) ===== */
.kfd-page-background {
  position: relative;
  background-size: cover;
  background-position: center;
}

.kfd-page-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.kfd-form-wrapper {
  position: relative;
  z-index: 1;
}

/* ===== Responsive Tweaks ===== */
@media (max-width: 768px) {
  .kfd-form-wrapper {
    padding: 1.5rem;
  }
}
