.comment-divider {
  margin: 40px 0 20px;
  border: 0;
  height: 1px;
  background: #ccc;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #D4AF37;
}

.toggle-btn {
  background: transparent;
  color: #D4AF37;
  border: 1px solid #D4AF37;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.comment-input.small-input {
  width: 60%;
  padding: 6px;
  margin-bottom: 10px;
}

.comment-input.small-textarea {
  width: 60%;
  height: 80px;
  padding: 6px;
  margin-bottom: 10px;
}

.comment-submit-btn, .comment-approve-button {
  background: #D4AF37;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;  /* button stays to the left */
  padding: 8px 16px;
}

/* Comment form layout */
.comment-form {
  display: flex;
  flex-direction: column;  /* Stack all elements vertically */
  max-width: 100%;
  gap: 10px;
}

/* Reduce input width */
.comment-input,
.comment-input.small-input,
.comment-input.small-textarea {
  width: 100%;        /* prevent overflow */
  max-width: 500px;   /* limit width on large screens */
  box-sizing: border-box;
}

/* Textarea style */
.comment-input.small-textarea {
  height: 80px;
  resize: vertical;
}

/* Submit button styling */
.comment-submit-btn {

}
.comment-submit-btn:hover {
  background: #002850;
}

/* Mobile-specific adjustments */
@media (max-width: 600px) {
  .comment-input,
  .comment-input.small-input,
  .comment-input.small-textarea {
    max-width: 100%;  /* Take full width of screen */
  }
}

.comment-toast {
  display: none;
  background: #FFD700;
  color: #003562;
  padding: 8px;
  margin-top: 10px;
  border-radius: 4px;
  font-weight: bold;
}

.comment-item {
  background: #002B50;
  padding: 10px 15px;
  margin-bottom: 12px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.comment-author {
  font-weight: bold;
  color: #D4AF37; /* theme color */
  margin-bottom: 4px;
}

.comment-time {
  font-size: 0.85em;
  color: #777;
  margin-top: 4px;
}

.comment-text {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.5;
  color: #fff;
}

.no-comments {
  font-style: italic;
  color: #666;
}