.dc-chart g.row text {
    fill: #000;
    font-size: 12px;
    font-weight: 500; 
}


.case-title {
    flex: wrap;
    font-size: 20px;
    font-weight: 600; 
    color: black;
    text-decoration: none;
    margin-right: 10px; 
    /* font-family: untitled-serif, serif; */
}

.case-count {
    font-size: 22px; 
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.state-case-count {
    font-size: 12px; 
    font-weight: 500; 
}

.case-filters {
    font-size: 18px; 
    font-weight: 500;
    opacity: 0.7;
}

.case-title:hover {
    text-decoration: underline;
}

.case-date {
    flex: wrap;
    font-size: 14px;
    font-weight: 500; 

    margin-right: 10px; 
    margin-bottom: 20px; 
}

.case-topics-and-status {
    color: #060ff0;
    font-size: 14px;
    font-weight: 500;
}

.case-parties {
    flex: wrap;
    font-size: 17px;
    font-weight: 500; 
    margin-right: 10px; 
}

.case-excerpt{
    font-size: 14px;
    font-weight: 400; 
    line-height: -2px;

    margin-right: 10px; 
    margin-block-start: 2px;
    margin-block-end: 2px;
}

.case {
    display: flex;
    flex-direction: row;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #D3D3D3;
}

#chart-topic, #chart-caseStatus {
    font-size: 12px;
    font-weight: 500;
}

#chart-topic label {
    display: block;
    padding-right: 10px;
    padding-left: 20px;
    text-indent: -22px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 10px;
}

.state-img {
    padding-top: 16px;
    padding-right: 16px;
}

.y-axis-label {
    font-size: 14px;
}

/* SVG chart title (for map) */
.map-title {
    font-size: 13px;
    font-weight: 600;
    fill: #1a365d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filter Boxes */
.filter-boxes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
}

.filter-box {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px 6px;
    background-color: #f5f5f5;
    animation: filterBoxIn 0.2s ease-out;
    transform-origin: top center;
}

@keyframes filterBoxIn {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

.filter-box-title {
    font-size: 15px;
    margin-top: 3px;
    margin-bottom: 6px;
    color: #444;
    font-weight: 700;
}

.filter-box-values {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
    margin-bottom: 5px;
}

.filter-value-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-value-badge:hover {
    background-color: #fee;
    border-color: #c88;
}

.filter-value-close {
    color: #888;
    font-size: 10px;
}

.filter-value-badge:hover .filter-value-close {
    color: #c00;
}

.clear-button {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 1px 6px;
    margin-right: 8px;
    cursor: pointer;
    font-size: 12px;
    height: 22px;
}

.clear-button:hover {
    background-color: #e0e0e0;
}


