﻿.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.spinner-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.spinner-logo {
    position: absolute;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

    .spinner-logo img {
        max-width: 100%;
        max-height: 100%;
    }

.spinner-bars {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 2.2s linear infinite;
    z-index: 2;
}

.bar {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 10px;
    height: 26px;
    margin-left: -5px;
    background: #b90606;
    border-radius: 5px;
    transform-origin: center 50px;
    opacity: 0;
    animation: fade 2.2s linear infinite;
}

    .bar:nth-child(1) {
        transform: rotate(0deg);
        animation-delay: 0s;
    }

    .bar:nth-child(2) {
        transform: rotate(30deg);
        animation-delay: -0.083s;
    }

    .bar:nth-child(3) {
        transform: rotate(60deg);
        animation-delay: -0.166s;
    }

    .bar:nth-child(4) {
        transform: rotate(90deg);
        animation-delay: -0.249s;
    }

    .bar:nth-child(5) {
        transform: rotate(120deg);
        animation-delay: -0.332s;
    }

    .bar:nth-child(6) {
        transform: rotate(150deg);
        animation-delay: -0.415s;
    }

    .bar:nth-child(7) {
        transform: rotate(180deg);
        animation-delay: -0.498s;
    }

    .bar:nth-child(8) {
        transform: rotate(210deg);
        animation-delay: -0.581s;
    }

    .bar:nth-child(9) {
        transform: rotate(240deg);
        animation-delay: -0.664s;
    }

    .bar:nth-child(10) {
        transform: rotate(270deg);
        animation-delay: -0.747s;
    }

    .bar:nth-child(11) {
        transform: rotate(300deg);
        animation-delay: -0.830s;
    }

    .bar:nth-child(12) {
        transform: rotate(330deg);
        animation-delay: -0.913s;
    }

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}