.wp-form-automation.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wp-form-automation.modal-overlay .modal-content {
    background-color: white;
    box-shadow: 0px 0px 10px #333;
    width: 70%;
    height: auto;
}

@media only screen and (max-width: 767px) {
    .wp-form-automation.modal-overlay .modal-content {
        width: 90%;
    }
}

.wp-form-automation .wp-form-task-process, .wp-form-automation .wp-form-reset-process {
    color: #1e73be;
    text-align: center;
    min-height: 300px;
    padding: 20px;
}

.wp-form-automation .wp-form-task-process > .loader {
    margin: auto;
    display: block;
    position: relative;
    width:  48px;
    height: 48px;
    background: #1e73be;
    transform: perspective(200px) rotateX(65deg) rotate(45deg);
    color: #f4b8acDD;
    animation: layers1 1s linear infinite alternate;
}
.wp-form-automation .wp-form-task-process > .loader:after {
    content: '';
    position: absolute;
    inset: 0;
    background: #f4b8acDD;
    animation: layerTr 1s linear infinite alternate;
}

@keyframes layers1 {
    0% { box-shadow: 0px 0px 0 0px  }
    90% , 100% { box-shadow: 20px 20px 0 -4px  }
}
@keyframes layerTr {
    0% { transform:  translate(0, 0) scale(1) }
    100% {  transform: translate(-25px, -25px) scale(1) }
}

.wp-form-automation .wp-form-task-process ul {
    margin: auto;
    text-align: left;
    width: 90%;
    margin-left: 50px;
}

.wp-form-automation .wp-form-task-process ul li {
    display: none;
}

.wp-form-automation .wp-form-task-process ul li.done, .wp-form-automation .wp-form-task-process ul li.active {
    display: block;
}

.wp-form-automation .wp-form-task-process ul li.active .loader, .wp-form-automation .wp-form-reset-process .loader {
    margin-left: -28px;
    width: 24px;
    height: 24px;
    border: 5px solid #1e73be;;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 767px) {
    .wp-form-automation .wp-form-task-process {
        padding-left: 0;
        padding-right: 0;
    }
}