:root {
  --bg: #070d18;
  --bg2: #0f1724;
  --card: #111b2f;
  --line: #1f2a44;
  --text: #ecf0ff;
  --muted: #9fb3d9;
  --accent: #48beff;
  --accent-2: #7df6c3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font: 15px/1.4 "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at 10% 10%, #102447 0%, var(--bg) 45%, #04070f 100%);
  min-height: 100vh;
}

a { color: #8fd2ff; }

.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: linear-gradient(180deg, #0a1220 0%, #070e1a 100%);
  border-right: 1px solid rgba(140, 160, 220, 0.25);
  padding: 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar nav a {
  color: #d9e6ff;
  text-decoration: none;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
}

.sidebar nav a.active,
.sidebar nav a:hover {
  background: rgba(72, 190, 255, 0.2);
}

.menu-toggle {
  display: none;
}

.content {
  padding: 1.5rem;
}

.hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.hero img { width: 72px; height: 72px; }

h1, h2, h3 { margin: 0 0 0.65rem; }
h1 { font-size: 2.2rem; }

.card, .box {
  background: linear-gradient(180deg, rgba(18, 31, 50, 0.9), rgba(10, 17, 31, 0.8));
  border: 1px solid rgba(144, 167, 216, 0.18);
  border-radius: 16px;
  padding: 1rem;
  margin: 0.9rem 0;
}

.card p, .card li { color: var(--muted); }

table {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid rgba(135, 162, 211, 0.25);
}

th, td {
  border: 1px solid rgba(135, 162, 211, 0.2);
  padding: 0.55rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(36, 57, 95, 0.4);
}

td code { word-break: break-all; }

.muted {
  color: #9fb3d9;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.box { margin: 0; }

.box p { font-size: 0.95rem; }

.button {
  display: inline-block;
  background: linear-gradient(90deg, #2a9dff, #1ccfd8);
  color: #061023;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 0.5rem;
}

.footer {
  margin-top: 1.2rem;
  color: #9dc4ff;
  border-top: 1px solid rgba(132, 158, 209, 0.25);
  padding-top: 1rem;
}

.hero p, .box p { max-width: 75ch; }

@media (max-width: 950px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    z-index: 4;
    left: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    transform: translateX(-100%);
    pointer-events: none;
    opacity: 0;
  }
  .sidebar.open {
    transform: translateX(0);
    pointer-events: auto;
    opacity: 1;
  }
  .menu-toggle {
    display: inline-block;
    background: #1a2c49;
    border: 1px solid #2f4b78;
    color: #d9ecff;
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    margin-left: auto;
    margin-bottom: 0.8rem;
  }
  .content { padding: 1rem; }
  .grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.7rem; }
}

.content > .hero::before {
  content: "";
  display: none;
}

* { scrollbar-color: #4f739f transparent; }
