.entry-item {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  background-color: #eaeaea;
  align-self: flex-start;
  cursor: pointer;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  
}

.entry-item span {
  flex-grow: 1;
}

.highentry-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  display: flex;
}

.highentry-item:hover {
  background-color: #eaeaea;
}

.highentry-item button {
  margin-left: 10px;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.highentry-item button:nth-child(2) {
  background-color: #ffc107; 
  color: black;
}

.highentry-item button:nth-child(3) {
  background-color: #dc3545; 
  color: white;
}

.highentry-item button:hover:nth-child(2) {
  background-color: #e0a800;
}

.highentry-item button:hover:nth-child(3) {
  background-color: #bd2130;
}

.entry-item button:nth-child(2) {
  background-color: #ffc107;
  
  color: black;
}

.entry-item button:nth-child(3) {
  background-color: #dc3545;
  
  color: white;
}

.entry-item button:hover:nth-child(2) {
  background-color: #e0a800;
}

.entry-item button:hover:nth-child(3) {
  background-color: #bd2130;
}

.highentry-item.dragging {
  opacity: 0.5;
  background-color: #ccc;
  border: 2px dashed #999;
}

.entry-item.dragging {
  opacity: 0.5;
  background-color: #ccc;
  border: 2px dashed #999;
}

#entry-input {
  display: grid;
  grid-template-columns: 1fr auto;
  
  grid-template-rows: auto auto;
  
  gap: 2px;
  
  padding: 0px;
  border-top: 1px solid #ccc;
  background-color: #f5f5f5;
  width: 100%;
  
  margin: 0px;
  
}

#entry-input textarea {
  margin: 2px;
  padding: 3px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
  width: 100%;
  
  box-sizing: border-box;
  
}

#entry-input input {
  margin: 2px;
  padding: 3px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
  width: 100%;
  
  box-sizing: border-box;
  
}

#entry-input #new-entry-title {
  margin-bottom: 0.5px;
}

#entry-input #new-entry-text {
  margin-top: 0.5px;
  
}

#entry-input button {
  grid-row: span 2;
  
  align-self: center;
  
  height: 95%;
  margin: 2px;
  padding: 2px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 64px;
  max-width: 128px;
  
  
}

#entry-input button:hover {
  background-color: #0056b3;
}

#entry-input {
  display: grid;
  grid-template-columns: 1fr auto;
  
  grid-template-rows: auto auto;
  
  gap: 2px;
  
  padding: 0px;
  border-top: 1px solid #ccc;
  background-color: #f5f5f5;
  width: 100%;
  
  margin: 0px;
  
}

#entry-input textarea {
  margin: 2px;
  padding: 3px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
  width: 100%;
  
  box-sizing: border-box;
  
}

#entry-input input {
  margin: 2px;
  padding: 3px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
  width: 100%;
  
  box-sizing: border-box;
  
}

#entry-input #new-entry-title {
  margin-bottom: 0.5px;
}

#entry-input #new-entry-text {
  margin-top: 0.5px;
  
}

#entry-input button {
  grid-row: span 2;
  
  align-self: center;
  
  height: 95%;
  margin: 2px;
  padding: 2px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 64px;
  max-width: 128px;
  
  
}

#entry-input button:hover {
  background-color: #0056b3;
}

.entry-item button {
  margin-left: 10px;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.edit-input {
  width: 100%;
  background-color: #efefef;
  padding: 5px;
  border: 0px solid #ccc;
  border-radius: 4px;
   -webkit-user-select: text !important; 
   -moz-user-select: text !important;   
   -ms-user-select: text !important;    
   user-select: text !important;        
  -webkit-user-select: text !important; 
  pointer-events: auto !important; 
}

.edit-input {
  width: 100%;
  background-color: #efefef;
  padding: 5px;
  border: 0px solid #ccc;
  border-radius: 4px;
  -webkit-user-select: text !important;
  
  -moz-user-select: text !important;
  
  -ms-user-select: text !important;
  
  user-select: text !important;
  
  -webkit-user-select: text !important;
  
  pointer-events: auto !important;
  
}

.entry-dates {
  font-size: 10px;
  color: #888;
  
  justify-content: space-between;
}

