/* Top Navigation Bar Styles */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: var(--space-3) 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-nav-logo {
  display: flex;
  align-items: center;
}

.top-nav-logo .logo-text {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-radius: var(--radius-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
}

.top-nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.top-nav-item {
  padding: var(--space-2) var(--space-4);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  border-radius: var(--radius-base);
  transition: all var(--transition-fast);
  position: relative;
}

.top-nav-item:hover {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.top-nav-item.active {
  color: var(--primary-color);
  background-color: rgba(37, 99, 235, 0.1);
  font-weight: var(--font-semibold);
}

/* Responsive Design */
@media (max-width: 768px) {
  .top-nav {
    display: none; /* Hide on mobile, use mobile header instead */
  }
}

@media (min-width: 769px) {
  .mobile-header {
    display: none; /* Hide mobile header on desktop */
  }
  
  /* Adjust main content to account for top nav */
  .main-content {
    margin-top: 60px; /* Add top margin to account for fixed nav */
  }
  
  /* Adjust sidebar to account for top nav */
  .sidebar {
    top: 60px; /* Position sidebar below top nav */
    height: calc(100vh - 60px);
  }
}
