/** Ninja Forms **/

/* === Only target this specific radio field (ID 102) === */
#nf-field-102-container .nf-field-element ul {
    display: flex;
    justify-content: center;
    gap: 40px;                 /* distance between the two boxes */
    padding: 0;
    margin: 0;
}

#nf-field-102-container .nf-field-element ul li {
    list-style: none!important;
    flex: 1 1 0;
}
#nf-field-238-container .nf-field-element ul li {
    list-style: none!important;
    flex: 1 1 0;
}
/* hide the native radio but keep it accessible */
#nf-field-102-container .nf-field-element input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* the “card” look for each option */
#nf-field-102-container .nf-field-element label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 25px 30px;
    background: #3366b7;          /* blue fill */
    border: 3px solid #f28b1a;    /* orange border */
    border-radius: 32px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

/* line breaks in the second label should not shrink */
#nf-field-102-container .nf-field-element label br {
    display: block;
}

/* hover effect */
#nf-field-102-container .nf-field-element label:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
}

/* checked (selected) state – slightly stronger highlight */
#nf-field-102-container .nf-field-element input[type="radio"]:checked + label {
    box-shadow: 0 0 0 3px rgba(242,139,26,.6);   /* glow in orange */
}

/* responsive: stack below ~600px */
@media (max-width: 600px) {
    #nf-field-102-container .nf-field-element ul {
        flex-direction: column;
        gap: 20px;
    }
}
/* Hide the native radio bubbles for field 102 only */
#nf-field-102-container .list-radio-wrap .nf-field-element li input {
    position: absolute !important;
    left: -9999px !important;   /* move off-screen */
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    float: none !important;
    opacity: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    pointer-events: none !important;
}
/* >>> SELECTED STATE <<< */
/* use both the :checked pseudo-class AND NF's own classes */
#nf-field-102-container .nf-field-element li input[type="radio"]:checked + label,
#nf-field-102-container .nf-field-element li input.nf-checked + label,
#nf-field-102-container .nf-field-element li label.nf-checked-label {
    background: #1f4f93 !important;               /* darker blue */
    border-color: #ffffff !important;             /* white border */
    box-shadow: 0 0 0 3px #f28b1a,
                0 0 12px rgba(0,0,0,.25) !important;
    transform: translateY(-3px) scale(1.03) !important;
}
/* === Only target this specific radio field (ID 102) === */
#nf-field-274-container .nf-field-element ul {
    display: flex;
    justify-content: center;
    gap: 40px;                 /* distance between the two boxes */
    padding: 0;
    margin: 0;
}

#nf-field-274-container .nf-field-element ul li {
    list-style: none!important;
    flex: 1 1 0;
}

/* hide the native radio but keep it accessible */
#nf-field-274-container .nf-field-element input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* the “card” look for each option */
#nf-field-274-container .nf-field-element label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 25px 30px;
    background: #3366b7;          /* blue fill */
    border: 3px solid #f28b1a;    /* orange border */
    border-radius: 32px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

/* line breaks in the second label should not shrink */
#nf-field-274-container .nf-field-element label br {
    display: block;
}

/* hover effect */
#nf-field-274-container .nf-field-element label:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
}

/* checked (selected) state – slightly stronger highlight */
#nf-field-274-container .nf-field-element input[type="radio"]:checked + label {
    box-shadow: 0 0 0 3px rgba(242,139,26,.6);   /* glow in orange */
}

/* responsive: stack below ~600px */
@media (max-width: 600px) {
    #nf-field-274-container .nf-field-element ul {
        flex-direction: column;
        gap: 20px;
    }
}
/* Hide the native radio bubbles for field 102 only */
#nf-field-274-container .list-radio-wrap .nf-field-element li input {
    position: absolute !important;
    left: -9999px !important;   /* move off-screen */
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    float: none !important;
    opacity: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    pointer-events: none !important;
}
/* >>> SELECTED STATE <<< */
/* use both the :checked pseudo-class AND NF's own classes */
#nf-field-274-container .nf-field-element li input[type="radio"]:checked + label,
#nf-field-274-container .nf-field-element li input.nf-checked + label,
#nf-field-274-container .nf-field-element li label.nf-checked-label {
    background: #1f4f93 !important;               /* darker blue */
    border-color: #ffffff !important;             /* white border */
    box-shadow: 0 0 0 3px #f28b1a,
                0 0 12px rgba(0,0,0,.25) !important;
    transform: translateY(-3px) scale(1.03) !important;
}
/*************************************************
 * Ninja Forms – Modern Bootstrap-like Styling
 * (NO layout changes: no flex, no grid, no rows)
 *************************************************/

