.celtiis-elig {
    --elig-primary: var(--bs-secondary, #1D3D70);
    --elig-accent: var(--bs-primary);
    --elig-muted: #54627F;
    --elig-border: #DFE5F2;
    --elig-surface: #FFFFFF;
    --elig-surface-alt: #F4F7FB;
    --elig-danger: #E2574C;
    color: var(--elig-primary);
    font-family: 'Gotham', sans-serif;
}

.celtiis-elig .celtiis-elig__container {
    margin-left: auto;
    margin-right: auto;
}

.celtiis-elig__sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.celtiis-elig__progress {
    width: min(100%, 700px);
    margin: clamp(28px, 4vw, 46px) auto 0;
}

.celtiis-elig__progress-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.celtiis-elig__progress-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: var(--elig-muted);
    text-align: center;
}

.celtiis-elig__progress-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    left: calc(50% + 25px);
    z-index: 0;
    width: calc(100% - 50px);
    height: 2px;
    border-radius: 999px;
    background: var(--elig-border);
    transition: background-color .25s ease;
}

.celtiis-elig__progress-number {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--elig-border);
    border-radius: 50%;
    background: var(--elig-surface);
    color: var(--elig-muted);
    font-size: 14px;
    font-weight: 700;
    transition: border-color .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.celtiis-elig__progress-label {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    transition: color .25s ease;
}

.celtiis-elig__progress-item.is-complete::after {
    background: var(--elig-accent);
}

.celtiis-elig__progress-item.is-complete .celtiis-elig__progress-number {
    border-color: var(--elig-accent);
    background: var(--elig-accent);
    color: var(--elig-primary);
}

.celtiis-elig__progress-item.is-active .celtiis-elig__progress-number {
    border-color: var(--elig-primary);
    background: var(--elig-primary);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(29, 61, 112, .11);
}

.celtiis-elig__progress-item.is-active .celtiis-elig__progress-label,
.celtiis-elig__progress-item.is-complete .celtiis-elig__progress-label {
    color: var(--elig-primary);
}

.celtiis-elig__container > .celtiis-elig__step {
    margin-top: clamp(28px, 4vw, 48px) !important;
}

@media (max-width: 480px) {
    .celtiis-elig__progress-item {
        gap: 7px;
    }

    .celtiis-elig__progress-item:not(:last-child)::after {
        left: calc(50% + 21px);
        width: calc(100% - 42px);
    }

    .celtiis-elig__progress-number {
        width: 34px;
        height: 34px;
    }

    .celtiis-elig__progress-label {
        font-size: 11px;
    }
}

.celtiis-elig__intro {
    margin: 36px 0 20px;
    text-align: center;
}

.celtiis-elig__title {
    margin: 0 0 5px;
    font-size: 28px;
    font-weight: 700;
    color: var(--elig-primary);
}

.celtiis-elig__subtitle {
    margin: 0;
    color: var(--elig-muted);
    font-size: 16px;
    line-height: 1.55;
}

.celtiis-elig__form {
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: var(--elig-surface);
    border: 1px solid var(--elig-border);
    border-radius: 24px;
    padding: 28px;
}

.celtiis-elig__fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.celtiis-elig__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.celtiis-elig__contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.celtiis-elig__contact-input {
    height: 53px;
    margin-top: 0;
    padding: 14px 18px;
    font-size: 16px;
}

.celtiis-elig__required {
    color: var(--elig-danger);
    font-weight: 700;
}

.celtiis-elig__label {
    font-size: 14px;
    font-weight: 400;
    color: var(--elig-muted);
}

.celtiis-elig__select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1.5px solid var(--elig-border);
    border-radius: 14px;
    background-color: var(--elig-surface);
    color: var(--elig-primary);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%201.5L6%206.5L11%201.5%22%20stroke%3D%22%231D3D70%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    transition: border-color .2s ease, opacity .2s ease;
}

.celtiis-elig__select:focus {
    outline: none;
    border-color: var(--elig-primary);
}

.celtiis-elig__select:disabled {
    background-color: var(--elig-surface-alt);
    color: var(--elig-muted);
    cursor: not-allowed;
    opacity: 0.75;
}

.celtiis-elig__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    padding: 13px 25px;
    border: 0;
    border-radius: 999px;
    background: var(--elig-primary);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

.celtiis-elig__submit:not(:disabled):hover {
    background: var(--bs-secondary);
}

.celtiis-elig__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.celtiis-elig__submit.is-loading {
    opacity: 0.8;
    cursor: progress;
}

.celtiis-elig__result {
    margin-top: 24px;
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid var(--elig-border);
    background: var(--elig-surface);
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
}

.celtiis-elig__result.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.celtiis-elig__result.is-eligible {
    border-color: rgba(141, 198, 63, 0.5);
    background: rgba(141, 198, 63, 0.08);
}

