
#ctl00_UpdateProgress,
#ctl00_UpdateProgressCheckout,
#ctl00_ContentPlaceHolder1_UpdateProgress,
#UpdateProgress,
#loaderDiv,
[id$="_UpdateProgress"],
[id$="_UpdateProgressCheckout"] {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.55) !important;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 999999 !important;
    font-size: 0 !important;      /* hides the old "Please wait.." text */
    color: transparent !important;
    text-align: center !important;
    cursor: progress;
}

    /* old gif and inner markup are not shown; the card below replaces them */
    #ctl00_UpdateProgress > *,
    #ctl00_UpdateProgressCheckout > *,
    #ctl00_ContentPlaceHolder1_UpdateProgress > *,
    #UpdateProgress > *,
    #loaderDiv > *,
    [id$="_UpdateProgress"] > *,
    [id$="_UpdateProgressCheckout"] > * {
        display: none !important;
    }

    /* card + text */
    #ctl00_UpdateProgress::before,
    #ctl00_UpdateProgressCheckout::before,
    #ctl00_ContentPlaceHolder1_UpdateProgress::before,
    #UpdateProgress::before,
    #loaderDiv::before,
    [id$="_UpdateProgress"]::before,
    [id$="_UpdateProgressCheckout"]::before {
        content: "Please wait\2026";
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        min-width: 170px;
        box-sizing: border-box;
        padding: 62px 28px 22px;
        background: #ffffff;
        border-radius: 14px;
        box-shadow: 0 14px 40px rgba(6, 30, 45, 0.18), 0 2px 6px rgba(6, 30, 45, 0.08);
        font: 600 14px/20px 'Poppins', 'Open Sans', Arial, sans-serif;
        letter-spacing: 0.2px;
        color: #1d2b36;
        white-space: nowrap;
    }

    /* spinner (inside the card, above the text) */
    #ctl00_UpdateProgress::after,
    #ctl00_UpdateProgressCheckout::after,
    #ctl00_ContentPlaceHolder1_UpdateProgress::after,
    #UpdateProgress::after,
    #loaderDiv::after,
    [id$="_UpdateProgress"]::after,
    [id$="_UpdateProgressCheckout"]::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 30px;
        height: 30px;
        margin: -36px 0 0 -15px;
        box-sizing: border-box;
        border-radius: 50%;
        border: 3px solid #e3eef2;
        border-top-color: #f58220;    /* ethniv orange */
        border-right-color: #00a3b8;  /* ethniv teal */
        -webkit-animation: ethnivSpin 0.8s linear infinite;
        animation: ethnivSpin 0.8s linear infinite;
    }

@-webkit-keyframes ethnivSpin {
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes ethnivSpin {
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    #ctl00_UpdateProgress::after,
    #ctl00_UpdateProgressCheckout::after,
    #ctl00_ContentPlaceHolder1_UpdateProgress::after,
    #UpdateProgress::after,
    #loaderDiv::after,
    [id$="_UpdateProgress"]::after,
    [id$="_UpdateProgressCheckout"]::after {
        -webkit-animation-duration: 2s;
        animation-duration: 2s;
    }
}
