@mixin hide-text() {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@mixin min-tap-target($size, $center: true) {
    position: relative;

    &::before {
        content: '';
        position: absolute;
        width: $size;
        height: $size;

        @if $center {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
    }
}
