#paintapp {
	display: flex;
}

   #paintCanvas {
            border: 2px solid #7f7f7f;
    box-shadow: inset 2px 2px 2px #ffffff, inset -2px -2px 2px #4d4d4d;
        }

        /* Toolbar Styling */
        .toolbar {
            display: flex;
            flex-direction: row;
            margin-left: 10px; /* Platzierung rechts */
            background-color: #d3d3d3;
            padding: 10px;
            
					gap: 10px;
					  border: 2px solid #7f7f7f;
    box-shadow: inset 2px 2px 2px #ffffff, inset -2px -2px 2px #4d4d4d;
        }

        .tool {
            width: 40px;
            height: 40px;
            margin-bottom: 5px;
            display: flex;
            justify-content: center;
            align-items: center;
          
            cursor: pointer;
				  border: 2px solid #7f7f7f;
    box-shadow: inset 2px 2px 2px #ffffff, inset -2px -2px 2px #4d4d4d;
        }

.color {
            width: 25px;
            height: 25px;
            margin-bottom: 5px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid #000;
            cursor: pointer;
	box-shadow: 1px 2px 0 inset #00000040;
        }

        .tool img {
            max-width: 50px;
            max-height: 50px;
        }

      

        .color.active {
            border: 2px solid #000;
        }

        .tool.active {
            background-color: #b3b3b3;
        }

        .custom-color {
            position: relative;
            overflow: hidden;
        }

        .custom-color input[type="color"] {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }

        .toolbar label {
            font-size: 14px;
            margin-bottom: 5px;
        }

        .toolbar input[type="range"] {
            width: 100%;
            margin-bottom: 10px;
        }

/* Size Selector - integrated in toolbar */
.size-selector {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    margin-top: 10px;
}

.size-btn {
    background-color: #000;
    border: 2px outset #ffffff;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.2s;
}

/* Visual representation of sizes - small squares that increase in size */
.size-btn[data-value="4"] {
    width: 8px;
    height: 8px;
}

.size-btn[data-value="8"] {
    width: 12px;
    height: 12px;
}

.size-btn[data-value="16"] {
    width: 16px;
    height: 16px;
}

.size-btn[data-value="32"] {
    width: 20px;
    height: 20px;
}

.size-btn:hover {
    background-color: #333;
}

.size-btn.active {
    background-color: #000;
    border-style: inset;
    box-shadow: inset 1px 1px 2px #666;
}

/* Tool Options Panel - no longer needed, kept for backwards compatibility */
.tool-options-panel {
    background-color: #d3d3d3;
    border: 2px solid #7f7f7f;
    box-shadow: inset 2px 2px 2px #ffffff, inset -2px -2px 2px #4d4d4d;
    padding: 10px;
    margin-top: 10px;
    display: none;
    min-height: 60px;
}

.tool-options-panel.visible {
    display: block;
}

/* Simplified: No more tool-specific content blocks needed */
.options-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.options-label {
    font-family: "MS Sans Serif", Geneva, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #000;
    margin-bottom: 3px;
}

.options-buttons {
    display: flex;
    gap: 5px;
}

.option-btn {
    padding: 4px 8px;
    font-family: "MS Sans Serif", Geneva, sans-serif;
    font-size: 11px;
    background-color: #d3d3d3;
    border: 2px outset #ffffff;
    cursor: pointer;
    min-width: 35px;
    text-align: center;
}

.option-btn:hover {
    background-color: #e0e0e0;
}

.option-btn:active {
    border-style: inset;
}

.option-btn.active {
    background-color: #b3b3b3;
    border-style: inset;
    font-weight: bold;
}
