/* ==================================
   REPORTER DIALOG
================================== */

#reporterDialog
{
    position: fixed;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    background: rgba(0,0,0,0.35);

    z-index: 1000;
}

#reporterDialogContent
{
    width: 900px;

    max-width: 95vw;

    max-height: 90vh;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    background: #fff;

    border-radius: 8px;

    border: 1px solid #ccc;

    padding: 20px;

    box-sizing: border-box;
}

/* ==================================
   HEADER
================================== */

#reporterDialogHeader
{
    flex: 0 0 auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    width: 100%;

    margin-bottom: 10px;
}

#reporterDialogTitle
{
    margin: 0;
}

#reporterDialogClose
{
    cursor: pointer;

    border: 1px solid #ccc;

    background: #f5f5f5;

    border-radius: 4px;

    padding: 4px 10px;
}

/* ==================================
   BODY
================================== */

#reporterDialogBody
{
    flex: 1;

    min-height: 0;

    overflow-y: auto;

    overflow-x: hidden;
}

/* ==================================
   FOOTER
================================== */

#reporterDialogFooter
{
    flex: 0 0 auto;

    display: flex;

    gap: 10px;

    border-top: 1px solid #ccc;

    padding-top: 10px;

    margin-top: 10px;
}

/* ==================================
   REPORT SECTIONS
================================== */

.reporterIssue
{
    border: 1px solid #ddd;

    border-radius: 6px;

    padding: 10px;

    margin-bottom: 10px;

    background: #fafafa;
}

.reporterIssue pre
{
    white-space: pre-wrap;

    word-break: break-word;

    background: #f0f0f0;

    padding: 8px;

    border-radius: 4px;

    overflow: auto;
}

/* ==================================
   REPORT METADATA
================================== */

.reporterMetadata
{
    border: 1px solid #ddd;

    border-radius: 6px;

    padding: 10px;

    margin-bottom: 10px;

    background: #fafafa;
}

/* ==================================
   SEVERITY BADGES
================================== */

.reporterSeverity
{
    display: inline-block;

    padding: 2px 6px;

    border-radius: 4px;

    font-size: 11px;

    font-weight: bold;

    border: 1px solid #ccc;
}

.reporterSeverityCritical
{
    background: #ffe5e5;
}

.reporterSeverityWarning
{
    background: #fff5d6;
}

.reporterSeverityInfo
{
    background: #e8f3ff;
}

/* ==================================
   CATEGORY LABELS
================================== */

.reporterCategory
{
    font-family: monospace;
}

.reporterVerdict
{
    display: inline-block;

    padding: 4px 10px;

    border-radius: 4px;

    font-weight: bold;

    font-size: 12px;
}

.reporterVerdictRejected
{
    background: #ffe5e5;
    color: #b00000;
}

.reporterVerdictSanitized
{
    background: #fff6d5;
    color: #8a6d00;
}

.reporterVerdictClean
{
    background: #e7f8e7;
    color: #006400;
}

.reporterVerdictWarning
{
    background: #fff0d5;
    color: #a05a00;
}

.reporterVerdictError
{
    background: #ffdede;
    color: #800000;
}

.reporterVerdictUnknown
{
    background: #eeeeee;
    color: #555555;
}

.reporterVerdict
{
    margin-left: 10px;
}
