/* Styles for the compact status panel */
.status-panel {
    position: fixed;
    bottom: 1px;
    right: 48px;
    /* Position right after frame counter */
    background-color: transparent;
    color: #ffffff;
    font-family: monospace;
    padding: 0;
    z-index: 9998;
    user-select: none;
    pointer-events: none;
    /* display: flex; */
    display: none;
    flex-direction: row;
    gap: 1px;
    border: none;
    box-shadow: none;
    opacity: 50%;
    visibility: hidden;
}

/* Status indicator */
.status-indicator {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 22px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 0;
    font-size: 10px;
    border: 1px solid #444;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* Status indicator labels */
.indicator-label {
    font-weight: bold;
    font-size: 8px;
    opacity: 0.75;
    position: absolute;
    top: 1px;
    left: 0;
    right: 0;
    text-align: center;
}

/* Status indicator values */
.indicator-value {
    font-weight: normal;
    font-size: 10px;
    opacity: 1;
    margin: 0;
    padding: 0;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: absolute;
    bottom: 1px;
    left: 2px;
    right: 2px;
}

/* Status colors */
.status-indicator[data-status="good"] {
    border-color: #42f584;
}

.status-indicator[data-status="warning"] {
    border-color: #f5d742;
}

.status-indicator[data-status="error"] {
    border-color: #f54242;
}

.status-indicator[data-status="unknown"] {
    border-color: #666666;
}

/* Status indicator value colors */
.status-indicator[data-status="good"] .indicator-value {
    color: #42f584;
}

.status-indicator[data-status="warning"] .indicator-value {
    color: #f5d742;
}

.status-indicator[data-status="error"] .indicator-value {
    color: #f54242;
}

.status-indicator[data-status="unknown"] .indicator-value {
    color: #aaaaaa;
}

/* Remove the dots before indicators */
.status-indicator::before {
    display: none;
}