.button {
    position: relative;
    border: none;
    outline: none;
    text-decoration: none;
    color: #fff;
    background: #32325d;
    white-space: nowrap;
    display: inline-block;
    height: 36px;
    line-height: 36px;
    padding: 0 16px;
    box-shadow: 0 2px 4px rgba(50, 50, 93, .12), 0 1px 2px rgba(0, 0, 0, .08);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    -webkit-transition: all 150ms ease;
    transition: all 150ms ease;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, .10), 0 3px 6px rgba(0, 0, 0, .08);
    background-color: #43458b;
}

.button:after {
    position: absolute;
    left: calc(50% - 0.5em);
    top: 25%;
    height: 1em;
    width: 1em;
    content: '';
    opacity: 0;
    line-height: 100%;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 100%;
    -webkit-animation: rotate 0.6s infinite linear;
    -moz-animation: rotate 0.6s infinite linear;
    -ms-animation: rotate 0.6s infinite linear;
    -o-animation: rotate 0.6s infinite linear;
    animation: rotate 0.6s infinite linear;
    -moz-transition: opacity 0.15s ease-out;
    -o-transition: opacity 0.15s ease-out;
    -webkit-transition: opacity 0.15s ease-out;
    transition: opacity 0.15s ease-out;
}

.button.busy {
    color: transparent;
}

.button.busy:after {
    opacity: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
