/* /css/search.css */

/* === TOP NAV === */
.search-bar {
  flex: 1;
  margin-left: 16px;
}

#search-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--divider);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}

/* === TRENDING === */
.trending-section {
  padding: 16px;
}

.trending-section h2 {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 12px;
}

.trending-item {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 6px;
}

.trending-item strong {
  font-size: 15px;
  color: var(--accent);
}

.trending-item p {
  font-size: 13px;
  opacity: 0.85;
  margin: 6px 0;
}

.trending-item .view-btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
}

/* === PROFILE RESULTS === */
.profile-results {
  padding: 16px;
}

.profile-results h2 {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 12px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.profile-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
}

.profile-card p {
  font-size: 14px;
  margin: 0;
  flex: 1;
  color: var(--text);
}

.profile-card .view-btn {
  background: var(--accent);
  color: #000;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
}

/* === POST RESULTS === */
.post-results {
  padding: 16px;
}

.post-results h2 {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 12px;
}

.post-snippet {
  background: var(--surface);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.post-snippet h3 {
  font-size: 15px;
  color: var(--accent);
  margin: 0 0 6px;
}

.post-snippet p {
  font-size: 13px;
  opacity: 0.85;
  margin: 0 0 6px;
}

.post-snippet small {
  font-size: 12px;
  opacity: 0.6;
}

.post-snippet .view-btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  margin-top: 6px;
}

