body {
    margin: 0;
    background: #101418;
    color: #f1f5f9;
    font-family: Arial, sans-serif;
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px;
}

h1 {
    margin-bottom: 5px;
}

.subtitle {
    color: #94a3b8;
    margin-bottom: 30px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.card {
    background: #1e293b;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card h2 {
    margin: 0;
}

.badge {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
}

.online {
    background: #166534;
    color: #dcfce7;
}

.offline {
    background: #334155;
    color: #cbd5e1;
}

.info {
    margin-top: 20px;
    line-height: 1.8;
}

.activity {
    margin-top: 14px;
    padding: 10px;
    border-radius: 10px;
}

.activity.active {
    background: #064e3b;
    color: #d1fae5;
}

.activity.idle {
    background: #334155;
    color: #cbd5e1;
}

.actions {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    color: white;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: bold;
}

.start {
    background: #16a34a;
}

.stop {
    background: #dc2626;
}

.restart {
    background: #2563eb;
}

details {
    margin-top: 20px;
}

summary {
    cursor: pointer;
    color: #93c5fd;
}

pre {
    margin-top: 12px;
    background: #020617;
    padding: 14px;
    border-radius: 10px;
    overflow-x: auto;
    max-height: 300px;
    font-size: 12px;
}
