form {
    position: relative;

    .ajax-loading {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
        background-color: #000;
        opacity: 0.6;
        animation: 0.4s 1 linear loader-fade-in;
        border-radius: 3px;

        &::before {
            content: '';
            background: url("../img/loading.svg") no-repeat 50% 50%;
            width: 43px;
            height: 11px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
    }
}

@keyframes loader-fade-in {
    from { opacity: 0 }
    to { opacity: 0.6 }
}