﻿.canvas-block {
    position: relative;
    background: #A1BAED;
    border: 6px solid #383F78;
    border-radius: 35px;
    padding: 15px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 152px;
    height: 90px;
    cursor: default;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin: 5px;
    font-weight: 500;
    font-size: 50px;
}

.canvas-block .symbol {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    font-size: 50px;
    color: var(--color-black);
    line-height: 1;
}

.canvas-area {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border: 15px solid var(--color-grey);
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 54px;
    box-sizing: border-box;
}

.canvas-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    min-height: 60px;
    width: 100%;
    padding: 20px;
    height: fit-content;
    box-sizing: border-box;
}

.context-menu {
    position: fixed;
    background: #CFCFCF;
    padding: 10px 0;
    z-index: 1000;
    display: none;
    min-width: 166px;
}

.context-menu.show {
    opacity: 1;
    transform: translateY(0);
}

.context-menu-item {
    width: 100%;
    padding: 12px 20px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 28px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease;
}

.context-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
}