@media (min-width: 781px) {
.comments-list {
    width: 100%;
    max-width: 600px;
    margin-left: 12px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-family: "Ubuntu";
  }
  
  .error-message {
    color: red;
    margin-bottom: 10px;
  }
  
  .comment-item {
    padding: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    font-family: "Ubuntu";
  }
  
  .comment-header {
    display: flex; 
    justify-content: space-between;
    margin-bottom: 5px;
  }

  .comment-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .comment-name {
    font-weight: bolder;
    font-size: 17px;
  }
  
  .comment-date {
    font-size: 13px;
    color: #555;
  }
  
  .comment-text {
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
  }

  .replyCommentBtn {
    background-color: #4b97fc;
    padding: 5px 10px;
    margin-top: 7px;
    border-radius: 3px;
    font-size: 17px;
    color: white;
    border: none;
    cursor: pointer;
    font-family: "Ubuntu";
  }
  .replyCommentBtn:hover {
    background-color: #0354c0;
  }
  .replyCommentBtn:active {
    box-shadow: 0 2px #666;
    transform: translateY(2px);
  }

  .replyCommentContainer {
    display: flex;
    font-family: "Ubuntu", "Maven pro", 'Trebuchet MS', sans-serif;
    flex-direction: column;
    font-size: 13px;
    justify-content: space-between;
    padding-left: 25px;
    text-align: left !important;
  }
}  


  /* Media query for mobile screens */
@media (max-width: 780px) {

  .comments-list {
    min-width: 100%;
    max-width: 100%;
    margin-left: -2px;
    padding: 8px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-family: "Ubuntu";
  }
  
  .error-message {
    color: red;
    margin-bottom: 10px;
  }
  
  .comment-item {
    padding: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    font-family: "Ubuntu";
  }
  
  .comment-header {
    display: flex; 
    justify-content: space-between;
    margin-bottom: 5px;
  }

  .comment-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .comment-name {
    font-weight: bolder;
    font-size: 16px;
  }
  
  .comment-date {
    color: #555;
    font-size: 14px;
  }
  
  .comment-text {
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
  }

  .replyCommentBtn {
    background-color: #4b97fc;
    padding: 5px 10px;
    margin-top: 7px;
    border-radius: 3px;
    font-size: 17px;
    color: white;
    border: none;
    cursor: pointer;
    font-family: "Ubuntu";
  }
  .replyCommentBtn:hover {
    background-color: #0354c0;
  }
  .replyCommentBtn:active {
    box-shadow: 0 2px #666;
    transform: translateY(2px);
  }

  .replyCommentContainer {
    display: flex;
    font-family: "Ubuntu" !important;
    flex-direction: column;
    font-size: 12px;
    justify-content: space-between;
    padding-left: 20px;
    text-align: left !important;
  }
}