/* public/app/css/badge-modal-kinds.css
 * Synopsis: Sélecteur Free / Pro de la modale badge.
 * Objectif: Segment radio compact, état coché visible.
 */

.badge-modal-kinds {
    border: 0;
    margin: 0;
    min-width: 0;
    padding: 0;
}

.badge-modal-kinds legend {
    font-size: .85rem;
    font-weight: 700;
    margin: 0 0 .35rem;
    padding: 0;
}

.badge-modal-kinds-row {
    display: grid;
    gap: .4rem;
    grid-template-columns: 1fr 1fr;
}

.badge-modal-kind {
    align-items: center;
    background: color-mix(in srgb, currentColor 6%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
    cursor: pointer;
    display: flex;
    font-size: .88rem;
    font-weight: 600;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.4rem;
    padding: .4rem .5rem;
    text-align: center;
}

.badge-modal-kind input {
    height: 1px;
    margin: -1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.badge-modal-kind:has(:checked) {
    background: var(--cta, var(--acid));
    border-color: currentColor;
    font-weight: 700;
}

.badge-modal-kind:focus-within {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
