/* ── Social page ── */

.social-view {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px;
}

.social-view h2 {
  font-size: 1.4rem;
  margin: 0 0 20px;
}

.social-search {
  margin-bottom: 16px;
}

.social-search input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  box-sizing: border-box;
}

.social-search input:focus {
  outline: none;
  border-color: var(--accent);
}

.social-section {
  margin-bottom: 20px;
}

.social-section h3 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.social-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
}

.social-tab:hover {
  color: var(--text);
}

.social-tab.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
}

.social-name {
  font-weight: 500;
  font-size: 0.95rem;
}

.social-actions {
  display: flex;
  gap: 8px;
}

.social-btn {
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.social-btn.accept,
.social-btn.follow {
  background: var(--text);
  color: var(--surface);
}

.social-btn.accept:hover,
.social-btn.follow:hover {
  opacity: 0.85;
}

.social-btn.ignore,
.social-btn.unfollow {
  background: var(--surface-alt);
  color: var(--text-muted);
}

.social-btn.ignore:hover,
.social-btn.unfollow:hover {
  background: var(--border);
}

.social-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.social-empty {
  text-align: center;
  padding: 24px 16px;
  color: var(--text-subtle);
  font-size: 0.9rem;
}
