.comment {
  /* margin: 20px; */
  width: 100%;
  text-align: left;
}

.comment .comment_item {
  display: flex;
  flex-direction: column;
}

.comment .comment_item .comment_header {
  display: flex;
  align-items: center;
}

.comment .comment_item .comment_header .comment_avatar_container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.comment .comment_item .comment_header .comment_avatar_container .comment_avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment .comment_item .comment_header .comment_username {
  font-weight: bold;
  margin-left: 30px;
}

.comment .comment_item .comment_info {
  display: flex;
  align-items: center;
  color: #ccc;
  margin-left: 80px;
  /* font-size: 14px; */
}

.comment .comment_item .comment_info .comment_star {
  color: #006f3c;
  font-size: 20px;
}

.comment .comment_item .comment_info .comment_time {
  padding: 0 10px;
}

.comment .comment_item .comment_content {
  margin-top: 10px;
  margin-left: 80px;
  max-width: 500px;
  font-size: 15px;
}

.comment .comment_item .comment_images {
  margin-top: 10px;
  margin-left: 80px;
  display: flex;
  /* max-width: 800px; */
}

.comment .comment_item .comment_images img {
  width: 100px !important;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin: 0 20px;
  cursor: pointer;
  transition: transform 0.2s;
}

.comment .comment_item .comment_images img:first-child {
  margin-left: 0;
}

.comment .comment_item .comment_images img:hover {
  transform: scale(1.05);
}

.comment .comment_item .admin_reply {
  margin-top: 15px;
  margin-left: 80px;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 8px;
}

.comment .comment_item .admin_reply .admin_reply_header {
  display: flex;
  align-items: center;
  /* margin-bottom: 10px; */
}

.comment .comment_item .admin_reply .admin_reply_header .admin_reply_avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.comment .comment_item .admin_reply .admin_reply_header .admin_reply_avatar img {
  height: 100%;
}

.comment .comment_item .admin_reply .admin_reply_header .admin_username {
  color: #006f3c;
  font-weight: bold;
}

.comment .comment_item .admin_reply .admin_reply_header .admin_reply_time {
  color: #999;
  font-size: 14px;
  margin-left: 15px;
}

.comment .comment_item .admin_reply .admin_reply_content {
  margin-left: 60px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 10px;
}

.pagination .pagination-btn {
  padding: 8px 16px;
  border: 1px solid #006f3c;
  background-color: #fff;
  color: #006f3c;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination .pagination-btn:hover:not(:disabled) {
  background-color: #006f3c;
  color: #fff;
}

.pagination .pagination-btn:disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

.pagination .pagination-btn.active {
  background-color: #006f3c;
  color: #fff;
  border-color: #006f3c;
}

.preview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.preview-overlay .preview-container {
  position: relative;
}

.preview-overlay .preview-container .close-btn {
  position: absolute;
  width: 30px;
  top: 0;
  right: -10px;
}

.preview-overlay .preview-container .preview-large-image {
  width: auto !important;
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}
