:root { --bg: #050505; --card: #111; --border: #333; --accent: #00ff41; --danger: #ff0055; --text: #eee; }
body { background-color: var(--bg); color: var(--text); font-family: 'JetBrains Mono', monospace; margin: 0; padding: 20px; }

.top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
h1 { color: var(--accent); margin: 0; font-size: 1.5rem; letter-spacing: 2px; text-shadow: 0 0 10px rgba(0, 255, 65, 0.3); }
.logout a { color: #666; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.logout a:hover { color: var(--danger); }

/* СІТКА ДЛЯ КАРТОК (2 стовпчики) */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.card { background: var(--card); border: 1px solid var(--border); padding: 20px; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 2px; height: 100%; background: var(--border); transition: 0.3s; }
.card:hover::before { background: var(--accent); box-shadow: 0 0 15px var(--accent); }

.label { font-size: 0.75rem; color: #666; font-weight: bold; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.value { font-size: 2rem; font-weight: 800; color: #fff; display: block; line-height: 1; margin-bottom: 5px; }
.sub-value { font-size: 0.85rem; color: var(--accent); opacity: 0.8; display: block; }

.progress-container { height: 4px; background: #222; margin-top: 15px; width: 100%; border-radius: 2px; }
.progress-bar { height: 100%; background: var(--accent); box-shadow: 0 0 5px var(--accent); transition: width 0.5s ease; border-radius: 2px; }

/* Термінал трохи темніший і більший */
.terminal-card { background: #000; padding: 10px; border: 1px solid #333; }
#terminal { width: 100%; height: 500px; }
