:root {
    --mc-bg: #1e1e2e;
    --mc-card-bg: #2b2b3b;
    --mc-text: #cdd6f4;
    --mc-accent: #89b4fa;
    --mc-green: #a6e3a1;
    --mc-red: #f38ba8;
    --mc-console-bg: #11111b;
}

#mc-monitor-dashboard {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--mc-text);
    background: var(--mc-bg);
    padding: 20px;
    border-radius: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.mc-mon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#mc-mon-status-indicator {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

#mc-mon-status-indicator.online {
    background: rgba(166, 227, 161, 0.2);
    color: var(--mc-green);
    border: 1px solid var(--mc-green);
}

#mc-mon-status-indicator.offline {
    background: rgba(243, 139, 168, 0.2);
    color: var(--mc-red);
    border: 1px solid var(--mc-red);
}

.mc-mon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .mc-mon-grid {
        grid-template-columns: 1fr;
    }
}

.mc-mon-card {
    background: var(--mc-card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mc-mon-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #3c3c4c;
    padding-bottom: 10px;
    color: var(--mc-accent);
}

/* System Stats */
.stat-row {
    margin-bottom: 15px;
}

.stat-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.progress-bar-bg {
    background: #45475a;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--mc-accent);
    transition: width 0.5s ease;
}

/* Player List */
#player-list {
    list-style: none;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
}

.player-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #3c3c4c;
}

.player-item img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-right: 10px;
}

.player-info {
    font-size: 0.9em;
}

.player-stats-mini {
    font-size: 0.8em;
    color: #9399b2;
}

/* Console */
.mc-mon-console-wrapper h3 {
    color: var(--mc-accent);
}

.mc-mon-console {
    background: var(--mc-console-bg);
    color: #a6adc8;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    padding: 15px;
    border-radius: 8px;
    height: 300px;
    overflow-y: scroll;
    white-space: pre-wrap;
    border: 1px solid #313244;
}

.console-line {
    border-bottom: 1px solid #1e1e2e;
    padding: 2px 0;
}
