﻿.pluginloading-container {
    display: flex;
    align-items: center;
    padding: 6px;
    background-color: #f8f9fa;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    margin: 10px;
    width: 150px;
}

.pluginloading-loading-border {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

    .pluginloading-loading-border::before {
        content: '';
        position: absolute;
        top: -3px;
        left: -3px;
        width: 35px;
        height: 35px;
        border: 4px solid transparent;
        border-top-color: #502ca7;
        border-radius: 50%;
        animation: pluginloading-spin 1s linear infinite;
    }

@keyframes pluginloading-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.pluginloading-content {
    flex-grow: 1;
    min-width: 0;
}

.pluginloading-title {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.2;
}

.pluginloading-avatar {
    border-radius: 50%;
    width: 30px !important;
    height: 30px !important;
    object-fit: cover;
}

html.dark .pluginloading-container {
    background-color: black;
}

html.dark .pluginloading-loading-border::before {
    border-top-color: #00ffff
}
