.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-text {
    margin-top: 30px;
    color: var(--color-gray);
    font-size: 1rem;
    font-family: var(--bs-body-font-family);
    font-weight: bold;
}

.global-loader.active {
    opacity: 1;
    pointer-events: all;
}

.sk-chase {
    width: 80px;
    height: 80px;
    position: relative;
    animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: sk-chase-dot 2.0s infinite ease-in-out both;
}

.sk-chase-dot:before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color: var(--color-accent);
    border-radius: 100%;
    animation: sk-chase-dot-before 2.0s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1) { animation-delay: -1.1s; }
.sk-chase-dot:nth-child(2) { animation-delay: -1.0s; }
.sk-chase-dot:nth-child(3) { animation-delay: -0.9s; }
.sk-chase-dot:nth-child(4) { animation-delay: -0.8s; }
.sk-chase-dot:nth-child(5) { animation-delay: -0.7s; }
.sk-chase-dot:nth-child(6) { animation-delay: -0.6s; }
.sk-chase-dot:nth-child(1):before { animation-delay: -1.1s; }
.sk-chase-dot:nth-child(2):before { animation-delay: -1.0s; }
.sk-chase-dot:nth-child(3):before { animation-delay: -0.9s; }
.sk-chase-dot:nth-child(4):before { animation-delay: -0.8s; }
.sk-chase-dot:nth-child(5):before { animation-delay: -0.7s; }
.sk-chase-dot:nth-child(6):before { animation-delay: -0.6s; }

@keyframes sk-chase {
    100% { transform: rotate(360deg); }
}

@keyframes sk-chase-dot {
    80%, 100% { transform: rotate(360deg); }
}

@keyframes sk-chase-dot-before {
    50% {
        transform: scale(0.4);
    } 100%, 0% {
          transform: scale(1.0);
      }
}

/*.spinner {*/
/*    animation: rotate 2s linear infinite;*/
/*    width: 50px;*/
/*    height: 50px;*/
/*}*/

/*.spinner .path {*/
/*    stroke: #3490dc;*/
/*    stroke-linecap: round;*/
/*    animation: dash 1.5s ease-in-out infinite;*/
/*}*/

/*@keyframes rotate {*/
/*    100% { transform: rotate(360deg); }*/
/*}*/

/*@keyframes dash {*/
/*    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }*/
/*    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }*/
/*    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }*/
/*}*/
