.zoom-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
}

.zoom-btn {
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.zoom-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.zoom-level {
    min-width: 2.5em;
    text-align: center;
}

.text-input {
    width: 20ch;
    height: 120px;
    margin-bottom: 10px;
    overflow: hidden;
    resize: none;
    font-family: monospace;
}

.canvas-container {
    position: relative;
    margin: 0 auto;
    width: 160px;
    height: 144px;
}

#myCanvas {
    display: block;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.controls-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