/* Optional: predictable sizing, safe for most themes */
.nf-form-cont * {
    box-sizing: border-box;
}

/* Labels */
.nf-form-cont .nf-field-label label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #212529;
}

/* Field description / help text */
.nf-form-cont .nf-field-description {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.2rem;
}

/* Text inputs, textarea, selects – Bootstrap-like .form-control */
.nf-form-cont .nf-field-element input[type="text"],
.nf-form-cont .nf-field-element input[type="email"],
.nf-form-cont .nf-field-element input[type="url"],
.nf-form-cont .nf-field-element input[type="tel"],
.nf-form-cont .nf-field-element input[type="number"],
.nf-form-cont .nf-field-element input[type="password"],
.nf-form-cont .nf-field-element input[type="search"],
.nf-form-cont .nf-field-element input[type="date"],
.nf-form-cont .nf-field-element input[type="time"],
.nf-form-cont .nf-field-element input[type="file"],
.nf-form-cont .nf-field-element textarea,
.nf-form-cont .nf-field-element select {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out,
        background-color 0.15s ease-in-out;
}

/* Placeholder color */
.nf-form-cont .nf-field-element input::placeholder,
.nf-form-cont .nf-field-element textarea::placeholder {
    color: #adb5bd;
}

/* Focus state */
.nf-form-cont .nf-field-element input[type="text"]:focus,
.nf-form-cont .nf-field-element input[type="email"]:focus,
.nf-form-cont .nf-field-element input[type="url"]:focus,
.nf-form-cont .nf-field-element input[type="tel"]:focus,
.nf-form-cont .nf-field-element input[type="number"]:focus,
.nf-form-cont .nf-field-element input[type="password"]:focus,
.nf-form-cont .nf-field-element input[type="search"]:focus,
.nf-form-cont .nf-field-element input[type="date"]:focus,
.nf-form-cont .nf-field-element input[type="time"]:focus,
.nf-form-cont .nf-field-element textarea:focus,
.nf-form-cont .nf-field-element select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.25);
}

/* Disabled / read-only */
.nf-form-cont .nf-field-element input[disabled],
.nf-form-cont .nf-field-element textarea[disabled],
.nf-form-cont .nf-field-element select[disabled],
.nf-form-cont .nf-field-element input[readonly],
.nf-form-cont .nf-field-element textarea[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

/* Checkboxes & radios */
/* Don't change layout – just size and typography */
.nf-form-cont .nf-field-element input[type="checkbox"],
.nf-form-cont .nf-field-element input[type="radio"] {
    width: 1rem;
    height: 1rem;
    margin-right: 0.35rem;
}

/* Labels next to checkbox/radio */
.nf-form-cont .nf-field-element .checkbox-wrap label,
.nf-form-cont .nf-field-element .radio-wrap label {
    font-size: 0.9rem;
    font-weight: 400;
    color: #212529;
}

/* Buttons – Bootstrap-like .btn.btn-primary */
.nf-form-cont .submit-wrap .nf-element,
.nf-form-cont input[type="button"].nf-element,
.nf-form-cont input[type="submit"].nf-element {
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: #0d6efd;
    border: 1px solid #0d6efd;
    padding: 0.5rem 1.1rem;
    font-size: 0.95rem;
    border-radius: 0.375rem;
    transition:
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out,
        transform 0.05s ease-in-out;
}

/* Button hover */
.nf-form-cont .submit-wrap .nf-element:hover,
.nf-form-cont input[type="button"].nf-element:hover,
.nf-form-cont input[type="submit"].nf-element:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Button focus */
.nf-form-cont .submit-wrap .nf-element:focus,
.nf-form-cont input[type="button"].nf-element:focus,
.nf-form-cont input[type="submit"].nf-element:focus {
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.5);
}

/* Button active */
.nf-form-cont .submit-wrap .nf-element:active,
.nf-form-cont input[type="button"].nf-element:active,
.nf-form-cont input[type="submit"].nf-element:active {
    transform: translateY(1px);
    background-color: #0a58ca;
    border-color: #0a53be;
}

/* Success message */
.nf-form-cont .nf-response-msg {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.9rem;
}

/* Success style */
.nf-form-cont .nf-response-msg.nf-success-msg {
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
}

/* Top-level error boxes */
.nf-form-cont .nf-error-msg.nf-error-field-errors,
.nf-form-cont .nf-error-msg.nf-error-general {
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
    font-size: 0.9rem;
}

