.pending-approval {
  color: #dc3545;
  padding: 0 0.25rem;
  margin-left: 0.5rem;
  border: 1px solid #dc3545;
  border-radius: 4px;
}

.add-memory {
  margin: 2rem 0;
}
.memories-list {
  margin-top: 2rem;
}

.memories-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.memory-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
  padding: 15px;
}

.memory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 400;
  font-size: 1rem;
}

.date {
  color: #999;
  font-size: 0.8rem;
}

.memory-content {
  margin-bottom: 15px;
}

.memory-content p {
  font-size: 1rem;
  padding: 0;
  font-weight: 300;
  text-align: left;
}

.memory-footer {
  font-size: 1rem;
  font-weight: 300;
  margin-top: 2rem;
}

.comment {
  padding: 0.5rem;
  margin: 1rem 0;
  border-radius: 8px;
  border: 1px solid #eee;
}

.comment-owner {
  font-size: 1rem;
}
.comment-date {
  font-size: 0.8rem;
  font-weight: 300;
  color: #666;
}

.comment.pending {
  background-color: #fff3cd;
}

.comment-content {
  margin-bottom: 5px;
}
.comment-content p {
  white-space: pre-line;
}

.comment-content p {
  font-size: 1rem;
  font-weight: 300;
  text-align: left;
  margin: 0.5rem 0;
}

.comment-image {
  max-width: 200px;
  max-height: 200px;
  margin-top: 5px;
  border-radius: 4px;
}

.comment-meta {
  font-size: 0.8em;
  color: #666;
}

.comment-form {
  margin-top: 10px;
}

.comment-input-wrapper textarea {
  /*     display: flex;
    flex-direction: column;
    gap: 1rem;
 */
  width: 100%;
}

.comment-input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.comment-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.image-upload {
  display: none;
}

.image-upload-label {
  cursor: pointer;
  padding: 5px;
  font-size: 2rem;
}

.image-preview {
  margin-top: 10px;
}

.image-preview img {
  max-width: 100px;
  max-height: 100px;
  border-radius: 4px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.btn-delete-comment {
  background: none;
  border: none;
  color: #dc3545;
  padding: 0;
  font-size: 0.875rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.btn-delete-comment:hover {
  opacity: 1;
}

.comment-preview {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  border-left: 3px solid #dee2e6;
}

.comment-image-preview {
  max-width: 150px;
  border-radius: 4px;
  margin-top: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
