/**
 * Xtreme Forms Public Form Styles
 *
 * @package Xtreme Forms
 */

/* ── Variables ──────────────────────────────────────────────────────────── */
.xf-form-wrap {
  --xf-primary:   #1A73E8;
  --xf-danger:    #DC3545;
  --xf-success:   #28A745;
  --xf-border:    #DEE2E6;
  --xf-light:     #F8F9FA;
  --xf-mid:       #6C757D;
  --xf-dark:      #0D1B2A;
  --xf-radius:    5px;
  --xf-font:      'Fira Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family:    var(--xf-font);
  font-size:      15px;
  line-height:    1.55;
  letter-spacing: -0.01em;
  color:          var(--xf-dark);
  max-width:      100%;
  -webkit-font-smoothing: antialiased;
}

/* ── Form container ─────────────────────────────────────────────────────── */
.xf-form {
  background: #fff;
  border: 1px solid var(--xf-border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  display: block;
}

/* Styling → "Remove background": transparent wrapper, no border/shadow */
.xf-form-wrap.xf-form-no-bg .xf-form {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.xf-form::after {
  content: '';
  display: table;
  clear: both;
}

/* Mobile: tighter form padding to reclaim screen real estate. */
@media (max-width: 600px) {
  .xf-form {
    padding: 16px;
    border-radius: 6px;
  }
  .xf-form-wrap .xf-input,
  .xf-form-wrap .xf-select,
  .xf-form-wrap .xf-textarea {
    padding: 12px 16px;
  }
}

/* ── Field wraps ────────────────────────────────────────────────────────── */
.xf-field-wrap {
  display: block;
  clear: both;
  box-sizing: border-box;
  margin-bottom: 56px;
}

/* Float fields sit side-by-side.
   box-sizing: border-box includes padding in the width %, preventing overflow. */
.xf-field-float {
  float: left;
  clear: none;
  box-sizing: border-box;
  margin-bottom: 16px;
  padding-right: 12px;
}

/* Last in a floated row: no right padding */
.xf-field-float + .xf-field-wrap:not(.xf-field-float),
.xf-field-float:last-of-type {
  padding-right: 0;
}

/* Non-floated fields clear the row */
.xf-field-wrap:not(.xf-field-float) {
  clear: both;
}

/* Submit row and consent always full width */
.xf-submit-row,
.xf-field-consent {
  clear: both;
}

/* ── Centered form wrapper ──────────────────────────────────────────────── */
.xf-form-wrap.xf-form-centered {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .xf-field-float {
    float: none !important;
    width: 100% !important;
    padding-right: 0 !important;
    clear: both;
  }
}

/* Error state */
.xf-field-wrap.xf-field-error .xf-input,
.xf-field-wrap.xf-field-error .xf-textarea,
.xf-field-wrap.xf-field-error .xf-select {
  border-color: var(--xf-danger);
  box-shadow: 0 0 0 2px rgba(220,53,69,.15);
}

/* ── Labels ─────────────────────────────────────────────────────────────── */
.xf-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--xf-dark);
}

.xf-form-wrap .xf-label {
  display: block;
  font-weight: 700;
  font-style: normal;
  word-break: break-word;
  word-wrap: break-word;
}

.xf-required {
  color: var(--xf-danger);
  margin-left: 2px;
}

