.note-card {
  background: white;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  margin-bottom: 10px;
  position: relative;
}

.note-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.note-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.note-author {
  font-weight: bold;
}

.note-content {
  margin: 6px 0 12px;
  line-height: 1.5;
}

.note-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85em;
  color: #888;
}

.note-timestamp {
  margin-left: auto;
}

.archive-note-btn {
  padding: 4px 10px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.archive-note-btn.hidden {
  display: none;
}

#noteForm {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#notes {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#notesList {
  flex: 1;
  overflow-y: auto;
}

#noteForm textarea {
  resize: none;
  height: 80px;
  padding: 10px;
}

#noteForm button {
  align-self: flex-end;
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}