.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;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
}

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

.chart-title {
    fill: #333;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; */
}

.line-for {
    fill: none;
    stroke: #15607A;
    stroke-width: 2;
}

.line-against {
    fill: none;
    stroke: #FF6F61;
    stroke-width: 2;
}

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

.dot-against {
    fill: #FF6F61;
}

.avg-dot-for {
    fill: white;
    stroke: #15607A;
    stroke-width: 2;
}

.avg-dot-against {
    fill: white;
    stroke: #FF6F61;
    stroke-width: 2;
}

.opponent-label {
    font-size: 12px;
    fill: #333;
    font-weight: 500;
}

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

.grid line {
    stroke: #000;
}

.grid path {
    stroke-width: 0;
}

.value-label {
    font-size: 10px;
    fill: #666;
    font-weight: 500;
}

.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);
}