﻿:root {
  --bg: #0b1220;
  --panel: #141f36;
  --panel-soft: #1b2945;
  --accent: #41d6a4;
  --text: #e8eefc;
  --muted: #98a4c2;
  --danger: #ff5b5b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at 20% 0%, #1f2c4a 0%, var(--bg) 55%);
  color: var(--text);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}
header h1 { margin: 0 0 6px; }
header p { margin: 0 0 18px; color: var(--muted); }
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.tab {
  background: var(--panel-soft);
  border: 1px solid transparent;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}
.tab.active {
  border-color: var(--accent);
  background: var(--panel);
}
.card {
  background: var(--panel);
  border: 1px solid #253457;
  border-radius: 14px;
  padding: 16px;
}
.grid {
  display: grid;
  gap: 16px;
}
.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
input, textarea, select, button {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #30466f;
  background: #0f1830;
  color: var(--text);
  padding: 9px;
}
button {
  background: var(--accent);
  color: #0c1a12;
  font-weight: 700;
  cursor: pointer;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  border-bottom: 1px solid #2b3a5d;
  padding: 10px 8px;
  text-align: left;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
}
.badge.ok { background: #1f5b49; }
.badge.off { background: #5f3131; }
.row-actions button {
  background: var(--danger);
  color: white;
  border: none;
}
.hidden { display: none; }
