.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.controls {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

select {
    padding: 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    min-width: 150px;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider {
    -webkit-appearance: none;
    width: 200px;
    height: 8px;
    border-radius: 4px;
    background: #dee2e6;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #35b0ab;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #35b0ab;
    cursor: pointer;
    border: none;
}

.slider-value {
    font-size: 14px;
    color: #666;
    min-width: 80px;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.bar-for {
    fill: #15607A;
}

.bar-against {
    fill: #65E0BA;
}

.axis-label {
    font-size: 12px;
    fill: #666;
}

.opponent-label {
    font-size: 12px;
    fill: #333;
    font-weight: 500;
    pointer-events: none;
    z-index: 1000;
}

.label-background {
    fill: white;
    stroke: none;
    rx: 3;
}

.opponent-background {
    fill: white;
    stroke: #f5f5f5;
    stroke-width: 1px;
    rx: 3;
}

.title {
    font-size: 16px;
    fill: #333;
    text-anchor: middle;
}

.opponent-labels {
    pointer-events: none;
}

.toggle-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.toggle-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #35b0ab;
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}