/* Custom overrides to match the image's specific dark theme */
:root {
  --vg-bg: #0a0f18;
  --vg-sidebar: #111827;
  --vg-panel: #111827;
  --vg-border: #1f2937;
  --vg-primary: #0657f9;
  --vg-text-muted: #6b7280;
  --vg-text-muted-light: #a0aec0;
}

body {
  background-color: var(--vg-bg) !important;
  color: #f8fafc !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.sidebar {
  background-color: var(--vg-sidebar);
  border-right: 1px solid var(--vg-border);
  width: 260px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
}

.main-content {
  margin-left: 260px;
  min-height: 100vh;
}

.vg-nav-link {
  color: var(--vg-text-muted);
  text-decoration: none;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.vg-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.vg-nav-link.active {
  background-color: rgba(6, 87, 249, 0.1);
  color: #fff;
  border: 1px solid rgba(6, 87, 249, 0.2);
}

.vg-nav-link.active .bi {
  color: var(--vg-primary);
}

.vg-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--vg-primary);
  display: inline-block;
}

.vg-header {
  height: 64px;
  border-bottom: 1px solid var(--vg-border);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  justify-content: space-between;
}

.vg-btn-primary {
  background-color: var(--vg-primary);
  border: none;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

.vg-btn-primary:hover {
  background-color: #0546c7;
}

.vg-search-container {
  background-color: var(--vg-panel);
  border: 1px solid var(--vg-border);
  border-radius: 0.75rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vg-search-input {
  background: #0f172a;
  border: none;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  padding-left: 2.5rem;
}

.vg-table-container {
  background-color: var(--vg-sidebar) !important;
  border: 1px solid var(--vg-border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.vg-table {
  width: 100%;
  background-color: var(--vg-sidebar) !important;
  margin-bottom: 0;
  border-collapse: collapse;
}

.vg-table tr, 
.vg-table td, 
.vg-table th {
  background-color: var(--vg-sidebar) !important;
  color: #f8fafc !important;
}

.vg-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

.vg-table thead {
  background-color: var(--vg-sidebar) !important;
  border-bottom: 1px solid var(--vg-border);
}

.vg-table th {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vg-text-muted) !important;
  padding: 1.25rem 1.5rem;
}

.vg-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--vg-border);
  vertical-align: middle;
}

.vg-secret-key {
  background-color: #1e293b;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  font-weight: 700;
}

.vg-secret-value {
  background-color: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--vg-border);
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--vg-text-muted);
  letter-spacing: 0.2em;
}

.vg-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid transparent;
}

.vg-badge-db { background: rgba(59, 130, 246, 0.1); color: #60a5fa; border-color: rgba(59, 130, 246, 0.2); }
.vg-badge-api { background: rgba(168, 85, 247, 0.1); color: #c084fc; border-color: rgba(168, 85, 247, 0.2); }
.vg-badge-ssh { background: rgba(16, 185, 129, 0.1); color: #34d399; border-color: rgba(16, 185, 129, 0.2); }

.vg-card, .card {
  background-color: var(--vg-sidebar) !important;
  border: 1px solid var(--vg-border) !important;
  border-radius: 0.75rem;
  color: #f8fafc !important;
}

.card-header, .card-footer {
  background-color: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--vg-border) !important;
}

.vg-tab {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vg-text-muted);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid transparent;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  margin-right: 2rem;
}

.vg-tab.active {
  color: var(--vg-primary);
  border-bottom-color: var(--vg-primary);
}

.vg-user-profile {
  background-color: rgba(30, 41, 59, 0.5);
  padding: 0.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--vg-border);
}
