/* Old user/partials/swap-loader.blade.php inline <style> (full-page two-dot loader), unchanged. */
    .custom-loader {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .custom-loader.fullpage {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.75);
        z-index: 9999;
    }

    .spinner {
        position: relative;
        width: 50px;
        height: 30px;
    }

    .dot {
        position: absolute;
        top: 50%;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        transform: translateY(-50%);
    }

    .blue {
        left: 0;
        background: #96F9FF;
        /* orange/red color */
        animation: blueSwap 3s linear infinite;
    }

    .yellow {
        left: 25px;
        /* balanced spacing */
        background: #50BCDD;
        /* blue color */
        animation: yellowSwap 3s linear infinite;
    }

    @keyframes blueSwap {
        0% {
            transform: translateY(-50%) translateX(0);
            z-index: 1;
        }

        25% {
            transform: translateY(-50%) translateX(25px);
            z-index: 2;
        }

        50% {
            transform: translateY(-50%) translateX(25px);
            z-index: 2;
        }

        75% {
            transform: translateY(-50%) translateX(0);
            z-index: 1;
        }

        100% {
            transform: translateY(-50%) translateX(0);
            z-index: 1;
        }
    }

    @keyframes yellowSwap {
        0% {
            transform: translateY(-50%) translateX(0);
            z-index: 2;
        }

        25% {
            transform: translateY(-50%) translateX(0);
            z-index: 1;
        }

        50% {
            transform: translateY(-50%) translateX(-25px);
            z-index: 1;
        }

        75% {
            transform: translateY(-50%) translateX(0);
            z-index: 2;
        }

        100% {
            transform: translateY(-50%) translateX(0);
            z-index: 2;
        }
    }
