﻿.loader {
    position: fixed;
    z-index: 9999;
    padding: 300px 0 50px 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .4);
}

.loader-content {
    width: 10%;
    border: none;
    background-color: #fbfdfe;
    margin: auto;
    padding: 15px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 1px 1px 14px 3px rgba(0,0,0,0.75);
}

.app-loader-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 120px;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 32px rgba(33, 37, 41, 0.16);
}

.app-loader-spinner {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg%3E%3Crect x='47' y='7' width='6' height='18' rx='3' fill='%2398b9db'/%3E%3Crect x='47' y='7' width='6' height='18' rx='3' fill='%237ca9d1' transform='rotate(30 50 50)'/%3E%3Crect x='47' y='7' width='6' height='18' rx='3' fill='%2388c2b6' transform='rotate(60 50 50)'/%3E%3Crect x='47' y='7' width='6' height='18' rx='3' fill='%23b6d8a8' transform='rotate(90 50 50)'/%3E%3Crect x='47' y='7' width='6' height='18' rx='3' fill='%23e0d29b' transform='rotate(120 50 50)'/%3E%3Crect x='47' y='7' width='6' height='18' rx='3' fill='%23efb28d' transform='rotate(150 50 50)'/%3E%3Crect x='47' y='7' width='6' height='18' rx='3' fill='%23ef9e8d' transform='rotate(180 50 50)'/%3E%3Crect x='47' y='7' width='6' height='18' rx='3' fill='%23f4b6c2' transform='rotate(210 50 50)'/%3E%3Crect x='47' y='7' width='6' height='18' rx='3' fill='%23d7b8da' transform='rotate(240 50 50)'/%3E%3Crect x='47' y='7' width='6' height='18' rx='3' fill='%23bdaedc' transform='rotate(270 50 50)'/%3E%3Crect x='47' y='7' width='6' height='18' rx='3' fill='%2392bbdf' transform='rotate(300 50 50)'/%3E%3Crect x='47' y='7' width='6' height='18' rx='3' fill='%2395d3d1' transform='rotate(330 50 50)'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    animation: appLoaderSpin 0.95s linear infinite;
}

.app-loader-text {
    margin: 0;
    color: #495057;
    font-size: 0.95rem;
    font-weight: 500;
}

.loader-content .app-loader-spinner {
    margin: 0 auto;
}

@keyframes appLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}
