﻿/* کانتینر اصلی لودینگ - کاملاً مرکز‌چین و داینامیک */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #f8f9fa;
    font-family: system-ui, -apple-system, sans-serif;
}

/* باکس اصلی لوگو و رینگ چرخان */
.logo-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* رینگ انیمیشنی دور لوگو */
.loading-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(130, 131, 135, 0.15);
    border-radius: 50%;
    border-top-color: #ffe600; /* رنگ زرد سازمانی */
    animation: spin 1s linear infinite;
}

/* خود لوگوی SVG با افکت پالس ملایم */
.brand-svg {
    width: 95px;
    height: 95px;
    animation: pulse 2s ease-in-out infinite;
    z-index: 2;
}

/* متن زیر لودینگ */
.loading-text {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #828387; /* رنگ خاکستری سازمانی */
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* تعریف انیمیشن‌ها */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.95;
    }

    50% {
        transform: scale(1.03);
        opacity: 1;
    }
}