.celtiis-elig__result.is-not-eligible {
    border-color: rgba(226, 87, 76, 0.4);
    background: rgba(226, 87, 76, 0.06);
}

.celtiis-elig__result-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
}

.celtiis-elig__result.is-eligible .celtiis-elig__result-icon {
    background-color: var(--elig-accent);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M5%2013l4%204L19%207%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
}

.celtiis-elig__result.is-not-eligible .celtiis-elig__result-icon {
    background-color: var(--elig-danger);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M7%207l10%2010M17%207L7%2017%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
}

.celtiis-elig__result-message {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--elig-primary);
    line-height: 1.4;
}

.celtiis-elig__services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.celtiis-elig__service {
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(141, 198, 63, 0.6);
    color: var(--elig-primary);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 640px) {
    .celtiis-elig__fields {
        grid-template-columns: 1fr;
    }

    .celtiis-elig__contact-fields {
        grid-template-columns: 1fr;
    }

    .celtiis-elig__form {
        padding: 20px;
    }
}

.celtiis-elig__step {
    margin-top: 8px;
}

.celtiis-elig__locate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.celtiis-elig__field--address {
    display: block;
    margin-bottom: 18px;
}

.celtiis-elig__address-control {
    position: relative;
    display: block;
}

.celtiis-elig__suggestions {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 30;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #D9E1EE;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(29, 61, 112, .16);
}