/* ── Inputs ─────────────────────────────────────────────────────────────── */
/* Selectors scoped under .xf-form-wrap to win specificity over theme/Elementor. */
.xf-form-wrap .xf-input,
.xf-form-wrap .xf-select,
.xf-form-wrap input.xf-input,
.xf-form-wrap select.xf-select {
  display: block;
  width: 100%;
  height: auto;
  padding: 15px 25px;
  font-family: "Fira Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3em;
  color: var(--xf-dark);
  background: #fff;
  border: 1px solid rgb(191, 191, 191);
  border-radius: 5px;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.xf-form-wrap .xf-select,
.xf-form-wrap select.xf-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236C757D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

/* Placeholder — explicit font-weight to beat theme's bold placeholder. */
.xf-form-wrap .xf-input::placeholder,
.xf-form-wrap .xf-select::placeholder,
.xf-form-wrap .xf-textarea::placeholder {
  color: #9ca3af;
  font-weight: 400;
  font-family: "Fira Sans", sans-serif;
  opacity: 1;
}
/* Vendor-prefixed variants (separate rules — browsers ignore unrecognised ones). */
.xf-form-wrap .xf-input::-webkit-input-placeholder,
.xf-form-wrap .xf-textarea::-webkit-input-placeholder {
  color: #9ca3af;
  font-weight: 400;
}
.xf-form-wrap .xf-input::-moz-placeholder,
.xf-form-wrap .xf-textarea::-moz-placeholder {
  color: #9ca3af;
  font-weight: 400;
  opacity: 1;
}
.xf-form-wrap .xf-input:-ms-input-placeholder,
.xf-form-wrap .xf-textarea:-ms-input-placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.xf-form-wrap .xf-input:focus,
.xf-form-wrap .xf-select:focus {
  outline: none;
  border-color: var(--xf-primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,.2);
}

.xf-form-wrap .xf-textarea,
.xf-form-wrap textarea.xf-textarea {
  display: block;
  width: 100%;
  padding: 15px 25px;
  font-family: "Fira Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3em;
  color: var(--xf-dark);
  background: #fff;
  border: 1px solid rgb(191, 191, 191);
  border-radius: 5px;
  box-sizing: border-box;
  resize: vertical;
  min-height: 40px;
  transition: border-color .15s ease, box-shadow .15s ease;
  /* Nice custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #c7d2e0 transparent;
}

.xf-textarea::-webkit-scrollbar {
  width: 6px;
}

.xf-textarea::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}

.xf-textarea::-webkit-scrollbar-thumb {
  background: #c7d2e0;
  border-radius: 6px;
}

.xf-textarea::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.xf-form-wrap .xf-textarea:focus,
.xf-form-wrap textarea.xf-textarea:focus {
  outline: none;
  border-color: var(--xf-primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,.2);
}

/* ── Checkbox & Radio groups ────────────────────────────────────────────── */
.xf-checkbox-group,
.xf-radio-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Multi-column checkbox layout. */
.xf-checkbox-group.xf-cols-2,
.xf-checkbox-group.xf-cols-3,
.xf-checkbox-group.xf-cols-4 {
  display: grid;
  gap: 16px 18px;
}
.xf-checkbox-group.xf-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xf-checkbox-group.xf-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xf-checkbox-group.xf-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 600px) {
  .xf-checkbox-group.xf-cols-3,
  .xf-checkbox-group.xf-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Very narrow screens — stack to a single column for legibility + touch. */
@media (max-width: 420px) {
  .xf-checkbox-group.xf-cols-2,
  .xf-checkbox-group.xf-cols-3,
  .xf-checkbox-group.xf-cols-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.xf-checkbox-label,
.xf-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
}

.xf-form-wrap .xf-checkbox-label,
.xf-form-wrap .xf-radio-label {
  font-weight: 400;
  font-style: normal;
  word-break: break-word;
  word-wrap: break-word;
}

.xf-checkbox-label input,
.xf-radio-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--xf-primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* Custom-styled checkbox/radio — border matches input border color. */
.xf-form-wrap .xf-checkbox-label input[type="checkbox"],
.xf-form-wrap .xf-radio-label input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid rgb(191, 191, 191);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  transition: border-color .12s ease, background .12s ease;
}

.xf-form-wrap .xf-radio-label input[type="radio"] {
  border-radius: 50%;
}

.xf-form-wrap .xf-checkbox-label input[type="checkbox"]:hover,
.xf-form-wrap .xf-radio-label input[type="radio"]:hover {
  border-color: #8a8a8a;
}

.xf-form-wrap .xf-checkbox-label input[type="checkbox"]:focus-visible,
.xf-form-wrap .xf-radio-label input[type="radio"]:focus-visible {
  outline: none;
  border-color: var(--xf-primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, .2);
}

.xf-form-wrap .xf-checkbox-label input[type="checkbox"]:checked {
  background: var(--xf-primary);
  border-color: var(--xf-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l4 4 6-8'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.xf-form-wrap .xf-radio-label input[type="radio"]:checked {
  border-color: var(--xf-primary);
  background: radial-gradient(circle, var(--xf-primary) 45%, #fff 50%);
}

/* ── Section header ─────────────────────────────────────────────────────── */
/* Top margin combined with padding-top creates a clear section break above
   the heading, even with the previous field-wrap's margin-bottom collapsing.
   Bottom margin is small so the heading reads as a label for the section
   immediately following it. */
.xf-form-wrap .xf-field-header {
  margin: 48px 0 12px;
  padding-top: 16px;
  padding-bottom: 0;
}

/* No extra top space on the very first field if it's a section header. */
.xf-form-wrap .xf-form .xf-field-header:first-child,
.xf-form-wrap .xf-form .xf-field-wrap:first-child + .xf-field-header {
  margin-top: 0;
  padding-top: 0;
}
.xf-form-wrap .xf-field-header .xf-heading {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--xf-dark);
  letter-spacing: -0.01em;
}
.xf-form-wrap .xf-field-header .xf-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--xf-mid);
  letter-spacing: 0;
}