/* Field-level error text */
.nf-form-cont .nf-error-msg {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #dc3545;
}

/* Field with error – red border */
.nf-form-cont .nf-error .nf-element,
.nf-form-cont .nf-error input[type="text"],
.nf-form-cont .nf-error input[type="email"],
.nf-form-cont .nf-error input[type="url"],
.nf-form-cont .nf-error input[type="tel"],
.nf-form-cont .nf-error input[type="number"],
.nf-form-cont .nf-error input[type="password"],
.nf-form-cont .nf-error input[type="search"],
.nf-form-cont .nf-error input[type="date"],
.nf-form-cont .nf-error textarea,
.nf-form-cont .nf-error select {
    border-color: #dc3545;
}

.nf-form-cont .nf-error .nf-element:focus,
.nf-form-cont .nf-error input:focus,
.nf-form-cont .nf-error textarea:focus,
.nf-form-cont .nf-error select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.1rem rgba(220, 53, 69, 0.25);
}

/*************************************************
 * File Upload – Modern Styling
 *************************************************/

/* Card-style container for file upload */
.nf-form-cont .file_upload-container {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
}

/* Label above upload */
.nf-form-cont .file_upload-container .nf-field-label label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #212529;
    margin-bottom: 0.5rem;
}

/* Primary upload button */
.nf-form-cont .nf-fu-fileinput-button {
    display: inline-block;
    border-radius: 0.375rem;
    border: 1px solid #0d6efd;
    background-color: #0d6efd;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.45rem 1.1rem;
    cursor: pointer;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out,
        transform 0.05s ease-in-out;
}

/* Upload button hover / focus / active */
.nf-form-cont .nf-fu-fileinput-button:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
.nf-form-cont .nf-fu-fileinput-button:focus {
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.4);
}
.nf-form-cont .nf-fu-fileinput-button:active {
    transform: translateY(1px);
    background-color: #0a58ca;
    border-color: #0a53be;
}

/* Cancel button – subtle, like outline secondary */
.nf-form-cont .nf-fu-button-cancel {
    display: inline-block;
    margin-left: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    background-color: #ffffff;
    color: #495057;
    font-size: 0.9rem;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    line-height: 1.4;
    transition:
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        color 0.15s ease-in-out;
}

.nf-form-cont .nf-fu-button-cancel:hover {
    background-color: #f1f3f5;
    border-color: #adb5bd;
    color: #212529;
}

.nf-form-cont .nf-fu-button-cancel:focus {
    outline: 0;
    box-shadow: 0 0 0 0.08rem rgba(108, 117, 125, 0.4);
}

/* Progress bar wrapper */
.nf-form-cont .nf-fu-progress {
    margin-top: 0.75rem;
    width: 100%;
    height: 0.4rem;
    border-radius: 999px;
    background-color: #e9ecef;
    overflow: hidden;
}

/* Progress bar itself (width controlled by NF JS) */
.nf-form-cont .nf-fu-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0d6efd, #38bdf8);
    border-radius: inherit;
    transition: width 0.2s ease-out;
}

/* Files list area */
.nf-form-cont .files_uploaded {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: #495057;
}

.nf-form-cont .files_uploaded > * {
    display: block;
    padding: 0.15rem 0;
    border-bottom: 1px dashed #e5e7eb;
}
.nf-form-cont .files_uploaded > *:last-child {
    border-bottom: none;
}

/* Error message under upload */
.nf-form-cont #nf-error-76.nf-error-wrap {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #dc3545;
}

/*************************************************
 * Multi-Part Navigation – Previous / Next Buttons
 *************************************************/

/* Footer area spacing */
.nf-form-cont .nf-mp-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Reset UL style but don't change layout system */
.nf-form-cont .nf-next-previous {
    list-style: none!important;
    margin: 0;
    padding: 0;
    text-align: right;
}

/* List items side by side */
.nf-form-cont .nf-next-previous li {
    display: inline-block;
    margin-left: 0.5rem;
}

/* Base styles for prev/next buttons */
.nf-form-cont .nf-next,
.nf-form-cont .nf-previous {
    border-radius: 999px;
    font-size: 0.9rem;
    padding: 0.45rem 1.1rem;
    cursor: pointer;
    border: 1px solid transparent;
    line-height: 1.4;
    transition:
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out,
        transform 0.05s ease-in-out;
}

