/* === SEARCH PAGE === */

body {
  font-family: 'Inter', sans-serif;
  background-color: #121212;
  color: #fff;
  margin: 0;
  padding: 0;
}

.search-page {
  padding: 60px 20px;
}

.search-page .container {
  max-width: 640px;
  margin: 0 auto;
}

h1 {
  font-size: 32px;
  margin-bottom: 24px;
  font-weight: 700;
}

.search-bar-wrapper {
  position: relative;
}

#globalSearch {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 999px;
  border: 1px solid #333;
  background-color: #1e1e1e;
  color: #fff;
  outline: none;
  transition: border 0.2s;
}

#globalSearch:focus {
  border-color: #ba5dfc;
}

/* === DROPDOWN === */

.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 1000;
  overflow: hidden;
  max-height: 400px;
  overflow-y: auto;
}

.search-dropdown.hidden {
  display: none;
}

/* Section headers */
.section-header {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #aaa;
  border-bottom: 1px solid #292929;
  background-color: #181818;
}

/* Individual results */
.result-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.result-item:hover {
  background-color: #2a2a2a;
}

.result-item img.avatar,
.result-item img.thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  flex-shrink: 0;
}

.result-item span {
  font-size: 15px;
  color: #eee;
}

.no-results {
  padding: 16px;
  font-size: 15px;
  color: #888;
  text-align: center;
}
