.selectSum {
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 16px;
    width: fit-content;
    min-width: 130px;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    color: var(--foreground-color);
    border-radius: 12px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;

    h1 {
        padding: 12px;
        font-size: 18px;
        margin: 0px;
    }

    ul {
        position: relative;
        list-style: none;
        display: flex;
        flex-direction: column;
        width: 100%;
        padding-left: 8px;
        margin: 0px;
        align-items: end;
        overflow-y: auto;
        max-height: 400px;
        font-size: 14px;
        background-color: var(--control-background-color);

        li {
            padding: 4px 16px;

            &::before {
                position: absolute;
                left: 16px;
                content: "+ ";
            }
        }
    }

    h2 {
        font-size: 14px;
        width: 100%;
        padding: 0;
        margin: 12px;

        &::before {
            position: absolute;
            left: 12px;
            content: "= ";
        }

        span {
            text-align: right;
            display: block;
            padding: 0px;
            margin-right: 12px;
        }
    }
}
