/* ==========================================================================
   GUF Form Enhancer v0.3.1 — Editorial premium form UX
   Higher specificity + strategic !important to override Gravity Forms
   gravity-theme defaults which are themselves very aggressive.
   ========================================================================== */

.guf-enhanced {
    /* Design tokens are looked up via var(--guf-*, fallback) at every use-site.
       If a theme (e.g. GUF Subsidies) defines them on :root, those values win;
       otherwise the fallbacks kick in and the enhancer looks correct standalone. */

    position: relative;
    font-family: var(--guf-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
    color: var(--guf-ink, #16181D);
}

/* Nuke Gravity Forms wrapper chrome */
.guf-enhanced .gform_wrapper,
.guf-enhanced .gform_wrapper.gravity-theme {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    max-width: none !important;
}

/* ==========================================================================
   Progress bar
   ========================================================================== */

.guf-progress {
    background: var(--guf-white, #FFFFFF);
    border-radius: var(--guf-radius-lg, 12px);
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--guf-shadow-sm, 0 1px 3px rgba(22, 24, 29, 0.06), 0 1px 2px rgba(22, 24, 29, 0.04));
    border: 1px solid var(--guf-line, #E7E5E1);
    position: sticky;
    top: 1rem;
    z-index: 10;
}

@supports (backdrop-filter: blur(10px)) {
    .guf-progress {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: saturate(1.4) blur(12px);
        -webkit-backdrop-filter: saturate(1.4) blur(12px);
    }
}

.guf-enhanced .guf-progress__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    gap: 1rem;
}

.guf-enhanced .guf-progress__label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--guf-muted, #6B7280);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.guf-enhanced .guf-progress__step {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--guf-ink-soft, #2B2E36);
    letter-spacing: -0.005em;
}

.guf-enhanced .guf-progress__step em {
    font-family: var(--guf-serif, "Fraunces", Georgia, "Times New Roman", serif);
    font-style: normal;
    color: var(--guf-red, #C00A26);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0 0.125rem;
}

.guf-enhanced .guf-progress__bar {
    /* Kept for backwards compat but the line is now drawn behind the dots instead. */
    display: none;
}

.guf-enhanced .guf-progress__fill {
    display: none;
}

/* Numbered step dots — with a connecting line behind them that fills to red as steps complete */
.guf-enhanced .guf-progress__dots {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 0.5rem;
    position: relative;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* The connecting rail sits behind all the dot circles */
.guf-enhanced .guf-progress__dots::before {
    content: '';
    position: absolute;
    top: 17px;                              /* centred vertically on the 34px circles */
    left: 17px;                             /* start at the centre of the first dot */
    right: 17px;                            /* end at the centre of the last dot */
    height: 2px;
    background: var(--guf-line, #E7E5E1);
    z-index: 0;
}

/* And the filled portion of the rail, driven by a --progress custom property */
.guf-enhanced .guf-progress__dots::after {
    content: '';
    position: absolute;
    top: 17px;
    left: 17px;
    height: 2px;
    background: var(--guf-red, #C00A26);
    z-index: 0;
    width: calc((100% - 34px) * var(--guf-progress, 0));
    transition: width 0.6s var(--guf-ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

.guf-enhanced .guf-progress__dot {
    flex: 1 !important;
    min-width: 0;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-align: center !important;
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
    color: var(--guf-muted, #6B7280) !important;
    cursor: default;
    transition: color 0.25s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 1;
}

.guf-enhanced .guf-progress__dot__number {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    background: var(--guf-white, #FFFFFF) !important;
    border: 2px solid var(--guf-line-strong, #D9D6D0) !important;
    border-radius: 50% !important;
    font-family: var(--guf-serif, "Fraunces", Georgia, "Times New Roman", serif);
    font-size: 0.9375rem !important;
    font-weight: 500;
    color: var(--guf-muted, #6B7280) !important;
    transition: all 0.3s var(--guf-ease-out, cubic-bezier(0.16, 1, 0.3, 1));
    letter-spacing: -0.02em;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    position: relative;
    z-index: 2;
}

.guf-enhanced .guf-progress__dot__label {
    font-weight: 500;
    letter-spacing: -0.005em;
    max-width: 100px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guf-enhanced .guf-progress__dot.is-active {
    color: var(--guf-ink, #16181D) !important;
    font-weight: 600;
}
.guf-enhanced .guf-progress__dot.is-active .guf-progress__dot__number {
    background: var(--guf-red, #C00A26) !important;
    border-color: var(--guf-red, #C00A26) !important;
    color: var(--guf-white, #FFFFFF) !important;
    box-shadow: 0 0 0 5px var(--guf-red-tint, #FDECEE);
    transform: scale(1.05);
}

.guf-enhanced .guf-progress__dot.is-done {
    color: var(--guf-ink-soft, #2B2E36) !important;
    cursor: pointer;
}
.guf-enhanced .guf-progress__dot.is-done .guf-progress__dot__number {
    background: var(--guf-red-tint, #FDECEE) !important;
    border-color: var(--guf-red, #C00A26) !important;
    color: var(--guf-red, #C00A26) !important;
}
.guf-enhanced .guf-progress__dot.is-done .guf-progress__dot__number__text {
    display: none;
}
.guf-enhanced .guf-progress__dot.is-done .guf-progress__dot__number::before {
    content: '✓';
    font-family: var(--guf-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
    font-weight: 700;
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .guf-enhanced .guf-progress__dot__label { display: none; }
    .guf-enhanced .guf-progress__dots { padding: 0 0.5rem !important; }
}

/* ==========================================================================
   Form body container
   ========================================================================== */

.guf-enhanced .gform_body,
.guf-enhanced .gform_wrapper .gform_body {
    background: var(--guf-white, #FFFFFF) !important;
    border-radius: var(--guf-radius-xl, 20px) !important;
    padding: clamp(2rem, 4vw, 3.5rem) !important;
    box-shadow: var(--guf-shadow-sm, 0 1px 3px rgba(22, 24, 29, 0.06), 0 1px 2px rgba(22, 24, 29, 0.04)) !important;
    border: 1px solid var(--guf-line, #E7E5E1) !important;
    margin: 0 !important;
}

.guf-enhanced .gform_fields,
.guf-enhanced .gform_wrapper .gform_fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    grid-template-columns: none !important;
    grid-column-gap: 0 !important;
    grid-row-gap: 2rem !important;
}

/* ==========================================================================
   Steps
   ========================================================================== */

.guf-step {
    display: none;
    animation: guf-stepIn 0.4s var(--guf-ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}
.guf-step.is-active { display: block; }

@keyframes guf-stepIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.guf-enhanced .guf-step__header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--guf-line, #E7E5E1);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1.5rem;
    align-items: baseline;
}

.guf-enhanced .guf-step__number {
    font-family: var(--guf-serif, "Fraunces", Georgia, "Times New Roman", serif);
    font-size: 3.25rem;
    font-weight: 400;
    color: var(--guf-red, #C00A26);
    line-height: 1;
    letter-spacing: -0.04em;
    grid-row: span 3;
    align-self: start;
    margin-top: -0.05em;
}

.guf-enhanced .guf-step__eyebrow {
    font-family: var(--guf-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--guf-muted, #6B7280);
    line-height: 1;
    margin-bottom: 0.5rem;
    grid-column: 2;
}

.guf-enhanced .guf-step__title {
    font-family: var(--guf-serif, "Fraunces", Georgia, "Times New Roman", serif) !important;
    font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
    font-weight: 400 !important;
    color: var(--guf-ink, #16181D) !important;
    margin: 0 0 0.5rem !important;
    letter-spacing: -0.025em;
    line-height: 1.1;
    grid-column: 2;
}

.guf-enhanced .guf-step__description {
    color: var(--guf-ink-soft, #2B2E36);
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 55ch;
    grid-column: 2;
}

.guf-enhanced .guf-step__fields {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.guf-enhanced .gsection.guf-consumed { display: none !important; }

.guf-enhanced .gsection.guf-section-heading .gsection_title {
    font-family: var(--guf-serif, "Fraunces", Georgia, "Times New Roman", serif);
    font-size: 1.5rem;
    color: var(--guf-red, #C00A26);
    margin: 0 0 0.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}
.guf-enhanced .gsection.guf-section-heading .gsection_description {
    color: var(--guf-ink-soft, #2B2E36);
    font-size: 0.9375rem;
}

/* ==========================================================================
   FIELDS — high-specificity override of gravity-theme
   ========================================================================== */

.guf-enhanced .gform_wrapper .gfield,
.guf-enhanced .gfield {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Labels — override gravity-theme */
.guf-enhanced .gform_wrapper .gfield_label,
.guf-enhanced .gfield_label {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35em;
    font-family: var(--guf-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;
    font-weight: 600 !important;
    color: var(--guf-ink, #16181D) !important;
    font-size: 0.9375rem !important;
    margin-bottom: 0.625rem !important;
    letter-spacing: -0.005em;
    line-height: 1.4 !important;
    padding: 0 !important;
    text-transform: none !important;
}

/* Required — small red dot right next to the label word. No margin, no gap fights. */
.guf-enhanced .gform_wrapper .gfield_required,
.guf-enhanced .gfield_required {
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    background: var(--guf-red, #C00A26) !important;
    border-radius: 50% !important;
    margin: 0 !important;
    color: transparent !important;
    overflow: hidden !important;
    font-size: 0 !important;
    text-indent: -9999px !important;
    flex-shrink: 0;
    vertical-align: middle;
    position: relative;
    padding: 0 !important;
    line-height: 1 !important;
}
.guf-enhanced .gfield_required .gfield_required_text,
.guf-enhanced .gfield_required_asterisk,
.guf-enhanced .gfield_required_text {
    display: none !important;
    color: transparent !important;
    font-size: 0 !important;
}

/* Text-like inputs — key selectors with !important */
.guf-enhanced .gform_wrapper input[type="text"],
.guf-enhanced .gform_wrapper input[type="email"],
.guf-enhanced .gform_wrapper input[type="number"],
.guf-enhanced .gform_wrapper input[type="tel"],
.guf-enhanced .gform_wrapper input[type="url"],
.guf-enhanced .gform_wrapper input[type="date"],
.guf-enhanced .gform_wrapper select,
.guf-enhanced .gform_wrapper textarea,
.guf-enhanced input[type="text"],
.guf-enhanced input[type="email"],
.guf-enhanced input[type="number"],
.guf-enhanced input[type="tel"],
.guf-enhanced input[type="url"],
.guf-enhanced input[type="date"],
.guf-enhanced select,
.guf-enhanced textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.9375rem 1rem !important;
    font-family: var(--guf-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
    color: var(--guf-ink, #16181D) !important;
    background: var(--guf-white, #FFFFFF) !important;
    background-color: var(--guf-white, #FFFFFF) !important;
    border: 1px solid var(--guf-line-strong, #D9D6D0) !important;
    border-radius: var(--guf-radius, 6px) !important;
    transition: all 0.2s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
}

/* Select chevron */
.guf-enhanced select,
.guf-enhanced .gform_wrapper select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236B7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1.125rem !important;
    padding-right: 2.75rem !important;
    cursor: pointer;
}

.guf-enhanced textarea,
.guf-enhanced .gform_wrapper textarea {
    min-height: 128px !important;
    resize: vertical;
    line-height: 1.55 !important;
}

.guf-enhanced input::placeholder,
.guf-enhanced textarea::placeholder {
    color: var(--guf-muted, #6B7280);
    opacity: 0.7;
}

/* Autofill fix */
.guf-enhanced input:-webkit-autofill,
.guf-enhanced input:-webkit-autofill:hover,
.guf-enhanced input:-webkit-autofill:focus,
.guf-enhanced textarea:-webkit-autofill,
.guf-enhanced select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--guf-white, #FFFFFF) inset !important;
    -webkit-text-fill-color: var(--guf-ink, #16181D) !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* Hover */
.guf-enhanced input:hover:not(:focus):not(:disabled),
.guf-enhanced select:hover:not(:focus):not(:disabled),
.guf-enhanced textarea:hover:not(:focus):not(:disabled) {
    border-color: var(--guf-ink, #16181D) !important;
}

/* Focus */
.guf-enhanced input:focus,
.guf-enhanced select:focus,
.guf-enhanced textarea:focus {
    outline: none !important;
    border-color: var(--guf-red, #C00A26) !important;
    box-shadow: 0 0 0 4px var(--guf-red-tint, #FDECEE) !important;
}

/* Descriptions */
.guf-enhanced .gfield_description,
.guf-enhanced .gform_wrapper .gfield_description {
    font-size: 0.8125rem !important;
    color: var(--guf-muted, #6B7280) !important;
    margin-top: 0.5rem !important;
    line-height: 1.55 !important;
    padding: 0 !important;
}

/* ==========================================================================
   Ginput container reset — GF wraps inputs in .ginput_container which
   sometimes gets styling; make sure it's neutral.
   ========================================================================== */

.guf-enhanced .ginput_container,
.guf-enhanced .ginput_container_text,
.guf-enhanced .ginput_container_email,
.guf-enhanced .ginput_container_number,
.guf-enhanced .ginput_container_date,
.guf-enhanced .ginput_container_select,
.guf-enhanced .ginput_container_textarea,
.guf-enhanced .ginput_container_radio,
.guf-enhanced .ginput_container_checkbox,
.guf-enhanced .ginput_container_name {
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* ==========================================================================
   Validation states
   ========================================================================== */

.guf-enhanced .gfield.is-valid input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.guf-enhanced .gfield.is-valid select,
.guf-enhanced .gfield.is-valid textarea {
    border-color: var(--guf-success, #167A4A) !important;
    padding-right: 2.75rem !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23167A4A'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1.125rem !important;
}

.guf-enhanced .gfield.is-invalid input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.guf-enhanced .gfield.is-invalid select,
.guf-enhanced .gfield.is-invalid textarea {
    border-color: var(--guf-error, #C00A26) !important;
    background-color: var(--guf-error-tint, #FEF2F2) !important;
}

.guf-enhanced .gfield.is-validating input,
.guf-enhanced .gfield.is-validating select {
    padding-right: 2.75rem !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7' fill='none' stroke='%236B7280' stroke-width='2' stroke-dasharray='30 20' opacity='0.6'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 10 10' to='360 10 10' dur='0.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1.125rem !important;
}

/* Inline feedback */
.guf-enhanced .guf-field-feedback {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    animation: guf-slideDown 0.2s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
    line-height: 1.5;
}

.guf-enhanced .guf-field-feedback::before {
    content: '';
    flex-shrink: 0;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    background-size: contain;
    background-repeat: no-repeat;
}

.guf-enhanced .guf-field-feedback.is-success { color: var(--guf-success, #167A4A); }
.guf-enhanced .guf-field-feedback.is-success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23167A4A'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.guf-enhanced .guf-field-feedback.is-error {
    color: var(--guf-error, #C00A26);
    font-weight: 500;
}
.guf-enhanced .guf-field-feedback.is-error::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23C00A26'%3E%3Cpath fill-rule='evenodd' d='M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

@keyframes guf-slideDown {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Radio & Checkbox — override GF layout
   ========================================================================== */

.guf-enhanced .gfield_radio,
.guf-enhanced .gfield_checkbox,
.guf-enhanced .gform_wrapper .gfield_radio,
.guf-enhanced .gform_wrapper .gfield_checkbox {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    grid-template-columns: none !important;
}

.guf-enhanced .gfield_radio .gchoice,
.guf-enhanced .gfield_checkbox .gchoice {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: block !important;
}

.guf-enhanced .gfield_radio input[type="radio"],
.guf-enhanced .gfield_checkbox input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    left: -9999px !important;
}

.guf-enhanced .gfield_radio label,
.guf-enhanced .gfield_checkbox label,
.guf-enhanced .gfield_radio .gchoice label,
.guf-enhanced .gfield_checkbox .gchoice label {
    display: flex !important;
    align-items: center !important;
    gap: 0.875rem !important;
    padding: 1rem 1.125rem !important;
    background: var(--guf-white, #FFFFFF) !important;
    border: 1px solid var(--guf-line-strong, #D9D6D0) !important;
    border-radius: var(--guf-radius, 6px) !important;
    cursor: pointer !important;
    transition: all 0.15s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
    font-weight: 400 !important;
    color: var(--guf-ink, #16181D) !important;
    line-height: 1.4 !important;
    font-size: 0.9375rem !important;
    font-family: var(--guf-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: -0.005em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.guf-enhanced .gfield_radio label::before,
.guf-enhanced .gfield_checkbox label::before {
    content: '' !important;
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
    border: 1.5px solid var(--guf-line-strong, #D9D6D0) !important;
    background: var(--guf-white, #FFFFFF) !important;
    transition: all 0.15s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
    display: block !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
}

.guf-enhanced .gfield_radio label::before    { border-radius: 50% !important; }
.guf-enhanced .gfield_checkbox label::before { border-radius: 4px !important; }

.guf-enhanced .gfield_radio label:hover,
.guf-enhanced .gfield_checkbox label:hover {
    border-color: var(--guf-red, #C00A26) !important;
    background: rgba(253, 236, 238, 0.5) !important;
}

.guf-enhanced .gfield_radio input:checked + label,
.guf-enhanced .gfield_checkbox input:checked + label {
    border-color: var(--guf-red, #C00A26) !important;
    background: var(--guf-red-tint, #FDECEE) !important;
    font-weight: 600 !important;
    box-shadow: inset 0 0 0 1px var(--guf-red, #C00A26) !important;
}

.guf-enhanced .gfield_radio input:checked + label::before {
    border-color: var(--guf-red, #C00A26) !important;
    background: var(--guf-red, #C00A26) !important;
    box-shadow: inset 0 0 0 4px var(--guf-white, #FFFFFF) !important;
}

.guf-enhanced .gfield_checkbox input:checked + label::before {
    border-color: var(--guf-red, #C00A26) !important;
    background-color: var(--guf-red, #C00A26) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
    background-size: 14px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.guf-enhanced .gfield_radio input:focus-visible + label,
.guf-enhanced .gfield_checkbox input:focus-visible + label {
    box-shadow: 0 0 0 4px var(--guf-red-tint, #FDECEE) !important;
    border-color: var(--guf-red, #C00A26) !important;
}

/* Gender: a compact three-way choice, styled as editorial GUF option cards. */
.guf-enhanced .gfield[data-guf-field="gender"] .gfield_radio,
.guf-enhanced .gform_wrapper .gfield[data-guf-field="gender"] .gfield_radio {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    width: 100% !important;
}

.guf-enhanced .gfield[data-guf-field="gender"] .gchoice {
    display: block !important;
    min-width: 0 !important;
}

.guf-enhanced .gfield[data-guf-field="gender"] .gchoice label {
    justify-content: center !important;
    min-height: 62px !important;
    padding: 0.875rem 1rem !important;
    gap: 0.625rem !important;
    border-color: var(--guf-line, #E7E5E1) !important;
    border-radius: var(--guf-radius, 6px) !important;
    background: var(--guf-paper, #FBFAF7) !important;
    box-shadow: var(--guf-shadow-xs, 0 1px 2px rgba(22, 24, 29, 0.04)) !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.005em !important;
}

.guf-enhanced .gfield[data-guf-field="gender"] .gchoice label::before {
    width: 18px !important;
    height: 18px !important;
    border-width: 1.5px !important;
}

.guf-enhanced .gfield[data-guf-field="gender"] .gchoice label:hover {
    border-color: var(--guf-red, #C00A26) !important;
    background: var(--guf-red-tint, #FDECEE) !important;
    transform: translateY(-1px);
    box-shadow: var(--guf-shadow-sm, 0 1px 3px rgba(22, 24, 29, 0.06), 0 1px 2px rgba(22, 24, 29, 0.04)) !important;
}

.guf-enhanced .gfield[data-guf-field="gender"] input[type="radio"]:checked + label {
    color: var(--guf-red-dark, #8B0620) !important;
    border-color: var(--guf-red, #C00A26) !important;
    background: var(--guf-red-tint, #FDECEE) !important;
    box-shadow: inset 0 3px 0 var(--guf-red, #C00A26), var(--guf-shadow-xs, 0 1px 2px rgba(22, 24, 29, 0.04)) !important;
}

.guf-enhanced .gfield[data-guf-field="gender"] input[type="radio"]:checked + label::before {
    box-shadow: inset 0 0 0 3px var(--guf-white, #FFFFFF) !important;
}

@media (max-width: 420px) {
    .guf-enhanced .gfield[data-guf-field="gender"] .gfield_radio,
    .guf-enhanced .gform_wrapper .gfield[data-guf-field="gender"] .gfield_radio {
        gap: 0.5rem !important;
    }

    .guf-enhanced .gfield[data-guf-field="gender"] .gchoice label {
        min-height: 56px !important;
        padding: 0.75rem 0.5rem !important;
        gap: 0.45rem !important;
        font-size: 0.8125rem !important;
    }
}

/* ==========================================================================
   File uploads
   ========================================================================== */

.guf-enhanced .ginput_container_fileupload {
    position: relative;
}

.guf-enhanced input[type="file"] {
    position: absolute !important;
    opacity: 0 !important;
    inset: 0 !important;
    cursor: pointer !important;
    z-index: 2 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: none !important;
}

.guf-enhanced .ginput_container_fileupload::before {
    content: 'Klik of sleep een bestand hierheen';
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    padding: 1.5rem;
    background: var(--guf-paper, #FBFAF7);
    border: 1.5px dashed var(--guf-line-strong, #D9D6D0);
    border-radius: var(--guf-radius, 6px);
    color: var(--guf-muted, #6B7280);
    font-weight: 500;
    font-size: 0.9375rem;
    text-align: center;
    transition: all 0.15s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4M17 8l-5-5-5 5M12 3v12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center top 1.25rem;
    padding-top: 3.25rem;
}

.guf-enhanced .ginput_container_fileupload:hover::before {
    border-color: var(--guf-red, #C00A26);
    background-color: var(--guf-red-tint, #FDECEE);
    color: var(--guf-red-dark, #8B0620);
}

.guf-enhanced .gfield.has-file .ginput_container_fileupload::before {
    display: none;
}
.guf-enhanced .gfield.has-file .ginput_container_fileupload {
    min-height: 0;
    background: transparent;
    border: none;
    padding: 0;
}

.guf-enhanced .gform_fileupload_rules,
.guf-enhanced .ginput_preview {
    font-size: 0.8125rem;
    color: var(--guf-muted, #6B7280);
    margin-top: 0.5rem;
}

/* ==========================================================================
   Navigation buttons
   ========================================================================== */

.guf-enhanced .guf-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 2.5rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid var(--guf-line, #E7E5E1) !important;
    gap: 1rem !important;
}

.guf-enhanced .guf-nav__btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.9375rem 1.5rem !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    border: 1px solid transparent !important;
    border-radius: var(--guf-radius, 6px) !important;
    cursor: pointer !important;
    transition: all 0.2s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
    background: transparent !important;
    color: var(--guf-ink, #16181D) !important;
    line-height: 1 !important;
    font-family: var(--guf-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;
    letter-spacing: -0.005em;
    box-shadow: none;
}

.guf-enhanced .guf-nav__btn--prev {
    color: var(--guf-muted, #6B7280) !important;
    padding-left: 0 !important;
}
.guf-enhanced .guf-nav__btn--prev:hover {
    color: var(--guf-ink, #16181D) !important;
}
.guf-enhanced .guf-nav__btn--prev::before {
    content: '←';
    font-size: 1.125rem;
    line-height: 1;
    transition: transform 0.2s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
}

.guf-enhanced .guf-nav__btn--next {
    background: var(--guf-red, #C00A26) !important;
    color: var(--guf-white, #FFFFFF) !important;
    border-color: var(--guf-red, #C00A26) !important;
    padding: 1rem 2rem !important;
    box-shadow: 0 4px 14px -4px rgba(192, 10, 38, 0.4) !important;
}
.guf-enhanced .guf-nav__btn--next:hover {
    background: var(--guf-red-dark, #8B0620) !important;
    border-color: var(--guf-red-dark, #8B0620) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px rgba(192, 10, 38, 0.45) !important;
}
.guf-enhanced .guf-nav__btn--next::after {
    content: '→';
    font-size: 1.125rem;
    line-height: 1;
    transition: transform 0.2s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
}
.guf-enhanced .guf-nav__btn--next:hover::after {
    transform: translateX(2px);
}

.guf-enhanced .guf-nav__btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Verbergt de Volgende-knop op de laatste stap.
   Wordt door JS toegevoegd; overschrijft de display: inline-flex !important
   op .guf-nav__btn zonder de basis-styling aan te tasten. */
.guf-enhanced .guf-nav__btn.is-hidden {
    display: none !important;
}

/* Submit button — only shown on last step */
.guf-enhanced .gform_footer {
    padding: 0 !important;
    margin: 0 !important;
    display: none !important;
}
/* Op de laatste stap tonen we de footer default (voor als de nav niet bestaat,
   bijv. een single-step formulier zonder wizard). */
.guf-enhanced.is-last-step .gform_footer {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 2.5rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid var(--guf-line, #E7E5E1) !important;
}
/* Zodra de JS de submit naar de nav heeft verplaatst (multi-step wizard),
   verbergen we de footer weer, anders krijg je een lege gestreepte footer
   onder de card. */
.guf-enhanced.has-inline-submit .gform_footer {
    display: none !important;
}

/* Op de laatste stap: nav bevat Prev + Submit naast elkaar, dus zorg dat
   space-between blijft werken en dat er geen dubbele border-top verschijnt. */
.guf-enhanced .guf-nav.guf-nav--has-submit {
    justify-content: space-between !important;
}

.guf-enhanced .gform_button,
.guf-enhanced .gform_wrapper .gform_button {
    background: var(--guf-red, #C00A26) !important;
    color: var(--guf-white, #FFFFFF) !important;
    border: none !important;
    padding: 1rem 2.25rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: var(--guf-radius, 6px) !important;
    cursor: pointer !important;
    transition: all 0.2s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
    box-shadow: 0 4px 14px -4px rgba(192, 10, 38, 0.4) !important;
    font-family: var(--guf-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    letter-spacing: -0.005em;
    text-transform: none !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
}
.guf-enhanced .gform_button::after {
    content: '→';
    font-size: 1.125rem;
    transition: transform 0.2s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
}
.guf-enhanced .gform_button:hover {
    background: var(--guf-red-dark, #8B0620) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px rgba(192, 10, 38, 0.5) !important;
}
.guf-enhanced .gform_button:hover::after {
    transform: translateX(3px);
}

.guf-enhanced.is-submitting .gform_button {
    opacity: 0.7 !important;
    cursor: wait !important;
    pointer-events: none !important;
}

/* ==========================================================================
   Cost calculator, errors, autosave — unchanged from v0.3
   ========================================================================== */

.guf-enhanced .guf-calculator {
    margin-top: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--guf-red-tint, #FDECEE) 0%, rgba(253, 236, 238, 0.4) 100%);
    border: 1px solid rgba(192, 10, 38, 0.2);
    border-radius: var(--guf-radius, 6px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: guf-slideDown 0.3s var(--guf-ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}
.guf-enhanced .guf-calculator__label {
    font-weight: 500;
    color: var(--guf-ink, #16181D);
    font-size: 0.9375rem;
}
.guf-enhanced .guf-calculator__amount {
    font-family: var(--guf-serif, "Fraunces", Georgia, "Times New Roman", serif);
    font-size: 1.625rem;
    font-weight: 500;
    color: var(--guf-red, #C00A26);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.guf-enhanced .validation_error,
.guf-enhanced .gform_validation_errors {
    background: var(--guf-error-tint, #FEF2F2) !important;
    border: 1px solid #FCA5A5 !important;
    border-left: 3px solid var(--guf-error, #C00A26) !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 1.5rem !important;
    border-radius: var(--guf-radius, 6px) !important;
    color: var(--guf-red-dark, #8B0620) !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
}

.guf-enhanced .gfield_error input,
.guf-enhanced .gfield_error select,
.guf-enhanced .gfield_error textarea {
    border-color: var(--guf-error, #C00A26) !important;
    background: var(--guf-error-tint, #FEF2F2) !important;
}

.guf-enhanced .validation_message {
    color: var(--guf-error, #C00A26) !important;
    font-size: 0.8125rem !important;
    margin-top: 0.5rem !important;
    font-weight: 600 !important;
}

.gform_confirmation_wrapper .gform_confirmation_message {
    background: var(--guf-success-tint, #E6F4EC);
    border: 1px solid #86EFAC;
    border-left: 3px solid var(--guf-success, #167A4A);
    padding: 2rem 2.25rem;
    border-radius: var(--guf-radius-lg, 12px);
    color: var(--guf-ink, #16181D);
    box-shadow: var(--guf-shadow-sm, 0 1px 3px rgba(22, 24, 29, 0.06), 0 1px 2px rgba(22, 24, 29, 0.04));
    font-size: 1rem;
    animation: guf-stepIn 0.5s var(--guf-ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

/* Autosave, restore, previews, toast */
.guf-autosave {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--guf-ink, #16181D);
    color: white;
    padding: 0.625rem 1rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(22, 24, 29, 0.15);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s var(--guf-ease-out, cubic-bezier(0.16, 1, 0.3, 1));
    pointer-events: none;
    z-index: 999;
    font-family: var(--guf-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
}
.guf-autosave.is-visible { opacity: 1; transform: translateY(0); }
.guf-autosave__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: var(--guf-success, #167A4A);
    color: white;
    border-radius: 50%;
    font-size: 0.6875rem;
    font-weight: 700;
}

.guf-restore-banner {
    background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
    border: 1px solid #FCD34D;
    border-left: 3px solid #F59E0B;
    border-radius: var(--guf-radius-lg, 12px);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: guf-stepIn 0.4s var(--guf-ease-out, cubic-bezier(0.16, 1, 0.3, 1));
    font-family: var(--guf-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
}
.guf-restore-banner__content { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; min-width: 200px; }
.guf-restore-banner__content strong { color: #78350F; font-size: 0.9375rem; font-weight: 600; }
.guf-restore-banner__content span { font-size: 0.8125rem; color: #92400E; }
.guf-restore-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.guf-btn-ghost, .guf-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--guf-radius, 6px);
    cursor: pointer;
    transition: all 0.15s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
    border: 1px solid transparent;
    font-family: inherit;
    line-height: 1;
}
.guf-btn-ghost { background: transparent; color: #78350F; border-color: #FCD34D; }
.guf-btn-ghost:hover { background: rgba(120, 53, 15, 0.05); border-color: #F59E0B; }
.guf-btn-primary { background: #F59E0B; color: white; border-color: #F59E0B; }
.guf-btn-primary:hover { background: #D97706; border-color: #D97706; }

.guf-file-preview {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
    background: var(--guf-white, #FFFFFF);
    border: 1px solid var(--guf-success, #167A4A);
    border-radius: var(--guf-radius, 6px);
    animation: guf-slideDown 0.25s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
}
.guf-file-preview__thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; flex-shrink: 0; background: var(--guf-cream, #F4F1EA); }
.guf-file-preview__icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--guf-red-tint, #FDECEE); color: var(--guf-red, #C00A26);
    border-radius: 4px; flex-shrink: 0; font-size: 1.5rem;
}
.guf-file-preview__meta { display: flex; flex-direction: column; gap: 0.125rem; flex: 1; min-width: 0; overflow: hidden; }
.guf-file-preview__name { font-weight: 600; color: var(--guf-ink, #16181D); font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guf-file-preview__size { font-size: 0.75rem; color: var(--guf-muted, #6B7280); font-variant-numeric: tabular-nums; }
.guf-file-preview__remove {
    background: transparent; border: none;
    color: var(--guf-muted, #6B7280); font-size: 0.8125rem; font-weight: 600;
    padding: 0.5rem 0.75rem; cursor: pointer;
    border-radius: var(--guf-radius, 6px);
    transition: all 0.15s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
    flex-shrink: 0; font-family: inherit;
}
.guf-file-preview__remove:hover { color: var(--guf-red, #C00A26); background: var(--guf-red-tint, #FDECEE); }

.guf-toast {
    position: fixed; bottom: 1.5rem; left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--guf-ink, #16181D); color: white;
    padding: 0.875rem 1.5rem;
    border-radius: var(--guf-radius, 6px);
    font-size: 0.9375rem; font-weight: 500;
    box-shadow: 0 10px 30px rgba(22, 24, 29, 0.2);
    opacity: 0;
    transition: all 0.25s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
    pointer-events: none;
    z-index: 1000; max-width: 90vw; text-align: center;
    font-family: var(--guf-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
}
.guf-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.guf-toast[data-kind="error"] { background: var(--guf-red-dark, #8B0620); box-shadow: 0 10px 30px rgba(192, 10, 38, 0.35); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .guf-enhanced *,
    .guf-enhanced *::before,
    .guf-enhanced *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Date fields — support both native and Gravity Forms datepickers
   ========================================================================== */

/* Modal layer around Gravity Forms' shared jQuery UI datepicker. */
.guf-datepicker-backdrop {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(22, 24, 29, 0.52) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
    z-index: 99998 !important;
    cursor: default;
}

.guf-datepicker-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body > #ui-datepicker-div.guf-datepicker-modal,
body .gform-datepicker-calendar.guf-datepicker-modal {
    position: fixed !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    width: min(23.5rem, calc(100vw - 2rem)) !important;
    max-width: calc(100vw - 2rem) !important;
    margin: 0 !important;
    padding: 1.375rem 1.5rem 1.5rem !important;
    transform: translate(-50%, -50%) !important;
    border: 1px solid var(--guf-line, #E7E5E1) !important;
    border-top: 4px solid var(--guf-red, #C00A26) !important;
    border-radius: var(--guf-radius-lg, 12px) !important;
    background: var(--guf-paper, #FBFAF7) !important;
    box-shadow: var(--guf-shadow-lg, 0 25px 50px -15px rgba(22, 24, 29, 0.15), 0 10px 20px -10px rgba(22, 24, 29, 0.08)) !important;
    z-index: 99999 !important;
}

body.guf-datepicker-is-open {
    overflow: hidden;
}

/* Gravity Forms 3 accessible calendar. Its structural markup is intentionally
   left intact; these rules only provide the GUF visual layer. */
.gform-datepicker-calendar.guf-datepicker-modal,
.gform-datepicker-calendar.guf-datepicker-modal * {
    box-sizing: border-box;
    font-family: var(--guf-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
}

.gform-datepicker-calendar.guf-datepicker-modal::before {
    content: "Kies een datum";
    display: block;
    margin: 0 0 1rem;
    padding: 0 0 0.875rem;
    border-bottom: 1px solid var(--guf-line, #E7E5E1);
    color: var(--guf-ink, #16181D);
    font-family: var(--guf-serif, "Fraunces", Georgia, "Times New Roman", serif);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-optical-sizing: auto;
}

.gform-datepicker-calendar.guf-datepicker-modal > [role="application"] {
    width: 100%;
}

.gform-datepicker-calendar.guf-datepicker-modal table.calendar {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 4px;
    table-layout: fixed;
    color: var(--guf-ink, #16181D);
    background: transparent;
}

.gform-datepicker-calendar.guf-datepicker-modal table.calendar tr,
.gform-datepicker-calendar.guf-datepicker-modal table.calendar td,
.gform-datepicker-calendar.guf-datepicker-modal table.calendar th {
    border: 0;
    background: transparent;
}

.gform-datepicker-calendar.guf-datepicker-modal .yearSelector td,
.gform-datepicker-calendar.guf-datepicker-modal .monthSelector td {
    height: 42px;
    padding: 0;
    vertical-align: middle;
}

.gform-datepicker-calendar.guf-datepicker-modal .yearSelector .year,
.gform-datepicker-calendar.guf-datepicker-modal .monthSelector .month {
    text-align: center;
}

.gform-datepicker-calendar.guf-datepicker-modal select.nav.current {
    width: auto;
    min-width: 7.5rem;
    height: 38px;
    margin: 0;
    padding: 0 2.25rem 0 0.875rem;
    border: 1px solid var(--guf-line, #E7E5E1);
    border-radius: 6px;
    color: var(--guf-ink, #16181D);
    background-color: var(--guf-cream, #F4F1EA);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
}

.gform-datepicker-calendar.guf-datepicker-modal select.nav.current.month {
    min-width: 9rem;
    font-family: var(--guf-serif, "Fraunces", Georgia, "Times New Roman", serif);
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: -0.015em;
}

.gform-datepicker-calendar.guf-datepicker-modal select.nav.current.year {
    color: var(--guf-muted, #6B7280);
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
}

.gform-datepicker-calendar.guf-datepicker-modal select.nav.current:focus-visible {
    border-color: var(--guf-red, #C00A26);
    outline: 3px solid rgba(192, 10, 38, 0.15);
    outline-offset: 1px;
}

.gform-datepicker-calendar.guf-datepicker-modal td.nav.btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--guf-ink, #16181D);
    text-align: center;
    cursor: pointer;
    transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.gform-datepicker-calendar.guf-datepicker-modal td.nav.btn:hover,
.gform-datepicker-calendar.guf-datepicker-modal td.nav.btn:focus-visible {
    color: var(--guf-red, #C00A26);
    background: var(--guf-red-tint, #FDECEE);
    outline: none;
}

.gform-datepicker-calendar.guf-datepicker-modal td.nav.btn:active {
    transform: scale(0.94);
}

.gform-datepicker-calendar.guf-datepicker-modal td.nav.btn span {
    font-size: 0;
}

.gform-datepicker-calendar.guf-datepicker-modal td.nav.prev span::before,
.gform-datepicker-calendar.guf-datepicker-modal td.nav.next span::before {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 38px;
}

.gform-datepicker-calendar.guf-datepicker-modal td.nav.prev span::before {
    content: "‹";
}

.gform-datepicker-calendar.guf-datepicker-modal td.nav.next span::before {
    content: "›";
}

.gform-datepicker-calendar.guf-datepicker-modal th.week {
    height: 34px;
    padding: 8px 0 4px;
    color: var(--guf-red-dark, #8B0620);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gform-datepicker-calendar.guf-datepicker-modal td.day,
.gform-datepicker-calendar.guf-datepicker-modal td.empty {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 38px;
    text-align: center;
}

.gform-datepicker-calendar.guf-datepicker-modal td.day {
    cursor: pointer;
    transition: color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.gform-datepicker-calendar.guf-datepicker-modal td.day:hover,
.gform-datepicker-calendar.guf-datepicker-modal td.day:focus-visible {
    color: var(--guf-red, #C00A26);
    background: var(--guf-red-tint, #FDECEE);
    outline: none;
}

.gform-datepicker-calendar.guf-datepicker-modal td.day:nth-child(6):not(.selected):not(.dayMarked),
.gform-datepicker-calendar.guf-datepicker-modal td.day:nth-child(7):not(.selected):not(.dayMarked) {
    color: var(--guf-muted, #6B7280);
}

.gform-datepicker-calendar.guf-datepicker-modal td.day:active {
    transform: scale(0.92);
}

.gform-datepicker-calendar.guf-datepicker-modal td.dayToday:not(.selected) {
    box-shadow: inset 0 0 0 1px var(--guf-red, #C00A26);
}

.gform-datepicker-calendar.guf-datepicker-modal td.day.selected,
.gform-datepicker-calendar.guf-datepicker-modal td.day.dayMarked {
    color: #FFFFFF !important;
    background: var(--guf-red, #C00A26) !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(192, 10, 38, 0.24) !important;
}

.gform-datepicker-calendar.guf-datepicker-modal td.day.disabled {
    color: #B8B6B1;
    background: transparent;
    cursor: not-allowed;
    box-shadow: none;
}

/* Keep the keyboard instructions available to assistive technology without
   rendering the duplicated English help sentence in the visual calendar. */
.gform-datepicker-calendar.guf-datepicker-modal .monthMessage {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 420px) {
    body .gform-datepicker-calendar.guf-datepicker-modal {
        width: calc(100vw - 1rem) !important;
        max-width: calc(100vw - 1rem) !important;
        padding: 0.75rem !important;
    }

    .gform-datepicker-calendar.guf-datepicker-modal table.calendar {
        border-spacing: 2px;
    }
}

/* Gravity Forms uses a text input plus a jQuery UI trigger in several date-field
   modes. Keep that trigger visible and clickable; it is functional UI, not chrome. */
.guf-enhanced img.ui-datepicker-trigger,
.guf-enhanced button.ui-datepicker-trigger,
.guf-enhanced img.gform-datepicker,
.guf-enhanced button.gform-datepicker,
.guf-enhanced img.gform_datepicker_icon,
.guf-enhanced button.gform_datepicker_icon,
.guf-enhanced .gform-icon--datepicker {
    display: inline-block !important;
    visibility: visible !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    margin-left: 0.625rem !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: static !important;
    cursor: pointer !important;
    flex: 0 0 auto !important;
}

/* Container: block level, positioned for icon placement */
.guf-enhanced .ginput_container_date {
    position: relative;
}

/* A single GF datepicker is an input and trigger side by side. */
.guf-enhanced .ginput_container_date:has(> input.datepicker),
.guf-enhanced .ginput_container_date:has(> input.hasDatepicker) {
    display: flex !important;
    align-items: center !important;
}

.guf-enhanced .ginput_container_date > input.datepicker,
.guf-enhanced .ginput_container_date > input.hasDatepicker {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

/* Multi-part date fields (Date Field or Date Dropdown): 3 subfields side by side.
   GF wraps them in .clear-multi (or a similar wrapper) with .gfield_date_month/day/year. */
.guf-enhanced .ginput_container_date .clear-multi,
.guf-enhanced .ginput_container_date > div:has(> .gfield_date_month),
.guf-enhanced .ginput_container_date > div:has(> .gfield_date_dropdown_month) {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.guf-enhanced .gfield_date_month,
.guf-enhanced .gfield_date_day,
.guf-enhanced .gfield_date_year,
.guf-enhanced .gfield_date_dropdown_month,
.guf-enhanced .gfield_date_dropdown_day,
.guf-enhanced .gfield_date_dropdown_year {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Year gets a bit more room (four digits) */
.guf-enhanced .gfield_date_year,
.guf-enhanced .gfield_date_dropdown_year {
    flex: 1.4 1 0 !important;
}

/* Inputs inside subfields: fill their column, centered text, no calendar icon */
.guf-enhanced .gfield_date_month input,
.guf-enhanced .gfield_date_day input,
.guf-enhanced .gfield_date_year input,
.guf-enhanced .gfield_date_dropdown_month select,
.guf-enhanced .gfield_date_dropdown_day select,
.guf-enhanced .gfield_date_dropdown_year select {
    width: 100% !important;
    text-align: center !important;
    background-image: none !important;
    padding-right: 1rem !important;
}

/* Sublabels (DD / MM / YYYY) appear BELOW the input in uppercase muted text */
.guf-enhanced .gfield_date_month > label,
.guf-enhanced .gfield_date_day > label,
.guf-enhanced .gfield_date_year > label,
.guf-enhanced .gfield_date_dropdown_month > label,
.guf-enhanced .gfield_date_dropdown_day > label,
.guf-enhanced .gfield_date_dropdown_year > label {
    order: 2 !important;
    text-align: center !important;
    display: block !important;
    font-family: var(--guf-sans, "Inter", -apple-system, sans-serif) !important;
    font-size: 0.6875rem !important;
    color: var(--guf-muted, #6B7280) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    margin: 0.5rem 0 0 !important;
    padding: 0 !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

/* Style ONLY single-input date fields with the calendar icon —
   not the multi-part subfields above. */
.guf-enhanced input[type="date"] {
    padding-right: 2.75rem !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.875rem center !important;
    background-size: 1.125rem !important;
}

/* Native Chrome/Safari date picker: expand clickable area, keep invisible */
.guf-enhanced input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
    opacity: 0;
}
.guf-enhanced input[type="date"]::-webkit-inner-spin-button,
.guf-enhanced input[type="date"]::-webkit-clear-button {
    display: none;
}

/* Valid: green checkmark replaces the calendar icon on single-input date fields */
.guf-enhanced .gfield.is-valid input[type="date"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23167A4A'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
}

/* ==========================================================================
   IBAN field — extra polish
   Live formatting adds spaces, gets monospace-ish tabular for readability
   ========================================================================== */

.guf-enhanced .gfield[data-guf-field="iban"] input[type="text"],
.guf-enhanced .gfield[data-guf-field="iban"] input[type="email"] {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
    font-size: 1.0625rem !important;
    text-transform: uppercase;
}

.guf-enhanced .guf-field-feedback.is-info-bank {
    color: var(--guf-ink-soft, #2B2E36);
}
.guf-enhanced .guf-field-feedback.is-info-bank::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23C00A26'%3E%3Cpath d='M4 8h12v8H4z'/%3E%3Cpath fill-rule='evenodd' d='M10 2L2 6v1h16V6l-8-4zm-5 14h10v1H5v-1z'/%3E%3C/svg%3E");
}
.guf-enhanced .guf-field-feedback.is-info-bank strong {
    color: var(--guf-red, #C00A26);
    font-weight: 600;
}

/* ------------------------------------------------------------------
   Foutoverzicht per stap (v0.6.0)
   ------------------------------------------------------------------ */
.guf-enhanced .guf-error-summary {
    background: var(--guf-error-tint, #FEF2F2);
    border: 1px solid #FCA5A5;
    border-left: 3px solid var(--guf-error, #C00A26);
    border-radius: var(--guf-radius, 6px);
    padding: 1rem 1.25rem;
    margin: 0 0 1.5rem;
    outline: none;
}
.guf-enhanced .guf-error-summary__title {
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: var(--guf-red-dark, #8B0620);
    font-size: 0.9375rem;
}
.guf-enhanced .guf-error-summary ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.guf-enhanced .guf-error-summary li + li { margin-top: 0.25rem; }
.guf-enhanced .guf-error-summary__link {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    align-items: baseline;
    width: 100%;
    background: none;
    border: 0;
    padding: 0.25rem 0;
    text-align: left;
    font: inherit;
    font-size: 0.875rem;
    color: var(--guf-ink, #16181D);
    cursor: pointer;
}
.guf-enhanced .guf-error-summary__link strong {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.guf-enhanced .guf-error-summary__link span { color: var(--guf-red-dark, #8B0620); }
.guf-enhanced .guf-error-summary__link:hover strong,
.guf-enhanced .guf-error-summary__link:focus-visible strong { color: var(--guf-red, #C00A26); }
.guf-enhanced .guf-error-summary__step {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--guf-red, #C00A26) !important;
}

/* Stap met fouten in de voortgangsbalk. */
.guf-enhanced .guf-progress__dot.has-error .guf-progress__dot__number {
    background: var(--guf-error, #C00A26) !important;
    border-color: var(--guf-error, #C00A26) !important;
    color: #FFF !important;
}
.guf-enhanced .guf-progress__dot.has-error .guf-progress__dot__label { color: var(--guf-error, #C00A26); }

/* Na indienen met fouten: ons overzicht vervangt de algemene melding van
   Gravity Forms, en de losse GF-meldingen staan al bij het veld. */
.guf-enhanced.has-gf-errors .gform_validation_errors { display: none !important; }
.guf-enhanced .gfield.guf-has-step-error .guf-gf-message { display: none !important; }


/* ==========================================================================
   Eerder geupload bestand (na een fout of terugkeer naar een stap)
   ========================================================================== */
.guf-enhanced .gfield.has-existing-file input[type="file"] { display: none !important; }
.guf-enhanced .gfield.has-existing-file .gform_fileupload_rules { display: none; }
.guf-enhanced .ginput_preview_list { margin-top: 0.75rem; }
.guf-enhanced .ginput_preview {
    position: relative; z-index: 3;
    display: flex; align-items: center; gap: 0.875rem;
    padding: 0.75rem 1rem; margin: 0 0 0.5rem;
    background: var(--guf-white, #FFFFFF);
    border: 1px solid var(--guf-success, #167A4A);
    border-radius: var(--guf-radius, 6px);
    font-size: 0.875rem; color: var(--guf-ink, #16181D);
}
.guf-enhanced .ginput_preview::before {
    content: '📄';
    width: 44px; height: 44px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--guf-red-tint, #FDECEE); border-radius: 4px; font-size: 1.5rem;
}
.guf-enhanced .ginput_preview .gfield_fileupload_filename { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guf-enhanced .ginput_preview .gfield_fileupload_progress { display: none; }
.guf-enhanced .ginput_preview .gform_delete_file {
    display: inline-flex; align-items: center; gap: 0.375rem;
    background: transparent; border: none; box-shadow: none;
    color: var(--guf-muted, #6B7280); font-family: inherit; font-size: 0.8125rem; font-weight: 600; line-height: 1;
    padding: 0.5rem 0.75rem; cursor: pointer; border-radius: var(--guf-radius, 6px); flex-shrink: 0;
}
.guf-enhanced .ginput_preview .gform_delete_file:hover { color: var(--guf-red, #C00A26); background: var(--guf-red-tint, #FDECEE); }
.guf-enhanced .ginput_preview .gform_delete_file .dashicons { display: none; }
.guf-enhanced .ginput_preview .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ==========================================================================
   Vereniging zoeken (groepsformulier)
   ========================================================================== */
.guf-enhanced .guf-combo { position: relative; }
.guf-enhanced .guf-combo__list {
    position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px);
    margin: 0; padding: 0.25rem; list-style: none;
    max-height: 280px; overflow-y: auto;
    background: var(--guf-white, #FFFFFF);
    border: 1px solid var(--guf-line, #D1D5DB);
    border-radius: var(--guf-radius, 6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.guf-enhanced .guf-combo__option {
    margin: 0; padding: 0.625rem 0.75rem; cursor: pointer;
    border-radius: 4px; font-size: 0.9375rem; line-height: 1.3;
}
.guf-enhanced .guf-combo__option:hover,
.guf-enhanced .guf-combo__option[aria-selected="true"] { background: var(--guf-red-tint, #FDECEE); }
.guf-enhanced .guf-combo__status { margin: 0.375rem 0 0; font-size: 0.8125rem; color: var(--guf-muted, #6B7280); }
.guf-enhanced .guf-combo__status:empty { display: none; }
.guf-enhanced .guf-combo--known .guf-combo__status { color: var(--guf-success, #167A4A); font-weight: 600; }
.guf-enhanced .gfield.guf-hidden-by-picker { display: none !important; }

/* Foutoverzicht: knoppen niet laten opmaken door het thema of Gravity Forms (0.8.0) */
.guf-enhanced .guf-error-summary li { margin: 0; padding: 0; }
.guf-enhanced .guf-error-summary li + li { margin-top: 0 !important; border-top: 1px solid rgba(192, 10, 38, 0.12); }
.guf-enhanced .guf-error-summary button.guf-error-summary__link,
.guf-enhanced .guf-error-summary button.guf-error-summary__link:hover,
.guf-enhanced .guf-error-summary button.guf-error-summary__link:focus {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start !important;
    gap: 0.25rem 0.5rem;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0.5rem 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: inherit !important;
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: var(--guf-ink, #16181D) !important;
    cursor: pointer;
}
.guf-enhanced .guf-error-summary button.guf-error-summary__link strong {
    font-weight: 600 !important;
    color: var(--guf-ink, #16181D) !important;
    text-decoration: underline;
    text-decoration-color: rgba(22, 24, 29, 0.35);
    text-underline-offset: 3px;
}
.guf-enhanced .guf-error-summary button.guf-error-summary__link span:not(.guf-error-summary__step) { color: var(--guf-red-dark, #8B0620) !important; }
.guf-enhanced .guf-error-summary button.guf-error-summary__link:hover strong,
.guf-enhanced .guf-error-summary button.guf-error-summary__link:focus-visible strong { color: var(--guf-red, #C00A26) !important; text-decoration-color: currentColor; }
.guf-enhanced .guf-error-summary button.guf-error-summary__link:focus-visible { outline: 2px solid var(--guf-red, #C00A26) !important; outline-offset: 2px; }

/* ==========================================================================
   Navigatieknoppen: Vorige stap als nette secundaire knop (0.9.3)
   Het thema gaf de knop een eigen achtergrond en schaduw en haalde de pijl weg.
   ========================================================================== */
.guf-enhanced .guf-nav .guf-nav__btn {
    min-height: 52px !important;
    padding: 0 1.5rem !important;
    border-radius: 6px !important;
    text-transform: none !important;
    transform: none;
}
.guf-enhanced .guf-nav .guf-nav__btn--prev {
    background: var(--guf-white, #FFFFFF) !important;
    color: var(--guf-ink, #16181D) !important;
    border: 1px solid var(--guf-line-strong, #D1D5DB) !important;
    box-shadow: none !important;
    padding: 0 1.5rem !important;
}
.guf-enhanced .guf-nav .guf-nav__btn--prev:hover,
.guf-enhanced .guf-nav .guf-nav__btn--prev:focus-visible {
    background: var(--guf-bg-soft, #F7F5F1) !important;
    border-color: var(--guf-ink, #16181D) !important;
    color: var(--guf-ink, #16181D) !important;
}
.guf-enhanced .guf-nav .guf-nav__btn--next { padding: 0 2rem !important; }
.guf-enhanced .guf-nav .guf-nav__btn--prev::before,
.guf-enhanced .guf-nav .guf-nav__btn--next::after {
    display: inline-block !important;
    position: static !important;
    font-size: 1.125rem !important;
    line-height: 1 !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
}
.guf-enhanced .guf-nav .guf-nav__btn--prev::before { content: '\2190' !important; }
.guf-enhanced .guf-nav .guf-nav__btn--next::after { content: '\2192' !important; }
.guf-enhanced .guf-nav .guf-nav__btn--prev:hover::before { transform: translateX(-2px); }
.guf-enhanced .guf-nav .guf-nav__btn:focus-visible { outline: 2px solid var(--guf-red, #C00A26) !important; outline-offset: 2px; }

/* Pijltjes als icoon in de knop (0.9.4): het thema kleurde de oude pijl wit. */
.guf-enhanced .guf-nav .guf-nav__btn--prev::before,
.guf-enhanced .guf-nav .guf-nav__btn--next::after { content: none !important; display: none !important; }
.guf-enhanced .guf-nav .guf-nav__icon {
    display: inline-block !important;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    color: inherit !important;
    stroke: currentColor !important;
    fill: none !important;
    transition: transform 0.2s var(--guf-ease, cubic-bezier(0.32, 0.72, 0, 1));
}
.guf-enhanced .guf-nav .guf-nav__icon path { stroke: currentColor !important; fill: none !important; }
.guf-enhanced .guf-nav .guf-nav__btn--prev:hover .guf-nav__icon { transform: translateX(-2px); }
.guf-enhanced .guf-nav .guf-nav__btn--next:hover .guf-nav__icon { transform: translateX(2px); }


/* Vereniging: uitklapknop rechts in het veld (0.9.5) */
.guf-enhanced .guf-combo input[type="text"] { padding-right: 3rem !important; }
/* Vinkje/laad-icoon in het veld schuiven naast de uitklapknop. */
.guf-enhanced .gfield.is-valid .guf-combo__field input[type="text"]:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.guf-enhanced .gfield.is-validating .guf-combo__field input[type="text"]:not([type="file"]):not([type="checkbox"]):not([type="radio"]) {
    padding-right: 5.5rem !important;
    background-position: right 3.75rem center !important;
}
.guf-enhanced .guf-combo__field { position: relative; }
.guf-enhanced .guf-combo .guf-combo__toggle {
    position: absolute !important; top: 1px; right: 1px; bottom: 1px;
    height: auto; width: 3rem;
    display: flex !important; align-items: center; justify-content: center;
    margin: 0 !important; padding: 0 !important;
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    border-left: 1px solid var(--guf-line, #E7E5E1) !important;
    border-radius: 0 5px 5px 0 !important;
    color: var(--guf-muted, #6B7280) !important; cursor: pointer;
}
.guf-enhanced .guf-combo .guf-combo__toggle::before,
.guf-enhanced .guf-combo .guf-combo__toggle::after { content: none !important; }
.guf-enhanced .guf-combo .guf-combo__toggle:hover { color: var(--guf-ink, #16181D) !important; background: var(--guf-bg-soft, #F7F5F1) !important; }
.guf-enhanced .guf-combo .guf-combo__toggle svg { width: 18px; height: 18px; stroke: currentColor !important; fill: none !important; transition: transform 0.15s ease; }
.guf-enhanced .guf-combo[data-open="1"] .guf-combo__toggle svg { transform: rotate(180deg); }
