.lds-roller[display="false"] {
    display: none;
}

.lds-roller, .lds-roller div, .lds-roller div:after {
    box-sizing: border-box;
}

.lds-roller {
    display: inline-block;
    position: absolute;
    left: calc(50% - 15px);
    top: calc(50% - 15px);
    width: 30px;
    height: 30px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 15px 15px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 2.7px; /* Adjusted for proportional scaling */
    height: 2.7px;
    border-radius: 50%;
    background: #0038ff;
    margin: -1.35px 0 0 -1.35px; /* Adjusted for proportional scaling */
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 23.484px;
    left: 23.484px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 25.392px;
    left: 21px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 26.591px;
    left: 18.105px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 27px;
    left: 15px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 26.591px;
    left: 11.895px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 25.392px;
    left: 9px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 23.484px;
    left: 6.516px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 21px;
    left: 4.608px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}