/* ── Quantity-mode multiple choice ──────────────────────────────────────── */
/* Each row contains a checkbox + label + stepper. Unchecked rows show the
   checkbox + label like normal. Checked rows hide the checkbox and reveal
   a − / value / + stepper, right-aligned. */
.xf-form-wrap .xf-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
}

.xf-form-wrap .xf-qty-row .xf-qty-cb {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid rgb(191, 191, 191);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color .12s ease, background .12s ease;
}

.xf-form-wrap .xf-qty-row .xf-qty-cb:hover {
  border-color: #8a8a8a;
}

.xf-form-wrap .xf-qty-row .xf-qty-cb:focus-visible {
  outline: none;
  border-color: var(--xf-primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, .2);
}

.xf-form-wrap .xf-qty-row .xf-qty-label {
  flex: 1;
  cursor: pointer;
  font-weight: 400;
  word-break: break-word;
}

/* Stepper: hidden by default; revealed when row is checked. */
.xf-form-wrap .xf-qty-row .xf-qty-stepper {
  display: none;
  align-items: center;
  gap: 2px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 2px;
  flex-shrink: 0;
}

.xf-form-wrap .xf-qty-row.is-checked .xf-qty-cb {
  display: none;
}

.xf-form-wrap .xf-qty-row.is-checked .xf-qty-stepper {
  display: inline-flex;
}

.xf-form-wrap .xf-qty-row .xf-qty-btn {
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  transition: background .12s ease, color .12s ease, transform .08s ease;
}

.xf-form-wrap .xf-qty-row .xf-qty-btn:hover {
  background: var(--xf-accent, var(--xf-primary));
  color: #fff;
}

.xf-form-wrap .xf-qty-row .xf-qty-btn:active {
  transform: scale(0.92);
}

.xf-form-wrap .xf-qty-row .xf-qty-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, .25);
}

.xf-form-wrap .xf-qty-row .xf-qty-val {
  min-width: 26px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 14px;
  color: #111827;
  user-select: none;
  padding: 0 2px;
}

/* Subtle highlight on the label for the checked state to indicate selection. */
.xf-form-wrap .xf-qty-row.is-checked .xf-qty-label {
  font-weight: 500;
  color: #111827;
}

/* Mobile: enlarge the stepper buttons for touch (≥44px target ergonomic).
   Active state already keeps the press feedback. */
@media (max-width: 600px) {
  .xf-form-wrap .xf-qty-row .xf-qty-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .xf-form-wrap .xf-qty-row .xf-qty-val {
    font-size: 16px;
    min-width: 32px;
    padding: 0 4px;
  }
  .xf-form-wrap .xf-qty-row .xf-qty-stepper {
    padding: 3px;
  }
}

/* ── Slider ─────────────────────────────────────────────────────────────── */
.xf-form-wrap .xf-slider {
  width: 100%;
}
.xf-form-wrap .xf-slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.xf-form-wrap .xf-slider-edge {
  font-family: "Fira Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  min-width: 24px;
  text-align: center;
  user-select: none;
}
.xf-form-wrap .xf-slider-readout {
  margin-top: 8px;
  font-family: "Fira Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--xf-dark);
  text-align: left;
}
.xf-form-wrap .xf-slider-value {
  font-weight: 700;
  color: var(--xf-accent, var(--xf-primary));
}

/* Range input — reset + modern custom track/thumb. */
.xf-form-wrap .xf-input-slider {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 30px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}
.xf-form-wrap .xf-input-slider:focus {
  outline: none;
}

/* Track — WebKit */
.xf-form-wrap .xf-input-slider::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(
    to right,
    var(--xf-accent, var(--xf-primary)) 0%,
    var(--xf-accent, var(--xf-primary)) var(--xf-slider-fill, 0%),
    rgb(220, 220, 220) var(--xf-slider-fill, 0%),
    rgb(220, 220, 220) 100%
  );
  border-radius: 999px;
  border: 1px solid rgb(191, 191, 191);
  box-sizing: border-box;
}
/* Thumb — WebKit (solid filled circle matching the submit button) */
.xf-form-wrap .xf-input-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--xf-accent, var(--xf-primary));
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: grab;
  transition: transform .12s ease, box-shadow .12s ease;
}
.xf-form-wrap .xf-input-slider:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.xf-form-wrap .xf-input-slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.12);
}

