.comment-explanation {
  position: absolute;
  padding-top: 5px;
}

.comment-disallowed {
  color: red;
}

.divider {
  background: #000000;
  height: 1px;
}

.group-stars {
  display: inline-table;
}

#rateable .rating-star {
  cursor: pointer;
  margin-bottom: 2px;
}

.rating-star {
  height: 16px;
  width: 16px;
  margin-bottom: 4px;
  color: #FFCA00;
}

.reply {
  padding-left: 30px;
}

.custom-rounded-padding {
  border-radius: 0.25rem;
  padding: 0.5rem;
}

.attached-image {
  max-width: 100%;
  max-height: 400px;
}

.unapproved {
  color: #808080;
  background-color: #EEEEEE;
}

.wrap-text {
  word-wrap: break-word;
}

.comment-container {
  margin-bottom: 10px;
}

.comment-content {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.comment-count {
  color: #808080;
}

.notice-container {
  background-color: blanchedalmond;
  padding: 10px;
  border-radius: 10px;
  margin-top: 10px;
}

.char-count {
  color: #808080;
  text-align: right;
  right: 10px;
  bottom: 10px;
  font-size: 0.9em;
}

.comment-contents {
  position: relative;
}

textarea {
  padding-bottom: 25px;
  /* Adjust padding to account for char-count */
}

label.radio {
  margin-right: 24px;
  display: inline-block;
}

.resize-vertical {
  resize: vertical;
}

.comment-form-footer {
  position: relative;
  height: 68px;
}

.form-actions {
  position: absolute;
  bottom: 0;
  right: 0;
}

.comment-top-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.font-bold {
  font-weight: bold;
}

.comment-action-buttons {
  margin-left: auto;
}

.inline-form {
  display: inline-block;
}

.badge-pill {
  border-radius: 10em;
}

.badge-none {
  color: #333333;
  background-color: transparent;
  padding: 0.35em 0;
}

.badge-not-started {
  background-color: #A0A0A0;
}

.badge-in-progress {
  background-color: #3B82F6;
}

.badge-completed {
  background-color: #22C55E;
}

.badge-rejected {
  background-color: #f0ad4e;
}

.status-controls,
.like-controls {
  display: flex;
  flex-direction: column;
  padding: 2px;
  gap: 8px;
  margin-bottom: 10px;
}

.status-option,
.like-option {
  display: flex;
  height: 24px;
  align-items: center;
  gap: 8px;
}

.image-preview-wrapper {
  position: relative;
  display: inline-block;
}

.image-preview {
  max-width: 100px;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  display: block;
}

.close-button {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.image-preview-wrapper:hover .close-button {
  opacity: 1;
  pointer-events: auto;
}

.image-upload-section {
  position: absolute;
  top: 0;
  left: 0;
}

input[type="file"].imageUpload {
  display: none;
}

.badge-org-admin-reply {
  background-color: #2b7cff;
  color: #fff;
}


.reply-modal .modal-footer {
  padding: 15px;
  position: relative;
}

.reply-modal .reply-preview-container {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
  max-width: 100%;
  border: 1px dashed #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reply-modal .reply-preview-container .image-preview {
  max-width: 100%;
  max-height: 150px;
  border-radius: 4px;
}

.reply-modal .reply-preview-container .image-preview-wrapper {
  position: relative;
  display: inline-block;
}

.reply-modal .modal-body .image-upload-section {
  display: none;
}

.reply-modal .reply-image-upload .btn i,
.reply-modal .reply-send-buttons .btn i {
  vertical-align: middle;
  margin-right: 5px;
}