.button-loader-spinner {
    height: 17px;
}

.button-loader-text {
    margin: 0px;
}

.button-loader-has-text {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* AON Loading Mask */
.aon-loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 71%);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.aon-loading-content {
    background-color: transparent;
    border-radius: 8px;
    padding: 2rem 3rem;
    box-shadow: none;
    text-align: center;
    min-width: 300px;
}

.aon-loading-spinner {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.aon-loading-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #dc3545;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: aon-orbit-circle 2s linear infinite;
}

.aon-loading-dot:nth-child(1) {
    animation-delay: 0s;
}

.aon-loading-dot:nth-child(2) {
    animation-delay: 0.25s;
}

.aon-loading-dot:nth-child(3) {
    animation-delay: 0.5s;
}

.aon-loading-dot:nth-child(4) {
    animation-delay: 0.75s;
}

.aon-loading-dot:nth-child(5) {
    animation-delay: 1s;
}

.aon-loading-dot:nth-child(6) {
    animation-delay: 1.25s;
}

.aon-loading-dot:nth-child(7) {
    animation-delay: 1.5s;
}

.aon-loading-dot:nth-child(8) {
    animation-delay: 1.75s;
}

@keyframes aon-orbit-circle {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(22px) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(22px) rotate(-360deg);
    }
}

.aon-loading-message {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.aon-loading-subtitle {
    color: white;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin: 0;
}