@import url('common.css');

#statusBar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 26px;
    background: var(--0-color);
    display: flex;
    align-items: center;
    z-index: 9999;
    padding: 0 10px;
    box-shadow: 0 -2px 8px -2px rgba(0, 0, 0, 0.25);
}

.status-indicator {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.status-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    border: 1px solid var(--border-color);
}

.status-text {
    font-size: var(--fontsize-small);
    user-select: none;
    opacity: 1;
    transition: opacity 1s, width 0.1s;
    width: auto;
    pointer-events: none;
}

#statusBar.hide-text .status-text {
    opacity: 0;
    width: 0;
    color: transparent;
}

#statusBar.hide-text .status-circle {
    margin-right: 0;
}

@keyframes statusbar-checking {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.status-circle.checking {
    background: var(--border-color) !important;
    animation: statusbar-checking 1s infinite;
}