/* استایل دکمه شورت‌کات */
.btn-comment {
  background-color: #4c66af;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

    .button-wrapper {
      margin-left: 20px;  
      text-align: left;  

    }

.btn-comment:hover {
  background-color: #c4a882;
}

/* استایل مودال (پنهان به صورت پیش‌فرض) */
.modal {
  display: none; /* مخفی */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* پس‌زمینه تیره */
}

/* محتوای داخل مودال */
.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
}

/* دکمه بستن */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: black;
}

/* فرم نظرات */
.comment-form {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 8px;
  margin: 5px 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* لیست نظرات */
#comments-list {
  list-style: none;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
}

.comment-item {
  background: #f9f9f9;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  border-left: 4px solid #7eaed6;
}

.comment-item strong {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.comment-item span {
  font-size: 0.9em;
  color: #666;
}
