/* Global */
body {
    margin: 0;
    padding: 0;
    background: #111;
    color: #f5f5f5;
    font-family: "Inter", "Roboto", sans-serif;
}

/* Top Navigation */
.topnav {
    width: 100%;
    height: 60px;
    background: #0d0d0d;
    border-bottom: 2px solid #29abe2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    box-sizing: border-box;
}

.topnav .logo {
    font-size: 20px;
    font-weight: 600;
    color: #29abe2;
}

/* FIX: rechter Bereich darf NICHT schrumpfen */
.nav-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Status Wrapper */
.status-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    height: 20px;
}

/* Status Indicator (Circle) */
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.online {
    background: #1f8f3a;
}

.status-indicator.offline {
    background: #8f1f1f;
}

/* Status Text */
.status-text {
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

/* Layout */
.container {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.left-column, .right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Panels */
.panel {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(41, 171, 226, 0.2);
    box-shadow: 0 0 10px rgba(41, 171, 226, 0.1);
}

.panel h2 {
    margin-top: 0;
    color: #29abe2;
}

/* Player List */
#playerList {
    list-style: none;
    padding: 0;
    margin: 0;
}

#playerList li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Event Log */
.event-log {
    height: 350px;
    overflow-y: auto;
    font-size: 14px;
}

.event-log-entry {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.event-log-entry span.type {
    color: #29abe2;
    font-weight: bold;
}
