/* Paint App Styles */
.paint-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #2d2d2d;
    /* Dark background like Windows 11 Paint */
    color: #ffffff;
    font-family: 'Segoe UI Variable', 'Segoe UI', sans-serif;
    overflow: hidden;
}

/* Toolbar */
.paint-toolbar {
    background-color: #3c3c3c;
    border-bottom: 1px solid #1a1a1a;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.paint-toolbar-section {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 4px;
}

.paint-toolbar-label {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin-right: 4px;
}

.paint-tool-btn,
.paint-shape-btn {
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.1s;
    color: #ffffff;
}

.paint-tool-btn:hover,
.paint-shape-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.paint-tool-btn.active,
.paint-shape-btn.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.paint-tool-btn svg,
.paint-shape-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Color Palette */
.paint-colors-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.paint-color-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
}

.paint-color {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.1s;
}

.paint-color:hover {
    transform: scale(1.1);
}

.paint-color.active {
    border-color: #ffffff;
    box-shadow: 0 0 0 1px #000000;
}

.paint-color-wheel-container {
    position: relative;
}

.paint-color-wheel {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.paint-current-color {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #000000;
}

/* Main Content */
.paint-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* Sidebar */
.paint-sidebar {
    width: 60px;
    background-color: #3c3c3c;
    border-right: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 8px;
}

.paint-tool {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.1s;
    color: #ffffff;
}

.paint-tool:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.paint-tool.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.paint-tool svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Canvas Area */
.paint-canvas-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: auto;
}

.paint-canvas {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: crosshair;
}

/* Status Bar */
.paint-footer {
    height: 28px;
    background-color: #3c3c3c;
    border-top: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 0.8rem;
    color: #b0b0b0;
}

.paint-status-left,
.paint-status-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.paint-clear-btn {
    background-color: transparent;
    border: 1px solid #666;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.1s;
}

.paint-clear-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}