.loading-btn {
    cursor: not-allowed;
    opacity: 0.5;
    width: 100%;
    border: 0;
    height: 1.8rem;
    background-color: #ff2044;
    color: #fff;
    font-size: 0.8rem;
}

.loading-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-top-color: transparent;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}