.aws-drawing-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 15px;
}
.aws-drawing-canvas {
    border: 2px solid #ccc;
    background: #fff;
    cursor: crosshair;
    touch-action: none;
    max-width: 100%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.aws-drawing-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}
.aws-drawing-undo,
.aws-drawing-clear {
    flex: 1;
    max-width: 140px;
    background: #f0f0f0;
    color: #000000;
    border: 1px solid #ccc;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    outline: none;
}

/* Your requested rule - buttons never change on hover or active */
button.aws-drawing-undo:hover, 
button.aws-drawing-clear:hover, 
button.aws-drawing-undo:active, 
button.aws-drawing-clear:active {
    color: #000000 !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .aws-drawing-canvas {
        width: 100% !important;
        height: auto !important;
    }
}