#StatusProviderUI {
    position: fixed;
    bottom: 50px;
    right: 0;
    width: 250px;
    font-size: 11px;

    transition: all 0.15s ease-in-out;
}

#StatusProviderUI .process {
    padding: 5px 8px;
    margin: 5px 0;
    background-color: #fff;
    border: 1px solid #aaa;
    border-right: none;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
}

#StatusProviderUI .label {
    display: block;
    font-weight: bold;
}

#StatusProviderUI .details {
    display: block;
    font-size: 10px;
    line-height: 12px;
}

#StatusProviderUI .badge:empty {
    display: none;
}
#StatusProviderUI .badge {
    background-image: linear-gradient(111.3deg, #aaa 11.7%, #ccc 81.7%);
    box-shadow: 1px 1px 5px #0005;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-weight: bold;
    font-style: normal;
    color: black;
    position: absolute;
    height: 20px;
    margin: 15px 0 0 -15px;
    padding: 0 6px;
    z-index: 2;
}
#StatusProviderUI .badge.info {
    background-image: linear-gradient(111.3deg, #0d0 11.7%, #3a3 81.7%);
    color: white;
}
#StatusProviderUI .badge.warn {
    background-image: linear-gradient(111.3deg, #fa5 11.7%, #f70 81.7%);
    color: white;
}
#StatusProviderUI .badge.error {
    background-image: linear-gradient(111.3deg, #f11 11.7%, #e13 81.7%);
    color: white;
}

#StatusProviderUI div.messages {
    pointer-events: none;
    position: fixed;
    z-index: 99;
    display: none;
    top: 25vh;
    left: calc((100vw - 800px) / 2);
    width: 800px;
    background: #fff;
    box-shadow: 0 0 100px #0005;
    border-radius: 5px;
    padding: 10px;
}
#StatusProviderUI .process:hover {
    cursor: help;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border-color: blue;
}
#StatusProviderUI .process:hover div.messages:not(.disabled) {
    display: grid;
}

#StatusProviderUI .balken {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 12px;    
    border: 1px solid #aaa;
    border-radius: 3px;
    margin: 3px 0 5px 0;
    overflow: hidden;
}

#StatusProviderUI .balken > .level  {
    box-sizing: border-box;
    display: block;
    height: 100%;    
    background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);

    transition: all 0.5s ease-in-out;
}

#StatusProviderUI .balken > .level.finished  {
    width: 100% !important;
    background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
}

#StatusProviderUI .balken > .level.failed  {
    width: 100% !important;
    background-image: linear-gradient(120deg, #ff0844 0%, #ffb199 100%);
}

#StatusProviderUI .balken > .level.undefined  {
    width: 150% !important;
    background-image: repeating-linear-gradient(-45deg, #fda085, #fda085 5px, #f6d365 5px, #f6d365 10px);
    margin-left: -28px;

    -webkit-animation-name: MOVE-BG;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    
    animation-name: MOVE-BG;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-webkit-keyframes MOVE-BG {
    from {
        -webkit-transform: translateX(0);
    }
    to { 
        -webkit-transform: translateX(28px);
    }
}

@keyframes MOVE-BG {
    from {
        transform: translateX(0);
    }
    to { 
        transform: translateX(28px);
    }
}
