/* source/css/math-graph.css */
.math-graph-container {
    font-family: 'Arial', sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.math-graph-container h1 {
    color: #2c3e50;
    text-align: center;
}

.math-graph-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.graph-area {
    flex: 2;
    min-width: 600px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.graph-controls {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.math-graph-canvas {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    background-color: white;
}

.graph-controls label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

.graph-controls input,
.graph-controls select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.graph-controls button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    width: 100%;
}

.graph-controls button:hover {
    background-color: #2980b9;
}

.examples {
    margin-top: 20px;
    font-size: 14px;
}

.example-btn {
    display: inline-block;
    background: #eee;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}