.modal {
  position: fixed;
  top: 10%;
  left: 50%;
  
  z-index: 1000;
  background-color: #28a745;
  color: rgb(65, 65, 65);
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  width: 300px;
  font-size: 18px;
}

.modal-content {
  text-align: center;
}

.close-btn {
  cursor: pointer;
  float: right;
  font-size: 20px;
  color: white;
}

.comment-toggle {
  cursor: pointer;
}

.comments-section {
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: 10px;
}

.comment {
  display: flex;
  margin-bottom: 10px;
  padding: 8px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.comment-author-pic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
}

.comment-content {
  flex: 1;
}

.comment-author {
  font-weight: bold;
  margin-bottom: 2px;
}

.comment p {
  margin: 0;
  font-size: 14px;
}

.star-rating {
  display: flex;
  margin: 10px 0;
}

.star-rating i {
  color: #ffc107;
  font-size: 20px;
  margin-right: 5px;
  cursor: pointer;
}

.rating-input {
  margin-bottom: 10px;
  padding: 8px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.rating-input p {
  margin: 0 0 5px 0;
  font-weight: bold;
  font-size: 14px;
}

.add-comment {
  display: flex;
  margin-top: 10px;
  align-items: center;
}

.add-comment input[type="text"] {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
}

.add-comment input[type="text"]:focus {
  border-color: #4e9af1;
}

.add-comment button {
  background-color: #4e9af1;
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin-left: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.add-comment button:hover {
  background-color: #3a7bc8;
}

.add-comment button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.comment-form {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.comment-form .rating-input {
  width: 100%;
}