:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #0f172a;
  --muted: #6b7280;
  --primary: #0a66c2;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  scroll-behavior: auto;
}

.oi-navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.oi-search {
  max-width: 420px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.oi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.oi-left-nav {
  top: 90px;
}

.oi-left-col {
  position: sticky;
  top: 120px;
  align-self: flex-start;
}
.oi-left-scroll {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.18) transparent;
}
.oi-left-scroll .list-group-item.active .text-muted {
  color: #e8f0ff !important;
}
.oi-left-scroll::-webkit-scrollbar {
  width: 7px;
}
.oi-left-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.oi-left-scroll::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 999px;
}
.oi-left-scroll:hover::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.32);
}

.oi-pilot {
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: linear-gradient(120deg, #e0f2fe, #e7f5ff);
}

.oi-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.list-group-item {
  border-color: var(--border);
  transition: background-color 0.12s ease, color 0.12s ease;
  background: var(--surface);
}

.list-group-item-action:active {
  background-color: inherit;
  color: inherit;
}
.list-group-item.active:active {
  background: linear-gradient(135deg, #0a66c2, #0a66c2);
  color: #fff;
}

.list-group-item-action:hover {
  background: #f8fafc;
}
.list-group-item.active:hover {
  background: linear-gradient(135deg, #0a66c2, #0a66c2);
  color: #fff;
}
.list-group-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.bg-body {
  background: var(--bg);
}

.skills-line {
  color: var(--muted);
}
.list-group-item.active .skills-line {
  color: #f8fafc !important;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .oi-card {
    border-radius: 12px;
  }
  .oi-navbar {
    position: static;
  }
}
