.fractal-canopy-app {
    display: flex;
    width: 800px;
    height: 600px;
    margin: 0 auto;
    background: #1a1a1a;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

#treeCanvas {
    width: 600px;
    height: 600px;
    background: #000000;
    cursor: grab;
}

#treeCanvas:active {
    cursor: grabbing;
}

.control-panel {
    width: 200px;
    height: 600px;
    padding: 10px;
    box-sizing: border-box;
    background: #2a2a2a;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.parameter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.parameter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    gap: 10px;
}

.parameter label {
    color: #ddd;
    flex: 1;
    text-align: left;
}

.parameter input[type="number"] {
    width: 60px;
    padding: 4px;
    background: #333;
    border: 1px solid #444;
    color: white;
    border-radius: 3px;
    text-align: left;
    padding-left: 8px;
}

.drawing-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mode-select select {
    width: 100%;
    padding: 5px;
    background: #333;
    color: white;
    border: 1px solid #444;
    border-radius: 3px;
}

.animation-controls {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.speed-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.speed-control label {
    color: #ddd;
    font-size: 12px;
    white-space: nowrap;
}

.speed-control input[type="range"] {
    width: 80px;
    margin: 0;
}

/* Style the range input for better visibility */
.speed-control input[type="range"] {
    -webkit-appearance: none;
    background: #444;
    height: 4px;
    border-radius: 2px;
}

.speed-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.speed-control input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

button {
    padding: 5px 10px;
    background: #444;
    color: white;
    border: 1px solid #555;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #555;
}

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

.info-display {
    font-size: 12px;
    background: #333;
    padding: 8px;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.view-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px;
    align-items: center;
}

.color-controls label {
    color: #ddd;
    font-size: 12px;
}

.color-controls input[type="color"] {
    width: 40px;
    height: 20px;
    padding: 0;
    border: none;
    background: none;
}

.action-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

/* Dark theme specific styles */
.fractal-canopy-app.dark-theme {
    background: #1a1a1a;
    color: #ffffff;
}

/* Light theme specific styles */
.fractal-canopy-app.light-theme {
    background: #f0f0f0;
    color: #000000;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.random-checkbox {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
    accent-color: #666;
}

.unit {
    color: #ddd;
    font-size: 12px;
    min-width: 20px;
} 