/* Previous – light/outline button */
.nf-form-cont .nf-previous {
    background-color: #ffffff;
    color: #495057;
    border-color: #ced4da;
}
.nf-form-cont .nf-previous:hover {
    background-color: #f1f3f5;
    border-color: #adb5bd;
    color: #212529;
}
.nf-form-cont .nf-previous:focus {
    outline: 0;
    box-shadow: 0 0 0 0.08rem rgba(108, 117, 125, 0.4);
}
.nf-form-cont .nf-previous:active {
    transform: translateY(1px);
}

/* Next – primary button */
.nf-form-cont .nf-next {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
    font-weight: 500;
}
.nf-form-cont .nf-next:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
.nf-form-cont .nf-next:focus {
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.4);
}
.nf-form-cont .nf-next:active {
    transform: translateY(1px);
    background-color: #0a58ca;
    border-color: #0a53be;
}
/*************************************************
 * Ninja Forms – Multi-Part Stepper Header
 *************************************************/

/* Header spacing */
.nf-form-cont .nf-mp-header {
    margin-bottom: 1.5rem;
}

/* Progress bar background & filled bar */
.nf-form-cont .nf-progress-container {
    position: absolute;
    height: 8px;
    background-color: #e5e7eb;      /* light grey */
    border-radius: 999px;
    overflow: hidden;
    margin: 1%!important;
}

.nf-form-cont .nf-progress-container .nf-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #f6b81a;      /* yellow/orange bar */
    border-radius: inherit;
    transition: width 0.25s ease-out;
}

/* Breadcrumb list as stepper */
.nf-form-cont .nf-breadcrumbs {
    position: relative;
    list-style: none;
    margin: -1.3rem 0 0;            /* pull steps onto bar */
    padding: 0;
    display: flex;
    justify-content: space-between;
}

/* Counter for numbers */
.nf-form-cont .nf-breadcrumbs {
    counter-reset: nf-step;
}

.nf-form-cont .nf-breadcrumbs li {
    counter-increment: nf-step;
    flex: 1 1 0;
    text-align: center;
    position: relative;
    font-size: 0.85rem;
}

/* Links (step labels) */
.nf-form-cont .nf-breadcrumbs li a.nf-breadcrumb {
    display: inline-block;
    padding-top: 2.4rem;            /* space for the circle */
    text-decoration: none;
    color: #444;
    font-weight: 400;
    white-space: nowrap;
}

/* Numbered circle */
.nf-form-cont .nf-breadcrumbs li a.nf-breadcrumb::before {
    content: counter(nf-step);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;

    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #365a96;      /* blue border */
    background-color: #ffffff;
    color: #365a96;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 26px;
    text-align: center;
}

/* Active step – filled blue circle + darker label */
.nf-form-cont .nf-breadcrumbs li.active a.nf-breadcrumb {
    color: #000;
    font-weight: 500;
}

.nf-form-cont .nf-breadcrumbs li.active a.nf-breadcrumb::before {
    background-color: #365a96;      /* blue fill */
    color: #ffffff;
    border-color: #365a96;
}

/* Optional: “completed” steps if you add that class in JS/PHP */
.nf-form-cont .nf-breadcrumbs li.completed a.nf-breadcrumb {
    color: #222;
}

.nf-form-cont .nf-breadcrumbs li.completed a.nf-breadcrumb::before {
    background-color: #f6b81a;      /* same as progress bar */
    color: #ffffff;
    border-color: #f6b81a;
}

/* Hover effect on clickable past steps (not on active) */
.nf-form-cont .nf-breadcrumbs li:not(.active) a.nf-breadcrumb:hover {
    color: #000;
}
/* ===============================
   RESPONSIVE STEPPER + PROGRESS
   =============================== */

/* Make the progress bar behave fluidly instead of fixed/absolute */
.nf-form-cont .nf-mp-header {
    position: relative;
}

.nf-form-cont .nf-progress-container {
    position: absolute;                /* override absolute */
    width: 100%;
}

/* Default (desktop) stays as you have it: 1 row with all 5 steps */


/* ============================
   Tablet + Mobile: 5 step 
   ============================ */
@media (max-width: 900px) {


    .nf-form-cont .nf-mp-header {
        position: relative;
    }

    .nf-form-cont .nf-progress-container {
        position: absolute;               /* override absolute */
        width: 100%;
    }

    /* 5 step in una riga */
    .nf-form-cont .nf-breadcrumbs {
        flex-wrap: nowrap;                
    }

    .nf-form-cont .nf-breadcrumbs li {
        flex: 0 0 20%;                    /* 5 x 20% = 100% */
        max-width: 20%;
        font-size: clamp(0.65rem, 1.7vw, 0.8rem);
    }


    .nf-form-cont .nf-breadcrumbs li a.nf-breadcrumb {
        white-space: normal;
        padding-top: 2rem;                
    }

    .nf-form-cont .nf-breadcrumbs li a.nf-breadcrumb::before {
        width: 24px;
        height: 24px;
        line-height: 20px;
        font-size: 0.8rem;
    }
}


