/* Skeleton */

#tgbl-skeleton-wrapper {
  overflow: hidden;
}

.tgbl-skeleton-post {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.tgbl-skeleton-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tgbl-skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e0e0e0;
  animation: tgbl-pulse 1.5s infinite;
}

.tgbl-skeleton-title {
  width: 150px;
  height: 20px;
  background: #e0e0e0;
  border-radius: 4px;
  animation: tgbl-pulse 1.5s infinite;
}

.tgbl-skeleton-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tgbl-skeleton-line {
  height: 14px;
  background: #e0e0e0;
  border-radius: 4px;
  animation: tgbl-pulse 1.5s infinite;
}

.tgbl-skeleton-line.tgbl-short {
  width: 60%;
}

/* Pulse animation */
@keyframes tgbl-pulse {
  0% {
      background-color: #e0e0e0;
  }
  50% {
      background-color: #f0f0f0;
  }
  100% {
      background-color: #e0e0e0;
  }
}

.tgbl-reply-divider {
  height: 1px; 
  margin: 1px 0; 
  width: 100%; 
  background-color: #E5EBF9;
}

.tgbl-hidden-replies {
  margin-top: 10px;
}

.tgbl-more-replies {
  margin-top: 10px;
  font-weight: bold;
  color: blue;
  cursor: pointer;
}

.bs-forums-items.list-view .bs-header-item.topic-lead .item-meta{
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.bs-single-forum-list .activity-list .activity-item .ac-emotions_list.active{
  bottom:25px;
}

.bs-single-forum-list .activity-list {
    margin-left: auto; 
}

.bs-single-forum-list .forum-reaction-btn {
    display: flex;
    align-items: center; 
}

.bs-single-forum-list .forum-reaction-btn img.emotions {
    vertical-align: middle; 
}

.tgbl-loading-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid #f3f3f3; /* Light grey */
  border-top: 3px solid #3498db; /* Blue */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/*------- TEST ------- */

/* Hide text in sticky/unsticky buttons */
.forum-archive .bb-icon-thumbtack a.bbp-topic-sticky-link {
  font-size: 0;
  text-indent: -9999px;
  display: inline-block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.forum-archive .bb-icon-thumbtack a.bbp-topic-super-sticky-link {
  display: none; 
}

.forum-archive .bb-icon-thumbtack-star a.bbp-topic-super-sticky-link {
  display: none; 
}

.forum-archive .bb-icon-lock-alt a.bbp-topic-close-link {
  display: none; 
}


.forum-archive #bbpress-forums#bbpress-forums .bs-forums-items.list-view .bs-dropdown-wrap-inner > a > i::before {
content: "\ee5c";
}


.forum-archive #bbpress-forums#bbpress-forums .bs-item-wrap:not(.bs-header-item) .bb-reply-meta-wrapper > a {
flex: 1 0 0;
text-align: end;
}

#bbpress-forums#bbpress-forums .bs-forums-items.list-view .bs-dropdown-wrap-inner {
  opacity: 1!important;
  visibility: visible!important;
}

#bbpress-forums#bbpress-forums .bs-forums-items.list-view .bs-dropdown-wrap-inner > a > i {
  border:0px!important;
}


.forum-archive .bs-forums-items.list-view .bs-header-item.topic-lead .item-meta {
  flex-direction: row !important;
}

.forum-archive #bbpress-forums .acue-forums-wrapper .bs-forums-items.list-view.bs-item-list:not(.bb-tag-items-list) {
    overflow-x: hidden;
}






body.forum-archive .bbp-topic-form #bbp-close-btn {
  display: block!important;
}


body.forum-archive .entry-content .bbp-topic-form .bbp_topic_tags_wrapper {
    border: 0px;
    margin-bottom: 0px !important;
    border-bottom: 1px solid var(--bb-content-border-color);
    border-top: 1px solid var(--bb-content-border-color);
    border-radius: var(--bb-input-radius);
    padding: 5px 25px;
}  

body.forum-archive .entry-content .bbp-topic-form .bbp-form .bb-form-select-fields {
    display: flex;
}

body.forum-archive .entry-content .bbp-topic-form .bb-form-select-fields {
    padding: 15px 25px;
}

body.forum-archive .entry-content .bbp-topic-form .bb-form-select-fields>* {
    flex: inherit;
    padding: 0 10px;
}


body.forum-archive .entry-content .bbp-topic-form .bbp_topic_form_type_wrapper {
    margin-bottom: 0px;
}

body.forum-archive .entry-content .bbp-topic-form .bbp-submit-wrapper {
    margin-top: 0px; 
}  


body.forum-archive #bbpress-forums fieldset.bbp-form select {
    margin: 0px;
}

body.forum-archive .entry-content .bbp-topic-form .bbp-form #whats-new-toolbar {
    margin-bottom: 0px;
}

body.forum-archive .entry-content .bbp-topic-form #whats-new-toolbar {
    padding: 15px 25px;
}


body.forum-archive .forums-topic-section .tgbl-discussion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px; 
} 

body.forum-archive. bs-section-title {
    margin: 0; 
}
