.icon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    line-height: 1;
    align-items: center;
    justify-content: center;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

.icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    stroke: currentColor;
    display: block;
}

.icon-fw {
    width: 1.25em;
    justify-content: center;
}