.comment-alert {
  position: fixed;
  inset: 0;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease;
}

.comment-alert.is-open {
  opacity: 1;
  visibility: visible;
}

.comment-alert .comment-alert-content {
  background-color: #fff2cc;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  max-height: 80%;
  overflow-y: auto;
}

.comment-alert .close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

.comment-alert .close-button:hover {
  color: #000;
}

.comment-alert .pagination {
  line-height: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
}

.comment-alert .comment-page-info {
  align-self: center;
  font-size: 1em;
  color: #333;
}

.comment-alert .prev-btn {
  display: inline-block;
  font-size: 1em;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #ffc29c;
}

.comment-alert .next-btn {
  display: inline-block;
  font-size: 1em;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #ffc29c;
}

.comment-alert .prev-btn:hover {
  background-color: #e09970;
}

.comment-alert .next-btn:hover {
  background-color: #e09970;
}

.comment-alert .prev-btn:disabled,
.comment-alert .next-btn:disabled {
  background-color: #cea48b;
  cursor: not-allowed;
}

.comment-alert .comment {
  border: 1px solid #b3a780;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  background-color: #ecdeb2;
}