.celtiis-elig__suggest-loader {
    position: absolute;
    top: 50%;
    right: 18px;
    z-index: 2;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 2px solid rgba(29, 61, 112, .2);
    border-top-color: var(--bs-primary, #8DC63F);
    border-radius: 50%;
    animation: celtiis-elig-suggest-spin .7s linear infinite;
    pointer-events: none;
}

@keyframes celtiis-elig-suggest-spin {
    to { transform: rotate(360deg); }
}

.celtiis-elig__address-control:has(.celtiis-elig__suggest-loader:not([hidden])) .celtiis-elig__address-input {
    padding-right: 52px;
}

.celtiis-elig__suggestion {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid #EEF2F7;
    background: transparent;
    color: var(--bs-secondary, #1D3D70);
    font: inherit;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.celtiis-elig__suggestion:last-child { border-bottom: 0; }
.celtiis-elig__suggestion:hover,
.celtiis-elig__suggestion:focus-visible {
    background: rgba(141, 198, 63, .12);
    outline: none;
}

.celtiis-elig__field--address .celtiis-elig__label {
    margin-bottom: 8px;
}

.celtiis-elig__address-input {
    height: 53px;
    font-size: 16px;
    padding: 14px 18px 14px 50px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2211%22%20r%3D%227%22%20stroke%3D%22%2354627F%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22m20%2020-4-4%22%20stroke%3D%22%2354627F%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: 16px center;
    background-size: 20px 20px;
}

.celtiis-elig__osm-attribution {
    display: block;
    margin-top: 10px;
    color: var(--elig-muted, #667085);
    font-size: 11px;
    text-align: center;
}

.celtiis-elig__osm-attribution a {
    color: inherit;
    text-decoration: underline;
}

.celtiis-elig__alt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

.celtiis-elig__alt-actions .celtiis-elig__geoloc,
.celtiis-elig__alt-actions .celtiis-elig__map-btn {
    min-width: 0;
    min-height: 49px;
    flex: 1 1 240px;
}

.celtiis-elig__geoloc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 280px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--elig-primary);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

.celtiis-elig__geoloc:not(:disabled):hover {
    background: var(--bs-secondary);
}

.celtiis-elig__geoloc.is-loading {
    opacity: 0.8;
    cursor: progress;
}

.celtiis-elig__geoloc-icon {
    width: 20px;
    height: 20px;
    background: center / contain no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2021s7-6.3%207-11a7%207%200%201%200-14%200c0%204.7%207%2011%207%2011Z%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E");
}

.celtiis-elig__manual-toggle {
    border: 0;
    background: transparent;
    color: var(--elig-muted);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.celtiis-elig__manual-toggle:hover {
    color: var(--elig-primary);
}

.celtiis-elig__locate-error {
    margin: 0 0 18px;
    text-align: center;
    color: var(--elig-danger);
    font-size: 14px;
    font-weight: 500;
}

.celtiis-elig__field--full {
    grid-column: 1 / -1;
}

.celtiis-elig__banner {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 24px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid var(--elig-border);
}

.celtiis-elig__banner.is-eligible {
    background: rgba(141, 198, 63, 0.09);
    border-color: rgba(141, 198, 63, 0.5);
}

.celtiis-elig__banner.is-not-eligible {
    background: rgba(226, 87, 76, 0.06);
    border-color: rgba(226, 87, 76, 0.4);
}

.celtiis-elig__banner-title {
    margin: 0;
    font-size: 19px;
    font-weight: 500;
    color: var(--elig-primary);
}

.celtiis-elig__banner-zone {
    margin: 6px 0 0;
    padding: 0;
    border: 0 !important;
    box-shadow: none;
    color: var(--elig-muted);
    font-size: 14px;
    font-weight: 400;
}

.celtiis-elig__banner-zone::before,
.celtiis-elig__banner-zone::after {
    display: none !important;
    content: none !important;
}

.celtiis-elig__fibre-offers {
    margin-top: 42px;
    margin-bottom: 30px;
}

.celtiis-elig__fibre-offers .celtiis-title {
    margin-bottom: 28px;
}

.celtiis-elig__subscription-step {
    width: 100%;
}

.celtiis-elig__subscription-step[hidden] {
    display: none;
}

.celtiis-elig__subscription-panel {
    width: min(760px, 100%);
    margin-inline: auto;
    padding-bottom: 40px;
}

.celtiis-elig__subscription-header {
    padding: 0 28px 24px;
}

.celtiis-elig__subscription-step.is-complete .celtiis-elig__subscription-header {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.celtiis-elig__subscription-step.is-complete .celtiis-elig__done {
    margin-top: 22px;
}

.celtiis-elig__subscription-header .celtiis-title {
    margin-bottom: 0;
}

.celtiis-elig__subscription-title {
    margin: 0 52px 20px;
    color: var(--elig-primary);
    font-size: clamp(24px, 3vw, 24px);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

[data-elig-formio="subscription"] {
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--elig-border);
    border-radius: 20px;
    background: #fff;
}

[data-elig-formio="subscription"] .formio-component-submit {
    margin-bottom: 0;
    text-align: right;
}

[data-elig-formio="subscription"] .formio-component-submit .btn {
    min-width: 150px;
}

.celtiis-elig__subscription-alternative {
    margin-top: 18px;
    text-align: center;
}

.celtiis-elig__subscription-alternative[hidden] {
    display: none;
}

.celtiis-elig__subscription-no-npi {
    padding: 4px 2px;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--elig-primary);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
}

.celtiis-elig__subscription-no-npi:hover {
    color: #6dab27;
}

.celtiis-elig__subscription-no-npi:disabled {
    opacity: .55;
    cursor: wait;
}

.celtiis-elig__subscription-no-npi:focus-visible {
    outline: 2px solid var(--elig-primary);
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .celtiis-elig__fibre-grid {
        grid-template-columns: 1fr;
    }

    .celtiis-elig__subscription-panel {
        padding-bottom: 30px;
    }

    .celtiis-elig__subscription-header {
        padding-inline: 0;
    }

    [data-elig-formio="subscription"] {
        padding: 20px 16px;
        border-radius: 16px;
    }

    [data-elig-formio="subscription"] .formio-component-submit .btn {
        width: 100%;
    }
}

.celtiis-elig__flybox-lead {
    margin: 14px 0 0;
    color: var(--elig-primary);
    font-size: 15px;
    font-weight: 600;
}

.celtiis-elig__sub-form {
    margin-top: 22px;
    padding: 28px;
    border: 1px solid var(--elig-border);
    border-radius: 24px;
    background: var(--elig-surface);
}

.celtiis-elig__sub-title {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 600;
    color: var(--elig-primary);
}

.celtiis-elig__sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.celtiis-elig__input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--elig-border);
    border-radius: 14px;
    background: var(--elig-surface);
    color: var(--elig-primary);
    font-family: inherit;
    font-size: 15px;
    margin-top: 5px;
    font-weight: 400;
    box-sizing: border-box;
    transition: border-color .2s ease;
}

.celtiis-elig__input:focus {
    outline: none;
    border-color: var(--elig-primary);
}

.celtiis-elig__sub-error {
    margin: 14px 0 0;
    color: var(--elig-danger);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.celtiis-elig__done {
    margin-top: 22px;
    padding: 32px 24px;
    border-radius: 22px;
    text-align: center;
    background: rgba(141, 198, 63, 0.09);
    border: 1px solid rgba(141, 198, 63, 0.5);
}

.celtiis-elig__done-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
}

.celtiis-elig__done-icon svg { width: 100%; height: 100%; overflow: visible; }
.celtiis-elig__done-icon circle {
    fill: var(--elig-accent);
    transform: scale(0);
    transform-origin: center;
}
.celtiis-elig__done-icon path {
    fill: none;
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 38;
    stroke-dashoffset: 38;
}
.celtiis-elig__done:not([hidden]) .celtiis-elig__done-icon circle {
    animation: celtiis-elig-done-pop .45s cubic-bezier(.16, 1, .3, 1) forwards;
}
.celtiis-elig__done:not([hidden]) .celtiis-elig__done-icon path {
    animation: celtiis-elig-check-draw .38s .35s ease-out forwards;
}
@keyframes celtiis-elig-done-pop {
    0% { transform: scale(0); }
    70% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.celtiis-elig__done-message {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--elig-primary);
}

.celtiis-elig__flybox-grid,
.celtiis-elig__fb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.celtiis-elig__step[data-elig-step="flybox"] .celtiis-flybox {
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
    align-items: stretch;
}

.celtiis-elig__step[data-elig-step="flybox"] .celtiis-flybox__card {
    height: 100%;
}

.celtiis-elig__step[data-elig-step="flybox"] .celtiis-flybox__card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 420px;
    justify-self: center;
}

@media (max-width: 991.98px) {

    .celtiis-elig__flybox-grid,
    .celtiis-elig__fb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {

    .celtiis-elig__flybox-grid,
    .celtiis-elig__fb-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 767.98px) {
    .celtiis-elig__step[data-elig-step="flybox"] .celtiis-flybox {
        grid-template-columns: minmax(0, 420px);
    }

    .celtiis-elig__step[data-elig-step="flybox"] .celtiis-flybox__card:last-child:nth-child(odd) {
        grid-column: auto;
    }
}

.celtiis-elig__fb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 22px;
    border: 1px solid var(--elig-border);
    border-radius: 22px;
    background: var(--elig-surface);
    text-align: center;
}

.celtiis-elig__fb-card.is-featured {
    border-color: var(--elig-accent);
    box-shadow: 0 20px 50px -30px rgba(141, 198, 63, 0.7);
}

.celtiis-elig__fb-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--elig-accent);
    color: var(--elig-primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.celtiis-elig__fb-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
    color: var(--elig-primary);
}

