/* AppHeader Styles */

/* Header container */
.header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(var(--bg-primary-rgb), 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.25rem;
}

.logo:hover {
  color: var(--color-primary);
}

/* Logo styling */
.logo-image {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: var(--border-radius-md);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active,
.nav-link.router-link-active {
  color: var(--color-primary);
}

.nav-link.active::after,
.nav-link.router-link-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-md) 0;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-menu .nav-link {
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  display: block;
}

.mobile-menu .nav-link:hover {
  background: var(--bg-secondary);
}

/* Mobile responsive utilities */
@media (min-width: 768px) {
  .md\:flex {
    display: flex !important;
  }

  .md\:hidden {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .hidden {
    display: none;
  }

  .nav {
    display: none;
  }
}
