/* Signalement d'une annonce : bouton de la carte vendeur et formulaire de la modale.
   Charte du site public (collectionneur-ui) : rouge de marque #a51e16, bordure de champ #958b7d,
   texte secondaire #6b6b6b, rayon 8 px, cibles de 44 px au minimum, focus rouge de 2 px. */

.cn-report-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
    padding: 8px 12px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #6b6b6b;
    font-size: 14px;
    font-weight: 600;
}

.cn-report-btn:hover {
    color: #a51e16;
    background: #fbeae7;
}

.cn-report-btn:focus-visible,
.cn-report-reason input:focus-visible + span,
.cn-report-submit:focus-visible {
    outline: 2px solid #a51e16;
    outline-offset: 2px;
}

.cn-report-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 4px;
}

.cn-report-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #212121;
}

.cn-report-help {
    margin: 0;
    font-size: 14px;
    color: #6b6b6b;
}

.cn-report-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.cn-report-reasons legend,
.cn-report-label {
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: #171717;
}

.cn-report-label span {
    font-weight: 400;
    color: #6b6b6b;
}

.cn-report-reason {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #958b7d;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.cn-report-reason:has(input:checked) {
    border-color: #a51e16;
    box-shadow: 0 0 0 3px rgba(165, 30, 22, 0.18);
}

.cn-report-reason input {
    flex: none;
    width: 18px;
    height: 18px;
    accent-color: #a51e16;
}

.cn-report-field {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #958b7d;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #212121;
}

.cn-report-field--short {
    min-height: 48px;
}

.cn-report-field:focus {
    outline: none;
    border-color: #a51e16;
    box-shadow: 0 0 0 3px rgba(165, 30, 22, 0.18);
}

.cn-report-actions {
    display: flex;
    justify-content: flex-end;
}

.cn-report-submit {
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: #a51e16;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.cn-report-submit:hover {
    background: #86150f;
}

@media (max-width: 575.98px) {
    .cn-report-actions .cn-report-submit {
        width: 100%;
    }
}