.celtiis-elig__fb-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 18px;
}

.celtiis-elig__fb-amount {
    font-size: 30px;
    font-weight: 800;
    color: var(--elig-primary);
}

.celtiis-elig__fb-unit {
    font-size: 14px;
    font-weight: 700;
    color: var(--elig-primary);
}

.celtiis-elig__fb-period {
    font-size: 13px;
    color: var(--elig-muted);
}

.celtiis-elig__fb-features {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.celtiis-elig__fb-feature {
    font-size: 14px;
    color: var(--elig-primary);
    font-weight: 500;
}

.celtiis-elig__fb-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1.5px solid var(--elig-primary);
    border-radius: 999px;
    color: var(--elig-primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.celtiis-elig__fb-cta:hover {
    background: var(--elig-primary);
    color: #fff;
}

.celtiis-elig__restart {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0px auto 0;
    border: 0;
    background: transparent;
    color: var(--elig-muted);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.celtiis-elig__restart:hover {
    color: var(--elig-primary);
}

.celtiis-elig__loading {
    position: fixed;
    inset: 0;
    z-index: 100010;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(13, 21, 45, 0.58);
    backdrop-filter: blur(4px);
}

.celtiis-elig__loading[hidden] {
    display: none;
}

.celtiis-elig__loading-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: min(360px, calc(100vw - 40px));
    min-height: 180px;
    padding: 28px 32px;
    border-radius: 24px;
    text-align: center;
}

.celtiis-elig__loading-spinner {
    width: 54px;
    height: 54px;
    border: 4px solid rgba(141, 198, 63, 0.18);
    border-top-color: var(--bs-primary, #8DC63F);
    border-right-color: var(--bs-primary, #8DC63F);
    border-radius: 50%;
    animation: celtiis-elig-spin 0.9s linear infinite;
}

.celtiis-elig__loading-text {
    margin: 0;
    color: var(--bs-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

@keyframes celtiis-elig-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {

    .celtiis-elig__sub-grid,
    .celtiis-elig__flybox-grid {
        grid-template-columns: 1fr;
    }
}

.celtiis-elig__geo-status {
    margin: 0 0 16px;
    text-align: center;
    color: var(--elig-muted);
    font-size: 14px;
    font-weight: 400;
}

.celtiis-elig__title-accent {
    color: var(--elig-accent);
}

.celtiis-elig__map-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 24px;
    border: 1.5px solid var(--elig-primary);
    border-radius: 999px;
    background: var(--elig-surface);
    color: var(--elig-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color .4s ease;
}

.celtiis-elig__map-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(var(--bs-primary-rgb, 141, 198, 63), .22);
    clip-path: inset(0 50% 0 50%);
    transition: clip-path .4s cubic-bezier(.16, 1, .3, 1);
    pointer-events: none;
}

.celtiis-elig__map-btn:hover::before,
.celtiis-elig__map-btn:focus-visible::before {
    clip-path: inset(0);
}

@media (prefers-reduced-motion: reduce) {
    .celtiis-elig__map-btn::before {
        transition: none;
    }
}

.celtiis-elig__map-btn-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2021s7-6.3%207-11a7%207%200%201%200-14%200c0%204.7%207%2011%207%2011Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2021s7-6.3%207-11a7%207%200%201%200-14%200c0%204.7%207%2011%207%2011Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E");
}

.celtiis-elig__map-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.celtiis-elig__map-modal[hidden] {
    display: none;
}

.celtiis-elig__map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 21, 45, 0.55);
}

.celtiis-elig__map-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(920px, 100%);
    max-height: calc(100vh - 40px);
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(13, 21, 45, 0.5);
}

.celtiis-elig__map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 70px;
    padding: 16px 72px 16px 20px;
    border-bottom: 1px solid var(--elig-border);
}

