/* =====================================================
   Booking Form – Stylesheet
   Stile: minimal, Manrope
   ===================================================== */

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: fallback;
  src: url('https://www.chiarafantauzzo.it/wp/wp-content/themes/twentytwentyfive/assets/fonts/manrope/Manrope-VariableFont_wght.woff2') format('woff2');
}

/* ---------- Wrap ---------- */
.bf-wrap {
  --bf-blue:    #2563eb;
  --bf-blue-h:  #1d4ed8;
  --bf-border:  #d1d5db;
  --bf-text:    #111827;
  --bf-muted:   #6b7280;
  --bf-error:   #dc2626;
  --bf-success: #16a34a;
  --bf-radius:  6px;

  font-family: Manrope, sans-serif;
  font-weight: 400;
  color: var(--bf-text);
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Notices ---------- */
.bf-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--bf-radius);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}
.bf-notice p { margin: 0; }
.bf-notice__icon { font-weight: 700; flex-shrink: 0; }
.bf-notice--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: var(--bf-success); }
.bf-notice--error   { background: #fef2f2; border: 1px solid #fecaca; color: var(--bf-error); }

/* ---------- Fieldset eventi ---------- */
.bf-fieldset {
  border: none;
  margin: 0 0 28px;
  padding: 0;
}

.bf-legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--bf-text);
  margin-bottom: 12px;
  display: block;
}

.bf-radio-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bf-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--bf-text);
}

.bf-radio {
  width: 16px;
  height: 16px;
  accent-color: var(--bf-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.bf-radio-indicator { display: none; }
.bf-radio-text { line-height: 1.4; }

.bf-empty {
  font-size: 14px;
  color: var(--bf-muted);
  margin: 0;
}

/* ---------- Campi testo ---------- */
.bf-field { margin-bottom: 20px; }

.bf-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--bf-text);
  margin-bottom: 6px;
}

.bf-required { color: var(--bf-error); margin-left: 2px; }
.bf-optional  { font-size: 12px; font-weight: 400; color: var(--bf-muted); margin-left: 4px; }

.bf-input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--bf-text);
  background: #fff;
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bf-input::placeholder { color: #9ca3af; }
.bf-input:focus {
  outline: none;
  border-color: var(--bf-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ---------- Submit ---------- */
.bf-submit-wrap { margin-top: 28px; }

.bf-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--bf-blue);
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--bf-radius);
  cursor: pointer;
  transition: background 0.15s;
}
.bf-submit:hover  { background: var(--bf-blue-h); }
.bf-submit:active { background: var(--bf-blue-h); }
.bf-submit__arrow { font-size: 15px; }

@media (max-width: 600px) {
  .bf-wrap { padding: 0 4px; }
}

/* ---------- Privacy ---------- */
.bf-field--privacy { margin-top: 8px; }

.bf-privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--bf-muted);
  line-height: 1.5;
}
.bf-privacy-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--bf-blue);
  cursor: pointer;
}
.bf-privacy-label a {
  color: var(--bf-blue);
  text-decoration: underline;
}
.bf-privacy-label a:hover {
  color: var(--bf-blue-h);
}
