/* Sleek Modern App Header */
.app-header {
  background: var(--header-bg-gradient);
  color: var(--header-text);
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.15);
  margin-bottom: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .app-header {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand h1 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.2;
}

.highlight {
  color: #fef08a;
}

.tagline {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  line-height: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-actions .btn-outline {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.header-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
}

.header-actions .btn-primary-pill {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .app-header {
    padding: 0.6rem 0.85rem;
    margin-bottom: 0.75rem;
  }
  .tagline {
    display: none;
  }
  .brand h1 {
    font-size: 1rem;
  }
  .brand-logo-img {
    width: 28px;
    height: 28px;
  }
  .header-actions .theme-text {
    display: none;
  }
  .header-actions .btn-outline,
  .header-actions .btn-primary-pill {
    padding: 0.35rem 0.55rem;
    font-size: 0.75rem;
  }
}