.celtiis-elig__map-head-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--elig-primary);
}

.celtiis-elig__map-x {
    border: 0;
    background: transparent;
    color: var(--elig-muted);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.celtiis-elig__map {
    width: 100%;
    height: clamp(320px, 55vh, 460px);
}

.celtiis-elig__map-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-top: 1px solid var(--elig-border);
    flex-wrap: wrap;
}

.celtiis-elig__map-coords {
    color: var(--elig-muted);
    font-size: 13px;
    font-weight: 400;
}

.celtiis-elig__map-confirm {
    width: auto;
    margin-top: 0;
    min-width: 180px;
}

@media (max-width: 640px) {
    .celtiis-elig__map-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .celtiis-elig__map-confirm {
        width: 100%;
    }
}

.celtiis-elig__step[data-elig-step="subscribe"] .celtiis-elig__formio-host {
    margin-top: 16px;
}

.celtiis-elig__assistance {
    margin-top: 50px;
    padding: 8px 20px 20px;
    background: #fff;
}

.celtiis-elig__assistance-inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .celtiis-elig__assistance {
        padding: 0 16px 25px;
    }
}

.celtiis-elig__formio-host {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: var(--elig-surface);
    border-radius: 24px;
    margin-top: 10px;
}

.celtiis-elig__formio-host[hidden] {
    display: none !important;
}

.celtiis-elig__formio-host .btn,
.celtiis-elig__formio-host .formio-button-add-another {
    border-radius: 999px;
    padding: 12px 28px;
    font-family: 'Gotham', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    --bs-btn-focus-shadow-rgb: 29, 61, 112;
}

.celtiis-elig__formio-host .btn-primary,
.celtiis-elig__formio-host .btn-primary:not(:disabled):not(.disabled) {
    background: var(--elig-primary);
    border-color: var(--elig-primary);
    color: #fff;
    box-shadow: none;
}

.celtiis-elig__formio-host .btn-primary:hover,
.celtiis-elig__formio-host .btn-primary:not(:disabled):not(.disabled):hover {
    background: #16315b;
    border-color: #16315b;
    color: #fff;
    box-shadow: none;
}

.celtiis-elig__formio-host .btn-primary:focus,
.celtiis-elig__formio-host .btn-primary:focus-visible,
.celtiis-elig__formio-host .btn-primary:not(:disabled):not(.disabled):active {
    background: var(--elig-primary);
    border-color: var(--elig-primary);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(29, 61, 112, 0.22);
    outline: none;
}

.celtiis-elig__formio-host .btn-secondary,
.celtiis-elig__formio-host .btn-secondary:not(:disabled):not(.disabled) {
    background: transparent;
    border-color: var(--elig-border);
    color: var(--elig-primary);
    box-shadow: none;
}

.celtiis-elig__formio-host .btn-secondary:hover {
    background: var(--elig-surface-alt);
    border-color: var(--elig-primary);
    color: var(--elig-primary);
}

.celtiis-elig__formio-host .btn-primary.btn-wizard-nav-previous,
.celtiis-elig__formio-host .btn-primary.btn-wizard-nav-previous:not(:disabled):not(.disabled) {
    background: transparent;
    border-color: var(--elig-border);
    color: var(--elig-primary);
    box-shadow: none;
}

.celtiis-elig__formio-host .btn-primary.btn-wizard-nav-previous:hover,
.celtiis-elig__formio-host .btn-primary.btn-wizard-nav-previous:not(:disabled):not(.disabled):hover {
    background: var(--elig-surface-alt);
    border-color: var(--elig-primary);
    color: var(--elig-primary);
    box-shadow: none;
}

.celtiis-elig__formio-host .btn-primary.btn-wizard-nav-previous:focus,
.celtiis-elig__formio-host .btn-primary.btn-wizard-nav-previous:focus-visible,
.celtiis-elig__formio-host .btn-primary.btn-wizard-nav-previous:not(:disabled):not(.disabled):active {
    background: var(--elig-surface-alt);
    border-color: var(--elig-primary);
    color: var(--elig-primary);
    box-shadow: 0 0 0 3px rgba(29, 61, 112, 0.22);
    outline: none;
}

