/* When changing the loader styles, change the same in common.less in office repo. */

.loader {
    box-sizing: border-box;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border: 3px solid #fff;
    border-top: 3px solid #333;
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    animation: spin 1s linear infinite;
}

.loader-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1000000;
    background: rgba(0, 0, 0, 0.1);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
