.content-report-widget {
    display: inline-block;
    position: relative;
    margin: 0.35rem 0;
    font-size: 0.9rem;
    color: #475569;
}

.content-report-widget summary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 34px;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.content-report-widget summary::-webkit-details-marker {
    display: none;
}

.content-report-widget summary::before {
    content: "!";
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 900;
}

.content-report-widget[open] summary {
    border-color: rgba(220, 38, 38, 0.35);
    color: #991b1b;
}

.content-report-form {
    position: absolute;
    z-index: 40;
    right: 0;
    top: calc(100% + 8px);
    width: min(320px, 88vw);
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.content-report-form label {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    color: #111827;
}

.content-report-form select,
.content-report-form textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    background: #fff;
    color: #111827;
    font: inherit;
}

.content-report-form textarea {
    resize: vertical;
}

.content-report-form button {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    background: #dc2626;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.content-report-form button:hover {
    background: #b91c1c;
}

@media (max-width: 640px) {
    .content-report-form {
        right: auto;
        left: 0;
    }
}

.global-report-alert {
    width: min(1180px, calc(100% - 32px));
    margin: 1rem auto 0;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.global-report-alert.is-success {
    border: 1px solid #bbf7d0;
    background: #ecfdf5;
    color: #166534;
}

.global-report-alert.is-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}
