/* Tournai-City V6.0.25.32 - formulaire inscription */

.registration-gender-field > small {
    display: block;
    margin: -2px 0 12px;
    color: #676767;
    font-size: 12px;
    line-height: 1.4;
}

.registration-gender-choice {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.gender-option {
    position: relative;
    display: grid;
    min-height: 74px;
    padding: 12px 10px 10px 38px;
    align-content: center;
    border: 1px solid var(--line, #ddd7ce);
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.gender-option:hover {
    border-color: #bcb4a9;
}

.gender-option input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    margin: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.gender-radio {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 17px;
    height: 17px;
    border: 2px solid #aaa39a;
    border-radius: 50%;
    transform: translateY(-50%);
}

.gender-option input:checked + .gender-radio {
    border-width: 5px;
}

.gender-male input:checked + .gender-radio {
    border-color: #1877c9;
}

.gender-female input:checked + .gender-radio {
    border-color: #d63384;
}

.gender-neutral input:checked + .gender-radio {
    border-color: #f39a00;
}

.gender-option:has(input:checked) {
    border-color: #f39a00;
    background: #fffaf0;
    box-shadow: 0 0 0 2px rgba(243,154,0,.12);
}

.gender-option strong {
    display: block;
    color: #111;
    font-size: 14px;
    line-height: 1.15;
}

.gender-option em {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.15;
}

.gender-male em { color: #1877c9; }
.gender-female em { color: #d63384; }
.gender-neutral em { color: #777; }

.registration-age-choice {
    display: flex;
    align-items: flex-end;
    padding-bottom: 7px;
}

.registration-age-choice .checkbox-row {
    width: 100%;
    margin: 0;
}

@media (max-width: 700px) {
    .registration-gender-choice {
        grid-template-columns: 1fr;
    }

    .gender-option {
        min-height: 58px;
    }

    .registration-age-choice {
        padding-bottom: 0;
    }
}
