Blog Comments Styling

.comments-section {
    margin-top: 50px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .comments-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
    border-bottom: 2px solid #e62929;
    padding-bottom: 10px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
  }
  .comment-form h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
  }
  
  .comment-form button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
  }
  
  .comment-form button:hover {
    background-color: #2980b9;
  }
  
  .comments-list {
    margin-top: 20px;
  }
  
  .comment {
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .comment-avatar {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
    overflow: hidden;
  }
  
  .comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .comment-meta {
    flex: 1;
  }
  
  .comment-author {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
  }
  
  .comment-date {
    margin: 0;
    font-size: 14px;
    color: var(--light-text);
  }
  
  .comment-edited {
    font-size: 12px;
    color: var(--light-text);
    font-style: italic;
    margin-left: 5px;
  }
  
  .comment-body {
    margin-bottom: 10px;
    line-height: 1.5;
  }
  
  .comment-body p {
    margin: 0;
    color: var(--text-color);
  }
  
  .notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    z-index: 1000;
    display: none;
    animation: fadeInOut 3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  }
  
  .notification.success {
    background-color: #2ecc71;
  }
  
  .notification.error {
    background-color: #e74c3c;
  }
  
  .notification.info {
    background-color: #3498db;
  }
  
  .no-comments {
    text-align: center;
    color: var(--light-text);
    font-style: italic;
    padding: 20px;
  }
  
  .error-message {
    color: #e74c3c;
    text-align: center;
    padding: 20px;
  }
  .load-more-btn {
    display: block;
    margin: 1rem auto;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  .load-more-btn:hover {
    background-color: #0056b3;
  }
  
  /* Optional styling for Read more functionality */
.comment-text {
  position: relative;
}

.comment-text .read-more-btn {
  background: none;
  border: none;
  color: #007BFF;
  cursor: pointer;
  padding: 0;
  margin-top: 5px;
  font-size: 0.9rem;
  font-weight: 500;
}

.comment-text .read-more-btn:hover {
  text-decoration: underline;
}

.full-content {
  display: none;
}

  
  @keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .comment-header {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .comment-avatar {
      margin-bottom: 10px;
    }
  }