
.loading-indicator {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.7);
    z-index: 9999;
    display: block;
}

    .loading-indicator::after {
        content: '';
        display: block;
        position: absolute;
        left: 48%;
        top: 40%;
        width: 40px;
        height: 40px;
        border-style: solid;
        border-color: black;
        border-top-color: transparent;
        border-width: 4px;
        border-radius: 50%;
        -webkit-animation: spin .8s linear infinite;
        animation: spin .8s linear infinite;
    }

.payment-loading-indicator {
    position: absolute; /* Set the loader to absolute positioning */
    width: 100%; /* Fill the entire width of the container */
    height: 100%; /* Fill the entire height of the container */
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex; /* Optional: Use flexbox for centering */
    justify-content: center; /* Optional: Center horizontally */
    align-items: center; /* Optional: Center vertically */
}

    .payment-loading-indicator::after {
        content: '';
        display: block;
        width: 40px;
        height: 40px;
        border-style: solid;
        border-color: black;
        border-top-color: transparent;
        border-width: 4px;
        border-radius: 50%;
        -webkit-animation: spin .8s linear infinite;
        animation: spin .8s linear infinite;
    }

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

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

    to {
        transform: rotate(360deg);
    }
}
