.threat-assessment-panel {
    display: none;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    line-height: 1.45;
}

.threat-assessment-panel.analyzing {
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.75);
}

.threat-assessment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.threat-assessment-title {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.threat-level-badge {
    min-width: 34px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.threat-assessment-summary {
    font-weight: 500;
    margin-bottom: 8px;
}

.threat-assessment-explanation {
    color: rgba(255, 255, 255, 0.82);
    white-space: pre-wrap;
}

.threat-assessment-panel.low {
    border-color: rgba(76, 175, 80, 0.35);
}

.threat-assessment-panel.low .threat-level-badge {
    background: rgba(76, 175, 80, 0.2);
    color: #8ee08e;
}

.threat-assessment-panel.moderate {
    border-color: rgba(255, 193, 7, 0.35);
}

.threat-assessment-panel.moderate .threat-level-badge {
    background: rgba(255, 193, 7, 0.2);
    color: #ffd95c;
}

.threat-assessment-panel.high {
    border-color: rgba(255, 152, 0, 0.4);
}

.threat-assessment-panel.high .threat-level-badge {
    background: rgba(255, 152, 0, 0.22);
    color: #ffb74d;
}

.threat-assessment-panel.critical {
    border-color: rgba(244, 67, 54, 0.45);
}

.threat-assessment-panel.critical .threat-level-badge {
    background: rgba(244, 67, 54, 0.22);
    color: #ff8a80;
}
