.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-inverse);
}

.btn-primary {
    border-radius: 60px;
    text-align: center;
    background: var(--bg-surface);
    color: var(--text-main);
    border: 2px solid var(--bg-surface);

    transition: all ease-in-out 0.3s;

    &:hover {
        background: var(--bg-primary);
        color: var(--text-inverse);
        border: 2px solid var(--bg-surface);
        box-shadow: 0 0 5px 1px var(--bg-primary-subtle);
    }
}

.btn-secondary {
    border-radius: 60px;
    text-align: center;
    border: 2px solid var(--bg-surface);
    color: var(--text-inverse);

    transition: all ease-in-out 0.3s;

    &:hover {
        background: var(--bg-surface);
        color: var(--text-main);
        box-shadow: 0 0 5px 1px var(--bg-surface);
    }
}


.pos,
.neg {
    all: unset;
    font-family: Poppins, Verdana, sans-serif;
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 18px;
    box-sizing: border-box;
    box-shadow: var(--shadow);
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all ease-in-out 0.3s;

    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
    }
}

.pos {
    background-color: var(--bg-primary);
    color: var(--text-inverse);
}

.neg {
    color: var(--text-primary);

    &:hover {
        background: var(--bg-primary);
        color: var(--text-inverse);
    }
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.buttons:has(.pos:hover, .neg:hover) .pos:not(:hover),
.buttons:has(.pos:hover, .neg:hover) .neg:not(:hover) {
    opacity: .5;
    transform: none;
    background: var(--bg-surface);
    color: var(--text-primary);
}

@media (max-width: 780px) {
    .btn-secondary {
        display: none;
    }

    .btn-primary {
        padding: 0 14px;
    }

    .btn {
        height: 32px;
        padding: 0 12px;
        font-size: 14px;
    }

}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-muted);
    padding: 0;
}

.btn-icon:hover {
    background-color: var(--bg-surface-hover);
    color: var(--text-main);
}

.edit-btn:hover {
    background-color: var(--bg-primary-subtle);
    color: var(--text-primary);
}

.delete-btn:hover {
    background-color: var(--bg-danger-subtle);
    color: var(--text-danger);
}

.delete-btn:hover svg {
    stroke: var(--text-danger);
}