@media (max-width: 480px) {
    .nf-form-cont .nf-breadcrumbs li {
        font-size: clamp(0.6rem, 3vw, 0.75rem);
    }

    .nf-form-cont .nf-breadcrumbs li a.nf-breadcrumb {
        padding-top: 1.8rem;
    }

    .nf-form-cont .nf-breadcrumbs li a.nf-breadcrumb::before {
        width: 22px;
        height: 22px;
        line-height: 18px;
        font-size: 0.75rem;
    }
}
#nf-label-field-102 {
    display: none;
}
/*************************************************
 * Custom Checkbox & Radio – Bootstrap-like
 * (no layout changes, only visuals)
 *************************************************/

/* Base style for both checkbox and radio */
.nf-form-cont .nf-field-element input[type="checkbox"],
.nf-form-cont .nf-field-element input[type="radio"] {
    -webkit-appearance: none!important;
    -moz-appearance: none;
    appearance: none;

    display: inline-block!important;
    width: 1.05rem!important;
    height: 1.05rem!important;
    margin: 0 0.4rem 0 0;
    padding: 0;

    border: 1.5px solid #adb5bd;
    border-radius: 0.25rem!important; /* checkbox gets square-ish, radio will override */
    background-color: #fff;

    vertical-align: middle;
    cursor: pointer;
    position: relative;

    transition:
        border-color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
    list-style: none !important;
}

/* Radio: round instead of square */
.nf-form-cont .nf-field-element input[type="radio"] {
    border-radius: 50%;
}

/* Focus state (keyboard / click) */
.nf-form-cont .nf-field-element input[type="checkbox"]:focus-visible,
.nf-form-cont .nf-field-element input[type="radio"]:focus-visible {
    outline: 0;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.12rem rgba(13, 110, 253, 0.35);
}

/* Checked state – fill with primary color */
.nf-form-cont .nf-field-element input[type="checkbox"]:checked,
.nf-form-cont .nf-field-element input[type="radio"]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Checkbox checkmark */
.nf-form-cont .nf-field-element input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 3px;
    width: 5px!important;
    height: 9px!important;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(40deg);
    list-style: none !important;
}

/* Radio inner dot */
.nf-form-cont .nf-field-element input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.45rem!important;
    height: 0.45rem!important;
    border-radius: 50%;
    background-color: #fff;
    transform: translate(-50%, -50%);
}

/* Disabled state */
.nf-form-cont .nf-field-element input[type="checkbox"][disabled],
.nf-form-cont .nf-field-element input[type="radio"][disabled] {
    cursor: not-allowed;
    background-color: #e9ecef;
    border-color: #ced4da;
    box-shadow: none;
}

/* Label next to checkbox/radio – keep inline, just tidy up typography */
.nf-form-cont .nf-field-element ul li label {
    font-size: 0.9rem;
    font-weight: 400;
    color: #212529;
    cursor: pointer;
}
#nf-field-59-wrap > div.nf-field-element > ul {
    list-style: none!important;
}
#nf-form-2-cont > div > div.nf-form-layout > form > div > div.nf-form-content > div > div.nf-mp-header > div > div > div {
    width: +10%;
}

.nf-form-cont .nf-progress-container {
    position: absolute;
    width: 80%;
    margin-left: 10% !important;
}

#nf-field-90-container, #nf-field-92-container, #nf-field-153-container, #nf-field-267-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.zwischensumme {
    display: none;
}
.preise {
    display: none;
}
/* === Gewerbe Buttons (Divi style orange) === */
.gewerbe-btn {
    display: inline-block;
    background-color: #ff7a00; /* Divi orange */
    color: #ffffff !important;
    border: 2px solid #ffffff;
    border-radius: 50px;
    padding: 6px 20px;
    font-family: "Ruda", sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    line-height: 30px;
    margin: 10px 5px 0 0;
    cursor: pointer;
}

.gewerbe-btn:hover {
    background-color: #e56d00!important; /* darker orange on hover */
    color: #ffffff !important;
}
/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {background: none;}
  
/*** Hide Sidebar ***/
#sidebar {display:none;}
  
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}