/* ============================================================
   FORMS.CSS — 1-op-1 match met Manus Contact.tsx
   Contact pagina + Offerte pagina styling
   ============================================================ */

/* ── Snelle opties (3 kaarten) ── */
.sm-ct-opties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sm-ct-optie {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(61,43,31,0.08);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.sm-ct-optie:hover {
  box-shadow: 0 12px 40px rgba(61,43,31,0.15);
  transform: translateY(-4px);
}

.sm-ct-optie__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.sm-ct-optie__title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #3D2B1F;
  margin: 0;
}

.sm-ct-optie__desc {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  color: #7A6355;
  line-height: 1.5;
  margin: 0;
}

.sm-ct-optie__waarde {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #C4622D;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .sm-ct-opties { grid-template-columns: 1fr; }
}

/* ── Formulier + Info grid ── */
.sm-ct-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .sm-ct-grid { grid-template-columns: 1fr; }
}

/* ── Formulier kaart ── */
.sm-ct-form-card {
  background: white;
  border-radius: 24px;
  padding: 2rem 2.5rem;
  box-shadow: 0 12px 40px rgba(61,43,31,0.12);
}

.sm-ct-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: rgba(196,98,45,0.12);
  color: #C4622D;
  margin-bottom: 1rem;
}

.sm-ct-form-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #3D2B1F;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.sm-ct-form-subtitle {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  color: #7A6355;
  margin-bottom: 2rem;
}

.sm-ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .sm-ct-form-row { grid-template-columns: 1fr; }
}

.sm-ct-form-disclaimer {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  text-align: center;
  color: #9E8878;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* ── Rechterkolom: info kaarten ── */
.sm-ct-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sm-ct-info-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(61,43,31,0.06);
}

.sm-ct-info-card__title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #3D2B1F;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #EDE5D8;
}

/* Contact lijst */
.sm-ct-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.sm-ct-contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sm-ct-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(196,98,45,0.10);
  color: #C4622D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sm-ct-contact-label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9E8878;
}

.sm-ct-contact-value {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: #3D2B1F;
  text-decoration: none;
  transition: opacity 0.2s;
}

.sm-ct-contact-value:hover { opacity: 0.7; }

/* Openingstijden tabel */
.sm-ct-uren-tabel {
  width: 100%;
  border-collapse: collapse;
}

.sm-ct-uren-tabel tr {
  border-bottom: 1px solid #F3EDE5;
}

.sm-ct-uren-tabel tr:last-child { border-bottom: none; }

.sm-ct-uren-tabel td {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  color: #7A6355;
  padding: 0.5rem 0;
}

.sm-ct-uren-tijd {
  font-weight: 600;
  color: #3D2B1F;
  text-align: center;
}

.sm-ct-uren-badge-cel { text-align: right; }

.sm-ct-uren-badge {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
}

.sm-ct-uren-badge--open {
  background-color: #d1fae5;
  color: #065f46;
}

.sm-ct-uren-badge--gesloten {
  background-color: #fee2e2;
  color: #991b1b;
}

/* FAQ */
.sm-ct-faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sm-ct-faq__item {
  border: 1px solid #EDE5D8;
  border-radius: 6px;
  overflow: hidden;
}

.sm-ct-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #3D2B1F;
  cursor: pointer;
  list-style: none;
  background-color: #F7F3EE;
  transition: background-color 0.2s;
}

.sm-ct-faq__q::-webkit-details-marker { display: none; }
.sm-ct-faq__q:hover { background-color: #EDE5D8; }

details[open] .sm-ct-faq__q i[data-lucide] { transform: rotate(180deg); }

.sm-ct-faq__a {
  padding: 0.75rem 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  color: #7A6355;
  line-height: 1.65;
  background-color: white;
}

/* ============================================================
   OFFERTE PAGINA — 1-op-1 match met Manus Offerte.tsx
   ============================================================ */

.sm-of-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Voordelen balk */
.sm-of-voordelen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.sm-of-voordeel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(61,43,31,0.08);
}

.sm-of-voordeel__emoji {
  font-size: 1.25rem;
}

