/* =========================================================================
   Risk Assessment Module
   ========================================================================= */

.hazard-row {
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    background-color: var(--clr-surface);
    position: relative;
}

.hazard-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.hazard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.risk-matrix-group {
    background: #f8fafc;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--clr-border);
}

.score-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
}

.score-low { background-color: #d1fae5; color: #047857; }
.score-medium { background-color: #fef3c7; color: #b45309; }
.score-high { background-color: #fee2e2; color: #b91c1c; }