/* Inputs / selects / textarea → même radius que le reste de l'éligibilité. */
.celtiis-elig__formio-host .form-control,
.celtiis-elig__formio-host .choices__inner,
.celtiis-elig__formio-host textarea.form-control {
    border-radius: 14px;
    border: 1.5px solid var(--elig-border);
    padding: 12px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--elig-primary);
    background: var(--elig-surface);
    transition: border-color .2s ease;
}

.celtiis-elig__formio-host .form-control:focus {
    outline: none;
    border-color: var(--elig-primary);
    box-shadow: 0 0 0 3px rgba(29, 61, 112, 0.08);
}

/* Zone de dépôt de fichiers Form.io, partagée avec le renderer générique. */
.celtiis-elig__formio-host .formio-component-file .list-group-header {
    display: none !important;
}

.celtiis-elig__formio-host .formio-component-file .list-group {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
}

.celtiis-elig__formio-host .formio-component-file .list-group:empty,
.celtiis-elig__formio-host .formio-component-file .list-group:not(:has(.list-group-item:not(.list-group-header))) {
    display: none;
}

.celtiis-elig__formio-host .formio-component-file .list-group-item:not(.list-group-header) {
    margin-bottom: 8px;
    padding: 12px 14px;
    border: 1px solid var(--elig-border);
    border-radius: 12px;
    background: var(--elig-surface-alt);
    color: var(--elig-primary);
}

.celtiis-elig__formio-host .formio-component-file .fileSelector {
    min-height: 150px;
    padding: 24px;
    border: 2px dashed #C9D3E5;
    border-radius: 16px;
    background: #F8FAFC;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    transition: border-color .2s ease, background-color .2s ease;
}

.celtiis-elig__formio-host .formio-component-file .fileSelector::before {
    content: "Glissez-déposez vos fichiers ici";
    color: var(--elig-primary);
    font-size: 15px;
    font-weight: 700;
}

.celtiis-elig__formio-host .formio-component-file .fileSelector.fileDragOver,
.celtiis-elig__formio-host .formio-component-file .fileSelector:hover {
    border-color: var(--elig-accent);
    background: rgba(141, 198, 63, 0.08);
}

.celtiis-elig__formio-host .formio-component-file .browse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid var(--elig-primary);
    border-radius: 999px;
    background: #fff;
    color: var(--elig-primary);
    font-size: 0;
    font-weight: 700;
    text-decoration: none;
}

.celtiis-elig__formio-host .formio-component-file .browse::after {
    content: "Choisir un fichier";
    font-size: 14px;
}

.celtiis-elig__formio-host .formio-component-file .browse .bi {
    font-size: 18px;
}

.celtiis-elig__formio-host label.col-form-label,
.celtiis-elig__formio-host .field-required,
.celtiis-elig__formio-host .formio-component-label {
    color: var(--elig-muted);
    font-size: 13px;
    font-weight: 500;
}

.celtiis-elig__formio-host .formio-errors .form-text {
    color: var(--elig-danger);
    font-size: 13px;
    margin-top: 6px;
}

.celtiis-elig__recontact {
    width: 100%;
}

