.loading-spinner {
    animation: spin 2s linear infinite;
    display: inline-block;
}

.spinner-sm {
    width: 24px;
    height: 24px;
}

.spinner-md {
    width: 48px;
    height: 48px;
}

.spinner-lg {
    width: 96px;
    height: 96px;
}

.spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-message {
    margin-top: 20px;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loading-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 2rem;
    width: 100%;
    flex-grow: 1;
    color: white;
}

.loading-text {
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

.loading-text .dots {
    display: inline-block;
    width: 2.5rem;
    text-align: left;
}

.loading-widget-icon {
    width: 80px;
    height: 80px;
    animation: spin 3s linear infinite;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}