.icon-wrap img {
    max-width: 48px
}

.animate-spin {
    display: inline-block;
    animation: 1s linear infinite spin;
    margin-left: 5px
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

.animate-check {
    color: #28a745;
    display: inline-block;
    animation: .5s forwards checkAnim;
    margin-left: 5px
}

@keyframes checkAnim {
    0% {
        transform: scale(0);
        opacity: 0
    }
    50% {
        transform: scale(1.2);
        opacity: 1
    }
    100% {
        transform: scale(1);
        opacity: 1
    }
}

.has-error .form-control {
    border-color: #dc3545;
    padding-right: 2.5rem
}

.has-error .form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .25)
}

.error-icon {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #dc3545;
    font-size: 1rem;
    cursor: pointer
}