.celtiis-elig__recontact-notice {
    margin: 0 0 22px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(226, 87, 76, .28);
    background: rgba(226, 87, 76, .08);
    color: var(--elig-danger);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

.celtiis-elig__recontact-step {
    width: 100%;
}

.celtiis-elig__recontact-step[hidden] {
    display: none;
}

.celtiis-elig__recontact-panel {
    width: min(760px, 100%);
    margin-inline: auto;
    padding-bottom: 40px;
}
.celtiis-elig__map-x,
.celtiis-elig__success-close {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(29, 61, 112, .08);
    color: var(--elig-primary);
    font: 400 30px/1 Arial, sans-serif;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.celtiis-elig__map-x:hover,
.celtiis-elig__success-close:hover {
    background: rgba(29, 61, 112, .16);
    transform: rotate(5deg);
}
.celtiis-elig__map-x:focus-visible,
.celtiis-elig__success-close:focus-visible {
    outline: 2px solid var(--elig-primary);
    outline-offset: 3px;
}
.celtiis-elig__ineligible-status {
    margin: 8px auto 30px;
    text-align: center;
}

.celtiis-elig__ineligible-cross {
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
}

.celtiis-elig__ineligible-cross svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.celtiis-elig__ineligible-cross circle,
.celtiis-elig__ineligible-cross path {
    fill: none;
    stroke: #dc3545;
    stroke-width: 3.5;
    stroke-linecap: round;
}

.celtiis-elig__ineligible-cross circle {
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: elig-ineligible-draw .55s ease-out forwards;
}

.celtiis-elig__ineligible-cross path {
    stroke-dasharray: 52;
    stroke-dashoffset: 52;
    animation: elig-ineligible-draw .4s .45s ease-out forwards;
}

.celtiis-elig__ineligible-status .celtiis-title {
    margin-bottom: 0;
}

.celtiis-elig__ineligible-status .celtiis-title__heading {
    margin: 0;
    color: var(--elig-primary);
    font-size: 24px;
    font-weight: 700;
}

.celtiis-elig__ineligible-contact-title {
    margin: 18px 0 20px;
    color: var(--elig-primary);
    font-family: 'Gotham';
    font-size: clamp(15px, 1.6vw, 24px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.celtiis-elig__ineligible-contact-title span {
    display: block;
}

@media (max-width: 767px) {
    .celtiis-elig__ineligible-contact-title {
        font-size: 20px;
        white-space: normal;
    }
}

.celtiis-elig__ineligible-status[hidden],
.celtiis-elig__recontact[hidden] {
    display: none;
}

@keyframes elig-ineligible-draw {
    to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .celtiis-elig__ineligible-cross circle,
    .celtiis-elig__ineligible-cross path {
        animation: none;
        stroke-dashoffset: 0;
    }
}

.celtiis-elig__recontact .celtiis-elig__formio-host {
    margin-inline: auto;
}

[data-elig-formio="recontact"] {
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--elig-border);
    border-radius: 20px;
    background: #fff;
}

@media (max-width: 575px) {
    .celtiis-elig__recontact-panel {
        padding-bottom: 30px;
    }

    [data-elig-formio="recontact"] {
        padding: 20px 16px;
        border-radius: 16px;
    }
}

.celtiis-elig__recontact > .celtiis-title {
    max-width: 100%;
    margin: 0 0 0px;
    text-align: left;
}

.celtiis-elig__recontact > .celtiis-title .celtiis-title__heading {
    margin-bottom: 0px;
    font-size: 21px;
    line-height: 1.2;
}

.celtiis-elig__recontact > .celtiis-title .celtiis-title__subtitle {
    font-size: 14px;
    line-height: 1.5;
}

.celtiis-elig__recontact:has(.celtiis-elig__done:not([hidden])) > .celtiis-title .celtiis-title__subtitle {
    display: none;
}

.celtiis-elig__recontact-step.is-complete .celtiis-elig__ineligible-status {
    display: none;
}

.celtiis-elig__recontact-step.is-complete .celtiis-elig__done {
    margin-top: 0;
}

[data-elig-formio="recontact"] .formio-component-latitude,
[data-elig-formio="recontact"] .formio-component-longitude {
    display: none;
}

.celtiis-elig__formio-host nav[aria-label="Wizard navigation"] {
    margin: 0 0 28px;
}

/* Confirmation gérée par l'interface Celtiis : évite le flash natif Form.io. */
.celtiis-elig__formio-host .alert-success {
    display: none !important;
}

.celtiis-elig__formio-host .pagination {
    counter-reset: elig-step;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
}

.celtiis-elig__formio-host .pagination .page-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    text-align: center;
}

/* Connecteur entre deux étapes (derrière les pastilles). Complété par défaut. */
.celtiis-elig__formio-host .pagination .page-item+.page-item::before {
    content: "";
    position: absolute;
    top: 20px;
    /* moitié de la pastille (40px) */
    right: 50%;
    width: 100%;
    height: 2px;
    background: var(--elig-accent);
    z-index: 0;
}

/* Le bouton = colonne pastille + libellé, sans style bouton. */
.celtiis-elig__formio-host .pagination .page-item .page-link {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 6px;
    border: 0;
    background-color: transparent !important;
    /* neutralise le fond actif Form.io/Bootstrap */
    color: var(--elig-primary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: none;
    white-space: normal;
    border-radius: 0;
}

/* Pastille numérotée - état « complété » par défaut (vert/accent). */
.celtiis-elig__formio-host .pagination .page-item .page-link::before {
    counter-increment: elig-step;
    content: counter(elig-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--elig-accent);
    border: 1.5px solid var(--elig-accent);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    transition: background .15s, border-color .15s, box-shadow .15s, color .15s;
}

/* Étape COURANTE (navy + halo). */
.celtiis-elig__formio-host .pagination .page-item.active .page-link {
    color: var(--elig-primary) !important;
    font-weight: 700;
}

.celtiis-elig__formio-host .pagination .page-item.active .page-link::before {
    background: var(--elig-primary);
    border-color: var(--elig-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--elig-primary) 20%, transparent);
}

/* Étapes À VENIR (grises). */
.celtiis-elig__formio-host .pagination .page-item.active~.page-item .page-link {
    color: var(--elig-muted) !important;
}

.celtiis-elig__formio-host .pagination .page-item.active~.page-item .page-link::before {
    background: var(--elig-surface-alt);
    border-color: var(--elig-border);
    color: var(--elig-muted);
}

.celtiis-elig__formio-host .pagination .page-item.active~.page-item::before {
    background: var(--elig-border);
}

/* Barre de boutons Form.io (Cancel / Previous / Next / Submit). */
.celtiis-elig__formio-host .formio-wizard-nav-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 24px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--elig-border);
    list-style: none;
}

