body {
    background-color: #2e2e2e;
    color: white;
    font-family: Arial, sans-serif;
}
.sidebar {
    background: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
canvas {
    border: 2px solid white;
    background: #e0e0e0;
    max-width: 100%;
    height: auto;
}
#brushPreview {
    border: 1px solid #ccc;
}
#brushColor {
    width: 70px;
    margin-left: 15px;
}
#kernelEditor table{
    margin: auto;
}
.btn-custom {
    width: 100%;
    margin-bottom: 10px;
}
#undo, #redo {
    max-width: 120px;
}
#imageCanvas {
    margin-top: 50px;
}
.col-md-6 {
    text-align: center;
}
.inline {
    display: flex;
    justify-content: center;
}
#copic {
    display: flex;
    flex-direction: column;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 10px 5px rgba(255, 0, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
}

.animated-button {
    animation: pulse 1.5s infinite;
    transition: transform 0.3s ease;
}
