/* styles/fourier.css */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f4f4f9;
}

.viz-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Sidebar */
.controls-sidebar {
    width: 300px;
    background: white;
    padding: 25px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

h2 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    font-size: 1.2rem;
}

.control-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

select,
input[type="file"] {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

input[type="range"] {
    width: 100%;
    margin-top: 5px;
    cursor: pointer;
}

.info-box {
    margin-top: 10px;
    background: #e8f4fd;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #2980b9;
    line-height: 1.5;
}

/* Main Display Area (2x2 Grid) */
.canvas-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns */
    gap: 30px;
    padding: 30px;
    align-content: center;
    max-width: 900px;
    /* Prevents it from getting too stretched on ultra-wide screens */
    margin: 0 auto;
}

.canvas-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.canvas-col h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.1rem;
}

canvas {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1 / 1;
    background: #000;
    border-radius: 4px;
    image-rendering: pixelated;
}