/* Estilos para o componente de pesquisa de usuários */

.user-search-container {
  margin-bottom: 20px;
  position: relative;
}

.user-search-container form {
  width: 100%;
}

.user-search-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
  background-color: #fff;
}

.user-search-input-wrapper svg {
  color: #7b7b7b;
  margin-right: 8px;
  cursor: pointer;
}

.user-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
}

.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow-y: auto;
  z-index: 10;
  margin-top: 4px;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
}

.search-result-item:hover {
  background-color: #f5f5f5;
}

/* Estilo para o item selecionado com as teclas direcionais */
.search-result-item.selected {
  background-color: #f0f7ff;
  border-left: 3px solid #3b82f6;
}

/* Estilo para mensagem de nenhum resultado encontrado */
.no-results {
  text-align: center;
  padding: 16px;
  color: #6b7280;
  background-color: #f9fafb;
  border-radius: 6px;
  margin: 8px 0;
  border: 1px dashed #d1d5db;
}

.no-results p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-results p::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px;
}

.search-result-item.no-results {
  cursor: default;
  text-align: center;
  justify-content: center;
  padding: 16px;
  color: #6b7280;
}

.search-result-item.no-results:hover {
  background-color: transparent;
}

.search-result-item.no-results .user-status {
  color: #6b7280;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
}

.search-result-item.no-results .user-email {
  color: #9ca3af;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #6366f1;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 12px;
}

.user-info {
  flex: 1;
}

.user-name {
  font-weight: 500;
}

.user-email, .user-status {
  font-size: 12px;
  color: #666;
}

.user-status {
  color: #6366f1;
} 