﻿.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.45);
    backdrop-filter: blur(4px);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-box {
    width: 180px;
    padding: 28px;
    border-radius: 28px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    box-shadow: 0 25px 60px rgba(15,23,42,.18);
}

.loading-spinner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 5px solid #e2e8f0;
    border-top-color: #4f46e5;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }
}


.dashboard-loader {
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-loader-card {
    width: 320px;
    padding: 40px;
    border-radius: 32px;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 80px rgba(15,23,42,.12);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.premium-spinner {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 6px solid #e2e8f0;
    border-top-color: #4f46e5;
    border-right-color: #6366f1;
    animation: premiumSpin .8s linear infinite;
    margin-bottom: 24px;
}

.dashboard-loader-card h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.dashboard-loader-card p {
    margin-top: 10px;
    color: #64748b;
}

@keyframes premiumSpin {

    to {
        transform: rotate(360deg);
    }
}