/* Demo-specific styles for bias-variance demo */

.plot-container {
    margin-bottom: 20px;
}

.plot-container--spaced {
    margin-top: 30px;
}

.controls {
    height: 470px;
}

#errorChart {
    margin-top: 20px;
}

.value-display {
    font-size: 18px;
    font-weight: bold;
    color: #2563eb;
}

/* Button styling */
#show-bootstrap-btn {
    background-color: #7c3aed;
    color: white;
}

#show-bootstrap-btn:hover {
    background-color: #6d28d9;
}

#toggle-test-btn {
    background-color: #f59e0b;
    color: white;
}

#toggle-test-btn:hover {
    background-color: #d97706;
}

/* Equation display */
#equation {
    font-size: 16px;
    text-align: center;
    margin: 15px 0;
    max-width: 100%;
    padding: 10px 5px;
    height: 100px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Smaller font for multi-line equations */
#equation.small-eq {
    font-size: 13px;
}

/* MSE boxes - colors are set via MetricLabel in script.js */

/* Chart containers */
canvas {
    max-width: 100%;
}

#scatterPlot {
    height: 520px !important;
    max-width: 650px;
    max-height: 520px;
}

#errorChart {
    height: auto;
}
