.paint-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ECE9D8;
    font-family: Tahoma, 'Segoe UI', sans-serif;
    position: relative;
}

.paint-app .menu-bar {
    display: flex;
    background-color: #ECE9D8;
    border-bottom: 1px solid #ACA899;
    padding: 2px 0;
}

.paint-app .menu-item {
    padding: 2px 8px;
    cursor: default;
}

.paint-app .menu-item:hover {
    background-color: #316AC5;
    color: white;
}

.paint-app .paint-workspace {
    display: flex;
    flex-grow: 1;
    background-color: #ECE9D8;
}

.paint-app .button-toolbar {
    width: 80px;
    padding: 5px;
    background-color: #ECE9D8;
    border-right: 1px solid #ACA899;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.paint-app .paint-button {
    padding: 4px 8px;
    background-color: #ECE9D8;
    border: 1px solid #ACA899;
    cursor: pointer;
    font-family: Tahoma, 'Segoe UI', sans-serif;
    font-size: 11px;
    white-space: nowrap;
}

.paint-app .paint-button:hover {
    background-color: #fff;
}

.paint-app .paint-button.active {
    background-color: #C1D2EE;
    border-color: #316AC5;
}

.paint-app .canvas-container {
    flex-grow: 1;
    background-color: #ECE9D8;
    padding: 3px;
    overflow: auto;
}

.paint-app #paint-canvas {
    background-color: white;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.paint-app .color-palette {
    height: 50px;
    background-color: #ECE9D8;
    border-top: 1px solid #ACA899;
    display: flex;
    padding: 5px;
}

.paint-app .current-colors {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
}

.paint-app .primary-color,
.paint-app .secondary-color {
    width: 30px;
    height: 15px;
    border: 1px solid #ACA899;
}

.paint-app .color-grid {
    display: grid;
    grid-template-columns: repeat(18, 1fr);
    gap: 1px;
}

.paint-app .color {
    width: 15px;
    height: 15px;
    border: 1px solid #ACA899;
    cursor: pointer;
}

.paint-app .status-bar {
    height: 20px;
    background-color: #ECE9D8;
    border-top: 1px solid #ACA899;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 5px;
    font-size: 11px;
}

.paint-app .grinch {
    width: 100px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    position: absolute;
    bottom: 24px;
    right: 0px;
    z-index: 1000;
    pointer-events: none;
}

/* Update the window-content style for Paint windows */
.window .paint-app .window-content {
    padding: 0;
    background: #ECE9D8;
}