:root {
    --loader-color: #333333;
}

@keyframes loader-animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes progress-gradient {
    0% {
        background-position: 70% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

.tx-loader-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.tx-loader {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: loader-animation 1s linear infinite;
    border: 8px solid var(--loader-color);
    border-left-color: transparent !important;
}
    .tx-loader.tx-loader-25 {
        border-left-color: transparent !important;
        border-right-color: transparent !important;
        border-bottom-color: transparent !important;
    }

    .tx-loader.tx-loader-50 {
        border-left-color: transparent !important;
        border-bottom-color: transparent !important;
    }

    .tx-loader.tx-loader-75 {
        border-left-color: transparent !important;
    }

.authorizing-loader {
    height: calc(100vh - 65px);
    /* width: calc(100vw - 60px); */
}

html, body {
    padding: 0;
    margin: 0;
}

.initial-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.progress {
    display: flex;
    height: 24px;
    overflow: hidden;
    border-radius: 4px;
    width: min(500px, 100%);
    border: 1px solid var(--loader-color);
    background: linear-gradient(90deg, #eeeeee 45%, #dddddd, #eeeeee 55%);
    background-size: 400% 400%;
    animation: progress-gradient 5s ease infinite;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: white;
    font-family: sans-serif;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    background-color: var(--loader-color);
}