.sm-of-voordeel__tekst {
  font-weight: 700;
  font-size: 0.85rem;
  color: #3D2B1F;
}

/* Formulier */
.sm-of-form {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(61,43,31,0.08);
  box-shadow: 0 4px 30px rgba(61,43,31,0.06);
}

.sm-of-form__heading {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #3D2B1F;
  margin-bottom: 2rem;
}

.sm-of-form__subheading {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #3D2B1F;
  margin-bottom: 1.25rem;
}

.sm-of-divider {
  border-top: 1px solid rgba(61,43,31,0.08);
  margin: 1.75rem 0;
}

.sm-of-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.sm-of-row--1-2 {
  grid-template-columns: 1fr 2fr;
}

@media (max-width: 600px) {
  .sm-of-row, .sm-of-row--1-2 { grid-template-columns: 1fr; }
}

.sm-of-field { }

.sm-of-label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #5C3D2E;
  margin-bottom: 0.4rem;
}

.sm-of-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(61,43,31,0.15);
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: #3D2B1F;
  background: white;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  appearance: none;
}

.sm-of-input:focus {
  border-color: #C4622D;
}

.sm-of-input::placeholder {
  color: #9E8878;
}

.sm-of-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Upload hint */
.sm-of-upload-hint {
  border: 2px dashed rgba(61,43,31,0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  background: #FDFAF7;
}

.sm-of-upload-hint p {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: #7A6355;
  margin: 0;
}

/* Submit button */
.sm-of-submit {
  width: 100%;
  padding: 1rem;
  background: #C4622D;
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.sm-of-submit:hover {
  background: #A34E22;
}

.sm-of-submit:disabled {
  background: #D4956C;
  cursor: not-allowed;
}

/* ── FLUENT FORMS THEME OVERRIDES ── */

/* Form wrapper */
.fluentform .ff-el-form-control {
  font-family: var(--font-body) !important;
  border: 1px solid #d5cdc4 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.95rem !important;
  background: #fff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.fluentform .ff-el-form-control:focus {
  border-color: var(--color-terracotta) !important;
  box-shadow: 0 0 0 3px rgba(196,98,45,0.12) !important;
  outline: none !important;
}

/* Labels */
.fluentform .ff-el-input--label label {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  color: var(--color-brown-dark) !important;
  margin-bottom: 0.4rem !important;
}

/* Select dropdown */
.fluentform select.ff-el-form-control {
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C3D2E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.5rem !important;
}

/* Submit button — high specificity to override Fluent Forms defaults + inline styles */
.fluentform .ff_submit_btn_wrapper button[type="submit"],
.fluentform .ff-btn-submit,
.fluentform button.ff-btn-submit,
.frm-fluent-form .ff-btn-submit,
form.frm-fluent-form button.ff-btn.ff-btn-submit {
  font-family: var(--font-body) !important;
  background-color: #C4622D !important;
  background: #C4622D !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 0.9rem 2.5rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, transform 0.1s ease !important;
  width: 100% !important;
}

.fluentform .ff_submit_btn_wrapper button[type="submit"]:hover,
.fluentform .ff-btn-submit:hover,
.fluentform button.ff-btn-submit:hover,
.frm-fluent-form .ff-btn-submit:hover,
form.frm-fluent-form button.ff-btn.ff-btn-submit:hover {
  background-color: #a8501f !important;
  background: #a8501f !important;
  transform: translateY(-1px) !important;
}

/* Placeholder */
.fluentform .ff-el-form-control::placeholder {
  color: #a89888 !important;
  font-weight: 400 !important;
}

/* Field spacing */
.fluentform .ff-el-group {
  margin-bottom: 1.25rem !important;
}

/* Error messages */
.fluentform .error.text-danger {
  color: #c0392b !important;
  font-size: 0.8rem !important;
  font-family: var(--font-body) !important;
}

/* Success message */
.fluentform .ff-message-success {
  background: #e8f5e9 !important;
  border: 1px solid #4caf50 !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  font-family: var(--font-body) !important;
  color: #2e7d32 !important;
  text-align: center !important;
}
