// CSS improvements for better contrast and visibility
.high-contrast-canvas {
    border: 2px solid #333 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    background-color: #000 !important;
}

.canvas-wrapper {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.canvas-label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #003366;
}

/* Improved filter button */
.filter-button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 10px 0;
    width: 100%;
    transition: background-color 0.3s;
}

.filter-button.active {
    background-color: #00a86b;
}

.filter-button:hover {
    background-color: #004080;
}

.filter-button.active:hover {
    background-color: #008c58;
}

/* Improved slider styling */
input[type="range"] {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #003366;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #004080;
}

.slider-container {
    margin: 15px 0;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

/* Animation container improvements */
.animation-container {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

/* Button improvements */
button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #004080;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
