* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
    height: 100vh;
    display: flex;
}

.sidebar {
    width: 300px;
    background: white;
    border-right: 1px solid #e2e8f0;
    padding: 20px;
    overflow-y: auto;
}

.sidebar h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.island-config {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.canvas {
    position: relative;
    width: 2000px;
    height: 1500px;
    background: #ffffff;
    cursor: crosshair;
}

#app {
    display: flex;
    gap: 20px;
    padding: 1rem;
}

.canvas-container {
    flex: 1;
    position: relative;
    overflow: auto;
    background: #ffffff;
}

canvas {
    border: 1px solid black;
    position: relative;
    background: #ffffff;
    cursor: crosshair;
}

#controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

fieldset {
    border: 1px solid #ccc;
    padding: 10px;
}

.hidden {
    display: none;

}