body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.main-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.toolbar {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.workspace {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#drawing-area {
    border: 1px solid #ccc; 
    background-color: white; 
    cursor: crosshair;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.status-bar {
    margin-top: 5px; 
    color: #555; 
    font-size: 12px;
}

button {
    padding: 10px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    transition: background 0.2s;
    font-size: 14px;
}

button:hover {
    background-color: #0056b3;
}

button.active {
    background-color: #004494;
    border-left: 5px solid #002a5c;
    font-weight: bold;
}

label {
    font-size: 13px;
    margin-top: 5px;
    color: #333;
}

input[type="range"] {
    width: 100%;
}

hr {
    width: 100%;
    border: 0;
    border-top: 1px solid #eee;
    margin: 10px 0;
}