.senate-chart-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    font-family: 'Merriweather', serif;
    border: 1px solid #eee;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
}

.senate-chart-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #121212;
}

.senate-chart-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.chart-row:last-child {
    border-bottom: none;
}

.state-label {
    width: 120px;
    font-weight: bold;
    flex-shrink: 0;
    color: #333;
}

.chart-vis {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prob-bar-container {
    flex-grow: 1;
    height: 24px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
}

.prob-bar-dem {
    background-color: #0056b3;
    height: 100%;
}

.prob-bar-rep {
    background-color: #c82333;
    height: 100%;
}

.prob-text {
    font-size: 14px;
    color: #555;
    white-space: nowrap;
    width: 45px;
    text-align: right;
}

.prob-text.dem {
    color: #0056b3;
    font-weight: bold;
    text-align: left;
}

.prob-text.rep {
    color: #c82333;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .chart-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .state-label {
        width: 100%;
        margin-bottom: 2px;
    }
    .chart-vis {
        width: 100%;
    }
}
