/* ============================================
   FILTER CHIPS & STATUS INDICATORS
   Ship status chips, factory categories, confidence badges
   ============================================ */

/* Ship Status Chips */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration-fast);
    white-space: nowrap;
}

.filter-chip:hover {
    background: var(--color-bg-hover);
    border-color: var(--color-accent);
}

.filter-chip--active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.filter-chip:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.filter-chip__count {
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 6px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
}

/* Confirmed Ship Chip */
.filter-chip--confirmed {
    border-color: #22c55e;
    color: #22c55e;
}

.filter-chip--confirmed.filter-chip--active {
    background: #22c55e;
    color: white;
}

/* High Risk Chip */
.filter-chip--high-risk {
    border-color: #f97316;
    color: #f97316;
}

.filter-chip--high-risk.filter-chip--active {
    background: #f97316;
    color: white;
}

/* Watchlist Chip */
.filter-chip--watchlist {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.filter-chip--watchlist.filter-chip--active {
    background: #8b5cf6;
    color: white;
}

/* Confidence Badge */
.confidence-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
}

.confidence-badge--vh {
    background: rgba(220, 38, 38, 0.15);
    color: #fca5a5;
}

.confidence-badge--h {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
}

.confidence-badge--m {
    background: rgba(234, 179, 8, 0.15);
    color: #fde047;
}

.confidence-badge--l {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}

/* Entity Tags */
.entity-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.entity-tag--danger {
    background: rgba(220, 38, 38, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.entity-tag--warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.entity-tag--success {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.entity-tag--info {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Risk Score Indicator */
.risk-score {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.risk-score__bar {
    width: 60px;
    height: 6px;
    background: var(--color-bg);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.risk-score__fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width var(--duration-normal);
}

.risk-score__fill--vh { background: linear-gradient(90deg, #dc2626, #ef4444); }
.risk-score__fill--h { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.risk-score__fill--m { background: linear-gradient(90deg, #eab308, #facc15); }
.risk-score__fill--l { background: linear-gradient(90deg, #22c55e, #4ade80); }

.risk-score__value {
    font-size: var(--text-xs);
    font-weight: 700;
    min-width: 36px;
}
