* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: #07111f;
    color: #ecf4ff;
    font-family: Inter, Arial, sans-serif;
}

.background {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(0, 200, 255, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(0, 140, 255, 0.18), transparent 35%),
        linear-gradient(160deg, #08111f, #050b14 70%);
}

.dashboard {
    position: relative;
    z-index: 2;
    padding: 24px;
}

.glass-card {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(8, 17, 32, 0.72);
    backdrop-filter: blur(22px);
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.hero {
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ghost-button {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.06);
    color: #ecf4ff;
    padding: 10px 14px;
    border-radius: 14px;
    cursor: pointer;
}

.ghost-button.danger {
    color: #ff9e9e;
}

.badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 180, 255, 0.18);
    color: #7bddff;
    font-size: 12px;
    margin-bottom: 14px;
}

.hero h1 {
    margin: 0;
    font-size: 42px;
}

.hero p {
    color: rgba(236,244,255,0.72);
}

.status-dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ff4747;
    box-shadow: 0 0 20px rgba(255,71,71,0.6);
}

.status-dot.online {
    background: #37ff99;
    box-shadow: 0 0 24px rgba(55,255,153,0.7);
}

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.tile {
    padding: 22px;
}

.tile span {
    display: block;
    color: rgba(236,244,255,0.66);
    margin-bottom: 10px;
}

.tile strong {
    font-size: 34px;
}

.grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
}

.data-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.data-panel.wide {
    grid-column: span 2;
}

.panel {
    padding: 24px;
}

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

.runtime-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.runtime-list div {
    display: flex;
    justify-content: space-between;
}

.console {
    min-height: 320px;
    max-height: 320px;
    overflow: auto;
    border-radius: 18px;
    padding: 16px;
    background: rgba(0,0,0,0.25);
    font-family: Consolas, monospace;
    font-size: 13px;
}

.console-entry {
    margin-bottom: 10px;
    color: #8fdfff;
}

.table-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.table-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
}

.table-item-title {
    font-weight: 600;
}

.table-item-subtitle {
    font-size: 12px;
    color: rgba(236,244,255,0.62);
    margin-top: 4px;
}

.table-item-meta {
    color: #78d8ff;
    font-size: 12px;
}

@media (max-width: 900px) {
    .grid,
    .data-grid {
        grid-template-columns: 1fr;
    }

    .data-panel.wide {
        grid-column: span 1;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
