#custom-context-menu {
    position: absolute;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 240px;
    padding: 5px 0;
}

.custom-menu-item {
    padding: 13px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: background 0.2s;
    position: relative;
}
.custom-menu-item:not(.disabled):not(.menu-label):not(:last-of-type) {
    border-bottom: 1px solid #eee;
}

.custom-menu-item:hover:not(.disabled) {
    background: #f0f0f0;
}

.custom-menu-item.disabled {
    color: #aaa;
    cursor: not-allowed;
}

.custom-menu-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
    margin: 4px 0;
}

.custom-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 180px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    display: none;
    padding: 5px 0;
}

.custom-menu-item:hover > .custom-submenu {
    display: block;
}


.custom-menu-item.menu-label {
    font-weight: bold;
    color: #555;
    background: #f9f9f9;
    cursor: default;
}
