.forumContainer {
  margin-top: 40px;
}

.postCard {
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.forumTag {
  display: inline-block;
  background-color: #fff;
  border: 1px solid #e7e9ec;
  color: #003366;
  font-weight: 600;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  margin-bottom: 15px;
  max-width: fit-content;
}

.postTitle {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
  text-transform: capitalize;
}

.postMeta {
  color: #555;
  font-size: 14px;
  margin-bottom: 15px;
}

.author {
  color: #1a73e8;
  font-weight: 500;
}

.postText {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.replyInfo {
  font-size: 13px;
  color: #777;
  margin-top: 10px;
}

.replySection {
  margin-top: 10px;
}

.replyHeader {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 45px;
  height: 45px;
  object-fit: cover;
  background-color: #fff;
  box-shadow: #e7e9ec;
}

.replyAuthor {
  font-weight: 600;
  margin: 0;
  color: #15467b;
}

.replyMeta {
  font-size: 13px;
  color: #777;
  margin: 0;
}

.replyBody {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.actionButton {
  padding: 10px;
  font-weight: 500;
  border-radius: 50px;
}

.discardBtn {
  border: none;
  background: transparent;
  color: #6c757d;
  margin-right: 8px;
  padding: 0%;
}

.discardBtn:hover {
  background: none;
  color: #6c757d;
}

.postBtn {
  border-radius: 20px;
  padding: 6px 16px;
  background-color: #2e5bff;
  border: none;
  color: white;
}

.noCaretDropdown :global(.dropdown-toggle::after) {
  display: none !important;
  content: none !important;
}

.replyAction {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #e7e9ec;
  padding: 7px;
  border-radius: 0 3px 3px 0;
  color: #a3a5a9;
}

.replyActionsWrapper {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.replyCard:hover .replyActionsWrapper {
  opacity: 1;
  visibility: visible;
}

.replyCard {
  transition: box-shadow 0.2s ease-in-out;
}

.noCaretDropdown :global(.dropdown-toggle::after) {
  display: none !important;
}

.actionDropdown {
  background-color: #fff;
  box-shadow: 0 2px 7px 1px rgba(0, 0, 0, 0.05),
    0 6px 32px 0 rgba(18, 43, 70, 0.1);
  border-radius: 10px;
  border: none;
}

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

.tooltipText {
  visibility: hidden;
  background: #0d2c48;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

/* Tooltip arrow */
.tooltipText::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #0d2c48 transparent transparent transparent;
}

/* Show on hover */
.tooltipWrapper:hover .tooltipText {
  visibility: visible;
  opacity: 1;
}

.tooltip-icon {
  cursor: pointer;
}

.commentRow {
  display: flex;
  align-items: flex-start;
}

.commentContent {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* <-- aligns text to bottom of image */
}

@media (max-width: 992px) {
  .sidebar {
    flex-direction: row;
    justify-content: start;
    gap: 10px;
    margin-bottom: 1em;
    padding: 10px;
  }
}
