/* Reset & General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Main Layout */
.container {
    display: flex;
    height: 100vh;
    background-color: #222;
    color: #fff;
}

/* Sidebar (Filters + Layers) */
.sidebar {
    width: 300px;
    background: #333;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

/* Filters & Layers Sections */
.filters, .layers {
    background: #444;
    padding: 15px;
    border-radius: 8px;
}

/* Section Titles */
.filters h2, .layers h2 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
}

/* Filter Controls */
.filter-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.filter-group label {
    flex: 1;
    font-size: 14px;
}

/* Sliders */
.filter-group input[type="range"] {
    flex: 2;
    margin: 0 10px;
}

/* Number Inputs */
.filter-group input[type="number"] {
    width: 50px;
    text-align: center;
    background: #222;
    color: #fff;
    border: 1px solid #666;
    border-radius: 4px;
}

/* Toggles */
.toggle-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.toggle-group label {
    flex: 1;
    font-size: 14px;
}

.toggle-group input {
    transform: scale(1.2);
}

/* Canvas Area */
.canvas-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #111;
}

canvas {
    max-width: 100%;
    max-height: 100%;
    background: #000;
    border: 1px solid #555;
}

/* Layers Section */
.layers {
    background: #444;
    padding: 15px;
    border-radius: 8px;
}

.layers h2 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
}

/* Layer Item */
.layer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.layer-item span {
    font-size: 14px;
}

.layer-item input[type="range"] {
    flex: 2;
    margin: 0 10px;
}

.layer-item button {
    padding: 5px 10px;
    background-color: #555;
    color: white;
    border: none;
    cursor: pointer;
}

.layer-item button:hover {
    background-color: #777;
}

.layer-item button:focus {
    outline: none;
}