/* Étape 2 — domaines */

@media (min-width: 1025px) {
    /*
     * Étape 2 desktop : bloc « rectangle » — pastilles intrinsèques, rangées flex
     * (4 + 4 + 4 + ligne finale : 3 + paire Droit / Data Science en inline-flex).
     */
    .eic-desktop-version .eic-wizard-step--2 .eic-wizard-options--tags {
        display: grid;
        grid-template-columns: max-content;
        row-gap: 5px;
        column-gap: 0;
        align-items: stretch;
        justify-items: stretch;
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
        background: #ffffff;
        background-color: #ffffff;
        box-sizing: border-box;
        overflow: visible;
    }

    .eic-desktop-version .eic-wizard-step--2 .eic-wizard-options__row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .eic-desktop-version .eic-wizard-step--2 .eic-wizard-options__row .eic-wizard-option {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }

    /* Dernière rangée : 3 pastilles + paire (Droit + Data Science) en largeurs intrinsèques */
    .eic-desktop-version .eic-wizard-step--2 .eic-wizard-options__row--domains-last {
        justify-content: space-between;
    }

    .eic-desktop-version .eic-wizard-step--2 .eic-wizard-options__pair {
        display: inline-flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
    }

    .eic-desktop-version .eic-wizard-step--2 .eic-wizard-options__pair .eic-wizard-option {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }
}
.eic-wizard-step--2 .eic-wizard-options__pair {
    box-sizing: border-box;
    min-width: 0;
}
.eic-wizard-step--2 .eic-wizard-options--tags .eic-wizard-option {
    border-radius: 999px;
    padding: 7px 12px;
    min-height: 30px;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0, 103, 237, 0.12);
    background: rgba(0, 103, 237, 0.05);
    background-color: rgba(0, 103, 237, 0.05);
    color: #0067ed;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
    .eic-wizard-step--2 .eic-wizard-options--tags .eic-wizard-option:hover {
        background: rgba(0, 103, 237, 0.09);
        background-color: rgba(0, 103, 237, 0.09);
    }
}
.eic-wizard-step--2 .eic-wizard-options--tags .eic-wizard-option.is-selected {
    background: #0067ed;
    background-color: #0067ed;
    border-color: #0067ed;
    color: #ffffff;
    font-weight: 700;
}
.eic-wizard-step--2,
.eic-wizard-step--2 .eic-wizard-title,
.eic-wizard-step--2 .eic-wizard-nav,
.eic-wizard-step--2 .eic-wizard-choice,
.eic-wizard-step--2 .eic-wizard-options {
    background: #ffffff !important;
    background-color: #ffffff !important;
}
.eic-wizard-step--2 .eic-wizard-choice {
    margin: 16px 0 18px;
}