.celtiis-elig__formio-host .formio-wizard-nav-container>li {
    margin: 0;
    padding: 0;
}

/* « Annuler » à gauche, la navigation à droite. */
.celtiis-elig__formio-host .formio-wizard-nav-container>li:has(.btn-wizard-nav-cancel) {
    margin-right: auto;
}

/* Compact sur mobile : pastilles seules. */
@media (max-width: 640px) {
    .celtiis-elig__formio-host .pagination .page-item .page-link {
        font-size: 0;
        gap: 0;
    }

    .celtiis-elig__formio-host .pagination .page-item .page-link::before {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .celtiis-elig__formio-host .pagination .page-item+.page-item::before {
        top: 17px;
    }
}

.celtiis-elig__step:has(.celtiis-elig__done:not([hidden])) .celtiis-elig__banner {
    display: none;
}
.celtiis-elig-modal-open {
    overflow: hidden;
}

.celtiis-elig__success-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .25s ease;
}

.celtiis-elig__success-modal.is-open { opacity: 1; }

.celtiis-elig__success-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 52, .66);
    backdrop-filter: blur(3px);
}

.celtiis-elig__success-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    padding: 32px;
    border-radius: 24px;
    background: #fff;
    text-align: center;
    box-shadow: 0 24px 70px rgba(10, 25, 52, .28);
    transform: translateY(18px) scale(.96);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.celtiis-elig__success-modal.is-open .celtiis-elig__success-dialog {
    transform: translateY(0) scale(1);
}

.celtiis-elig__success-check {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
}

.celtiis-elig__success-check svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.celtiis-elig__success-check circle,
.celtiis-elig__success-check path {
    fill: none;
    stroke: var(--bs-primary, #8DC63F);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.celtiis-elig__success-check circle {
    stroke-width: 3;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
}

.celtiis-elig__success-check path {
    stroke-width: 5;
    stroke-dasharray: 38;
    stroke-dashoffset: 38;
}

.celtiis-elig__success-modal.is-open .celtiis-elig__success-check circle {
    animation: celtiis-elig-check-draw .55s ease-out forwards;
}

.celtiis-elig__success-modal.is-open .celtiis-elig__success-check path {
    animation: celtiis-elig-check-draw .38s .48s ease-out forwards;
}

@keyframes celtiis-elig-check-draw {
    to { stroke-dashoffset: 0; }
}

.celtiis-elig__success-title {
    margin: 0;
    color: var(--bs-secondary, #1D3D70);
    margin-bottom: 20px;
}

.celtiis-elig__success-title .celtiis-title {
    margin-bottom: 0;
}

.celtiis-elig__success-title .celtiis-title__heading {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.celtiis-elig__success-message {
    margin: 0 0 20px;
    color: #65758B;
    font-size: 15px;
    line-height: 1.55;
}

.celtiis-elig__success-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 999px;
    background: var(--bs-primary, #8DC63F);
    color: var(--bs-secondary, #1D3D70);
    font-weight: 500;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.celtiis-elig__success-cta:hover {
    background: var(--bs-secondary, #1D3D70);
    color: #fff;
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .celtiis-elig__success-modal,
    .celtiis-elig__success-dialog,
    .celtiis-elig__success-check circle,
    .celtiis-elig__success-check path,
    .celtiis-elig__done-icon circle,
    .celtiis-elig__done-icon path {
        animation: none !important;
        transition: none !important;
        stroke-dashoffset: 0;
    }
    .celtiis-elig__done-icon circle { transform: scale(1); }
}

/* Bouton « Ma position » sur la carte : même allure que les commandes Google. */
.celtiis-elig__map-locate {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 10px;
    padding: 0 12px;
    height: 40px;
    border: 0;
    border-radius: 2px;
    background: #fff;
    color: #1a73e8;
    font: 500 14px/1 Roboto, Arial, sans-serif;
    box-shadow: rgba(0, 0, 0, 0.3) 0 1px 4px -1px;
    cursor: pointer;
}
.celtiis-elig__map-locate:hover { background: #ebebeb; }
.celtiis-elig__map-locate:focus-visible { outline: 2px solid #1a73e8; outline-offset: 2px; }
.celtiis-elig__map-locate.is-busy { opacity: .6; cursor: progress; }
.celtiis-elig__map-locate.is-busy svg { animation: celtiis-elig-locate-pulse 1s ease-in-out infinite; }
@keyframes celtiis-elig-locate-pulse { 50% { opacity: .3; } }
/* Petits écrans : l'icône seule, pour laisser la place au choix Plan / Satellite. */
@media (max-width: 480px) {
    .celtiis-elig__map-locate { padding: 0 11px; }
    .celtiis-elig__map-locate span { display: none; }
}
