.admin-sidebar {
  width: 280px;
  min-width: 280px;
  background: #16213e;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #0f3460;
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #0f3460;
  font-weight: 600;
  color: #4fc3f7;
  font-size: 1.1rem;
}

.back-link {
  color: #aaa;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
}
.back-link:hover { color: #4fc3f7; }

.admin-section-label {
  padding: 10px 20px 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
}

#conv-list, #users-list {
  list-style: none;
}

#conv-list li, #users-list li {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 6px;
  margin: 2px 8px;
  transition: background 0.15s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#conv-list li:hover, #users-list li:hover { background: #0f3460; }
#conv-list li.active { background: #0f3460; color: #4fc3f7; }

#conv-list li .conv-names { font-weight: 500; }
#conv-list li .conv-meta { font-size: 0.75rem; color: #666; }

#users-list li {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  cursor: default;
}

#users-list li .user-name { font-weight: 500; }

.admin-badge {
  font-size: 0.7rem;
  background: #4fc3f7;
  color: #0d0d1a;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #1a1a2e;
}

.message.admin-view {
  max-width: 70%;
}
