/* WebSocket status indicator */
.ws-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'JetBrains Mono', monospace;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10; /* Hogy biztosan felül legyen */
}

/* WebSocket status indicator dot */
.ws-status .status-dot {
    width: 12px;
    height: 12px;
    background-color: #ffcc00;
    border-radius: 50%;
    margin-right: 8px;
    transition: background-color 0.3s ease;
}

/* Színek a kapcsolódás állapota szerint */
.ws-status .active {
    background-color: #28a745; /* Zöld */
}

.ws-status .inactive {
    background-color: #dc3545; /* Piros */
}

#wsStatusText {
    font-size: 14px;
    font-weight: 600;
}

/* Tabok */
.nav-tabs {
    padding-right: 60px; /* Hely a status indicatornek */
    position: relative;
}

/* Kis képernyők esetén (mobil) */
@media (max-width: 768px) {
    .ws-status {
        font-size: 12px;
        padding: 6px 12px;
    }

    .ws-status .status-dot {
        width: 10px;
        height: 10px;
    }
}