/* Track — Firefox */
.xf-form-wrap .xf-input-slider::-moz-range-track {
  height: 6px;
  background: rgb(220, 220, 220);
  border-radius: 999px;
  border: 1px solid rgb(191, 191, 191);
}
.xf-form-wrap .xf-input-slider::-moz-range-progress {
  height: 6px;
  background: var(--xf-accent, var(--xf-primary));
  border-radius: 999px;
}
.xf-form-wrap .xf-input-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--xf-accent, var(--xf-primary));
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: grab;
}
.xf-form-wrap .xf-input-slider:active::-moz-range-thumb {
  cursor: grabbing;
}

/* ── Error messages ─────────────────────────────────────────────────────── */
.xf-field-error-msg {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--xf-danger);
}

.xf-form-global-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: var(--xf-radius);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 15px;
  color: #991b1b;
}

/* ── Submit button ───────────────────────────────────────────────────────── */
.xf-form-submit {
  margin-top: 8px;
  clear: both;
  box-sizing: border-box;
}

/* Center / right alignment (non-floated) */
.xf-form-submit.xf-submit-center {
  text-align: center;
}
.xf-form-submit.xf-submit-right {
  text-align: right;
}

/* When floated, submit sits in the field row */
.xf-form-submit.xf-field-float {
  float: left;
  clear: none;
  margin-top: 0;
  padding-right: 12px;
  display: flex;
  align-items: flex-end; /* button sits at bottom of the row */
}

/* Full-width button option */
.xf-form-submit .xf-btn-submit-full {
  width: 100%;
  display: block;
}

.xf-btn-submit {
  display: inline-block;
  background: #1A73E8;
  color: #fff;
  font-family: var(--xf-font);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background .2s ease, transform .1s ease;
}

.xf-btn-submit:hover {
  background: #1557bb;
}

.xf-btn-submit:active {
  transform: scale(0.98);
}

.xf-btn-submit:disabled {
  background: #93b8f0;
  cursor: not-allowed;
}

.xf-btn-submit.xf-submitting {
  background: #93b8f0;
  cursor: not-allowed;
}

/* Button size variants */
.xf-btn-size-sm { font-size: 12px; padding: 6px 16px; }
.xf-btn-size-md { font-size: 14px; padding: 10px 28px; }
.xf-btn-size-lg { font-size: 16px; padding: 14px 36px; }
.xf-btn-size-xl { font-size: 19px; padding: 18px 52px; }

/* Full width button */
.xf-btn-full-width { width: 100%; display: block; }

/* ── Thank-you message ───────────────────────────────────────────────────── */
.xf-thank-you {
  background: #f8fffe;
  border: 1px solid #d1fae5;
  border-top: 3px solid #10b981;
  border-radius: 12px;
  padding: 48px 32px 56px;
  text-align: center;
  margin-bottom: 48px;
}

.xf-thank-you::before {
  content: '';
  display: block;
  width: 52px;
  height: 52px;
  background: #10b981;
  border-radius: 50%;
  margin: 0 auto 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.xf-thank-you p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
}

.xf-thank-you p + p {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}

/* ── Fallback error ──────────────────────────────────────────────────────── */
.xf-form-error {
  background: #fef9c3;
  border: 1px solid #fde68a;
  border-radius: 4px;
  padding: 12px 16px;
  color: #713f12;
  font-size: 14px;
}

/* ── Honeypot field — WCAG-compliant visually-hidden technique ───────────── */
/* Uses position:absolute + clip-path + 1px dimensions so:
   - Sighted users never see it (off-screen, 1px, overflow hidden)
   - Screen readers DO encounter it (not display:none / visibility:hidden)
   - Bots find it and fill it, triggering the spam check               */
.xf-hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Label inside honeypot has no visible text */
.xf-hp-label {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ── Consent checkbox (GDPR) ────────────────────────────────────────────── */
.xf-field-consent {
  margin-bottom: 16px;
}

.xf-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}

.xf-consent-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--xf-primary);
}

.xf-consent-label a {
  color: var(--xf-primary);
  text-decoration: underline;
}

/* ── Block wrapper styles ────────────────────────────────────────────────── */
.xf-block-wrapper {
  box-sizing: border-box;
}

.xf-block-align-full {
  width: 100%;
  max-width: 100% !important;
}

/* ── Turnstile widget ────────────────────────────────────────────────────── */
.xf-turnstile-wrap {
  margin-bottom: 20px;
}
