/* Top Header with Logo and Search */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.header-logo:hover {
  transform: translateX(3px);
}

.logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.4));
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-search {
  flex: 1;
  max-width: 450px;
  display: flex;
  align-items: center;
}

.header-search .search-results-count {
  text-align: right;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  min-height: 18px;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 6px;
}

.header-search {
  position: relative;
}

.header-search .search-box {
  width: 100%;
}

/* Responsive Header */
@media (max-width: 768px) {
  .top-header {
    padding: 12px 15px;
  }

  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .header-logo {
    width: 100%;
    justify-content: center;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .header-search {
    width: 100%;
    max-width: 100%;
  }
}
