body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    min-height: 100vh;
}

h1 {
    color: #2c3e50;
    margin: 30px 0 20px 0;
    font-size: 1.8em;
    font-weight: 600;
    letter-spacing: -0.5px;
}

#container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
}

#canvas-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#canvas-container canvas {
    display: block;
    border: none;
}

#gui-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Styles pour dat.GUI - Design minimaliste */
.dg.ac {
    z-index: 1000 !important;
}

.dg.main {
    box-shadow: none !important;
    background-color: transparent !important;
}

.dg .title {
    background-color: #f8f9fa !important;
    color: #495057 !important;
    font-weight: 500 !important;
    border-bottom: 1px solid #e9ecef !important;
}

.dg .c {
    border: none !important;
    background-color: #ffffff !important;
}

.dg .c:hover {
    background-color: #f8f9fa !important;
}

.dg li {
    border-bottom: 1px solid #f0f0f0 !important;
    background-color: transparent !important;
}

.dg li:not(.folder) {
    background-color: #ffffff !important;
    height: 32px !important;
}

.dg .property-name {
    color: #495057 !important;
    font-weight: 400 !important;
}

.dg input[type="text"] {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 4px !important;
    color: #495057 !important;
}

.dg input[type="text"]:hover {
    background-color: #e9ecef !important;
}

.dg input[type="checkbox"] {
    margin-top: 4px !important;
}

.dg .slider {
    background-color: #e9ecef !important;
}

.dg .slider-fg {
    background-color: #667eea !important;
}

.dg .button {
    background-color: #667eea !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    text-shadow: none !important;
    font-weight: 500 !important;
}

.dg .button:hover {
    background-color: #5568d3 !important;
}

/* Responsive design */
@media (max-width: 1000px) {
    #container {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 1.5em;
    }
}