/*----------------------------------------------------*/
@use "el-widgets/variables" as *;
@use "frmx-framework";
@use "fse-compatibility";
/*---------------------------------------------------- */

.frmx-row.frmx-sidebar-left {
  flex-direction: row-reverse;
}
.load-forum{
  .community-posts-wrapper{
    .community-post {
      .entry-content{
        .community-post-meta{
          margin: 0;
        }
      }
    }
  }
}

/** === Forum === **/
.forum-title-area {
  text-align: left;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 15px 25px;
  background: linear-gradient(264deg, rgb(0 0 0 / 0%) 0.95%, rgb(255 255 255 / 40%) 98.24%);
  border-radius: 15px;
  backdrop-filter: blur(4px);

  @media (max-width: 550px) {
    padding: 15px;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  h1 {
    font-size: 34px;
    margin-bottom: 6px;

    @media (max-width: 550px) {
      font-size: 28px;
    }
  }

  &.no-thumb {
    text-align: center;
  }

  .content {
    padding-top: 5px;
  }


  p {
    margin: 0;
    font-size: 18px;
  }

  .thumbnail img {
    max-width: 75px;
    padding-top: 5px;
  }
}

input.mce-textbox {
  padding: 0 5px !important;
}

/** === Topics === **/
.bb-radius {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--black_50);
  margin-top: -1px;
  background: var(--bs-white);
}

.button-container {
  .all_doc_btn {
    margin-top: 40px;
  }
}

@keyframes slideDown {
  0% {
    transform: translate3d(0, 15px, 0);
  }

  100% {
    transform: translate3d(0, 23px, 0);
  }
}

.doc_border_btn.border-light {
  border-color: #cfebf1 !important;

  svg {
    margin-left: 8px;
    vertical-align: 0;
    transition: all 0.3s ease-in-out;
  }

  &:hover {
    border-color: var(--bbpc_brand_color) !important;

    svg {
      path {
        fill: #fff;
      }
    }
  }
}

.pagination-wrapper {
  background: var(--bs-white);
  padding: 23px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  border-radius: 6px;
  box-shadow: 0 3px 6px 0 rgba(4, 73, 89, 0.06);

  @media(max-width: 768px) {
    padding: 20px;
  }

  @media(max-width: 576px) {
    flex-direction: column;
  }

  p {
    margin: 0;
    font-size: 14px;
    color: var(--black_500);
  }

  .post-pagination {
    margin: 0;
    padding: 0;
    list-style: none;

    @media(max-width: 768px) {
      margin-top: 30px;
    }

    li {
      display: inline-block;

      &.pegi-disable {
        display: none;
      }

      &:not(:last-child) {
        margin-right: 3px;
      }

      a {
        display: block;
        color: var(--black_500);
        height: 35px;
        width: 35px;
        text-align: center;
        line-height: 35px;
        background: #f2f5f6;
        border-radius: 3px;

        &:hover,
        &.active {
          background: var(--bbpc_brand_color);
          color: #fff;
        }
      }
    }
  }
}

body.reply-template-default {
  .page_wrapper {
    padding-top: 150px;

    @media(max-width: 768px) {
      padding-top: 100px;
    }
  }
}

.community-post {
  border-radius: 6px;
  box-shadow: 0 2px 8px 0 rgba(2, 47, 57, 0.1);
  padding: 23px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  transition: all 0.3s ease-in-out;
  border: 1px solid transparent;

  &.forum-item {
    padding: 25px 20px;

    .post-content {
      p {
        font-size: 14px;
        line-height: 1.6;
      }
    }
  }

  @media(max-width: 667px) {
    display: block;
  }

  @media(max-width: 420px) {
    padding: 20px 15px;
  }

  &:hover {
    box-shadow: 0 24px 40px 0 rgba(2, 47, 57, 0.12);
    border-color: #eef3f6;
    transform: translateX(10px);
  }

  .post-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;

    .author-avatar {
      margin-bottom: 5px;
      margin-right: 0 !important;

      &.forum-icon {
        img {
          border-radius: 0;
        }
      }

      img {
        max-width: 60px;
        border-radius: 50%;
      }

      @media(max-width: 667px) {
        display: none;
      }

      @media(max-width: 450px) {
        margin-right: 15px;
      }
    }

    .entry-content {
      flex: 2;
      padding: 0;

      .post-title {
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 0;
        line-height: 1.4;

        &:hover {
          color: var(--bbpc_brand_color);
        }
      }

      p {
        margin: 0;
      }
    }
  }

  .post-meta-wrapper {

    @media(max-width: 667px) {
      margin-top: 15px;
      display: none;
    }

    .post-meta-info {
      margin: 0;
      padding: 0;
      list-style: none;

      li {
        display: inline-block;

        &:not(:last-child) {
          margin-right: 50px;

          @media(max-width: 991px) {
            margin-right: 20px;
          }
        }

        a {
          display: flex;
          align-items: center;
          font-size: 14px;
          color: var(--black_500);
          text-decoration: none;

          i {
            margin-right: 4px;
          }

          &:hover {
            color: var(--bbpc_brand_color);
          }
        }
      }
    }
  }

  &.style-two {
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;

    &:not(:last-child) {
      border-bottom: 1px solid var(--black_50);
    }

    .post-meta-wrapper {
      .post-meta-info {
        li {
          i {
            transition: all 0.3s ease-in-out;
          }

          &:nth-child(2) {
            &:hover {
              a {
                color: #b1b5c0;
              }

              i {
                color: #f9ae44;
              }
            }
          }
        }
      }
    }

    .post-content {
      .entry-content {
        .post-title {
          display: inline-block;
          margin: 0 0 8px 0;
        }
      }

      .com-featured {
        position: absolute;
        right: 0;
        top: -2px;
        height: 30px;
        width: 30px;
        z-index: 2;
        text-align: center;
        color: #fff;
        padding: 0 15px;

        i {
          z-index: 22;
          position: relative;
          font-size: 14px;
        }

        &:after {
          content: '';
          top: 0;
          position: absolute;
          right: 0;
          width: 0;
          height: 0;
          border-left: 30px solid transparent;
          border-right: 0 solid transparent;
          border-top: 30px solid #00ae69;
          z-index: 1;
        }
      }

      .cat-wrap {
        display: inline-block;
        vertical-align: 3px;
      }
    }

    .meta {
      display: flex;
      align-items: center;
      gap: 16px;
      padding-left: 0;

      li {
        display: inline-block;
        color: var(--black_400);
        font-size: 14px;

        img {
          display: inline-block;
          vertical-align: -2px;
        }

        i,
        img {
          margin-right: 10px;
          font-size: 14px;
        }

        a {
          font-size: 14px;
          color: var(--black_350);
          text-decoration: none;

          &:hover {
            color: var(--bbpc_brand_color);
          }
        }
      }
    }

    &:hover {
      background: #f7f9fa;
      transform: translateX(0);
      box-shadow: none;
      border-color: #f7f9fa;
    }
  }
}

/** === Forum heading bar === **/
.forums-box {
  background: var(--black_25);
  margin-bottom: 20px;

  .forum-titles {
    list-style: none !important;
    display: flex;
    padding: 0;
    margin: 0;
    justify-content: flex-end;

    li {
      text-align: right;
      font-size: 14px;
    }

    .forum-topic-count,
    .forum-reply-count {
      flex-basis: 25%;
      color: var(--black_800);
    }

    .forum-freshness {
      flex-basis: 50%;

      .freshness-box {
        display: flex;
        font-size: 14px;
        line-height: 1.3;
        flex-direction: column;

        a {
          color: var(--black_500);
          text-decoration: none;

          &:hover {
            color: var(--bbpc_brand_color);
          }
        }

        .freshness-btm {
          display: flex;
          justify-content: flex-end;
          padding-top: 5px;
          align-items: center;

          .bbp-author-name {
            margin-right: 10px;
          }

          .bbp-author-avatar {
            img {
              max-width: 30px;
              border-radius: 50%;
            }
          }
        }
      }
    }
  }

  .support-info,
  .support-category-menus {

    span,
    .forum-titles li {
      font-weight: 500;
    }
  }

}

.post-header {
  display: flex;
  justify-content: space-between;
  background: brand_color_rgba(0.05);
  padding: 17px 30px;
  border: 1px solid var(--black_50);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;

  &.forums-header {
    padding: 17px 15px;
    display: flex;
    align-items: center;
    background: var(--black_50);

    .support-category-menus {
      @media (max-width: 767px) {
        display: none;
      }
    }
  }

  @media (max-width: 768px) {
    display: block;
  }

  @media (max-width: 576px) {
    padding: 15px;
  }

  .support-total-info {
    margin: 0;
    padding: 0;
    list-style: none;

    @media (max-width: 768px) {
      margin-bottom: 10px;
    }

    li {
      display: inline-block;
      font-size: 14px;

      &.active {
        .open-data {
          color: var(--black_800);
          font-weight: 500;
        }
      }

      &.open-ticket {
        color: var(--black_800);
        font-weight: 500;
      }

      &.close-ticket {
        a {
          color: var(--black_500);
        }
      }

      a {
        font-size: 14px;
        font-weight: 400;
        color: var(--black_500);
        text-decoration: none;

        &:hover {
          color: var(--bbpc_brand_color);
        }
      }

      &:not(:last-child) {
        margin-right: 20px;
      }

      i {
        color: #00ae69;
        margin-right: 3px;
        vertical-align: -2px;
      }

      &:nth-child(1) {
        i {
          color: #f06292;
        }
      }
    }
  }

  .category-menu {
    margin: 0;
    padding: 0;
    list-style: none;

    li {
      display: inline-block;
      font-size: 14px;

      .dropdown-menu {
        top: 12px !important;
        transform: translate3d(0, 23px, 0) !important;
        display: none;

        &.show {
          display: block;
          position: absolute;
          z-index: 1;
        }
      }

      &:not(:last-child) {
        margin-right: 10px;
      }

      &:nth-child(4),
      &:nth-child(3) {
        .dropdown-menu {
          right: -11px;
          left: auto !important;
        }
      }

      &:nth-child(4) {
        @media (max-width: 380px) {
          .dropdown-menu {
            width: 190px;
          }
        }
      }

      &:nth-child(3) {
        .title {

          &:before,
          &:after {
            right: 40px;
          }
        }
      }

      &:nth-child(1) {
        .title {

          &:before,
          &:after {
            right: auto;
            left: 30px;
          }
        }
      }

      &:nth-child(2) {
        .title {

          &:before,
          &:after {
            right: auto;
            left: 25px;
          }
        }
      }
    }

    .dropdown-toggle {
      position: relative;
      background: transparent;
      box-shadow: none;
      border: 0;
      color: var(--black_500);
      padding: 0 15px;
      font-size: 14px;

      &:hover,
      &.show {
        color: var(--black_900)
      }

      &.show::after {
        transform: rotate(180deg);
        top: 0;
      }

      &:after {
        content: "\33";
        font-family: eleganticons;
        border: 0;
        position: absolute;
        top: 50%;
        right: -5px;
        transform: translateY(-50%);
      }
    }

    .btn-secondary:not(:disabled):not(.disabled).active,
    .btn-secondary:not(:disabled):not(.disabled):active,
    .show>.btn-secondary.dropdown-toggle {
      background-color: transparent;
      border: none;
      color: var(--black_500);
      box-shadow: none;
    }

    .dropdown-menu {
      border: 1px solid var(--black_50);
      background: var(--bs-white);
      box-shadow: var(--bs_xl);
      padding: 0;
      width: 260px;
      animation: slideDown 0.12s cubic-bezier(0, 0.1, 0.1, 1) backwards;

      @media (max-width: 576px) {
        width: 210px;
      }
    }

    .title {
      font-size: 14px;
      font-weight: 500;
      margin: 0;
      background: var(--black_25);
      border-bottom: 1px solid var(--black_75);
      padding: 14px 20px 11px;
      line-height: 1;
      position: relative;

      &:before {
        content: "";
        height: 16px;
        width: 16px;
        background: var(--black_50);
        position: absolute;
        right: 30px;
        transform: rotate(45deg);
        top: -8px;
      }

      &:after {
        content: "";
        height: 16px;
        width: 16px;
        background: var(--black_25);
        position: absolute;
        right: 30px;
        transform: rotate(45deg);
        top: -6px;
      }
    }

    .cate-search-form {
      padding: 0 20px;
      margin-top: 12px;
      margin-bottom: 0;

      input {
        width: 100%;
        background: #fbfcfc;
        border: 1px solid #e2e7e8;
        border-radius: 4px;
        padding: 6px 20px;
        font-size: 14px;

        &::placeholder {
          color: #a8acb6;
        }

        &:focus {
          background: #fff;
          border: 1px solid var(--black_800)
        }
      }
    }

    .all-users {
      font-size: 14px;
      padding: 12px 22px;
      border-bottom: 1px solid var(--black_75);
      display: flex;
      flex-flow: column;
      gap: 5px;

      .count {
        margin-left: 5px;
        font-size: 10px;
        // padding: 5px 6px 5px 7px;
        background: #ebedf0;
          border-radius: 10px;
          color: #838793;
          font-size: 12px;
          margin-left: 5px;
          padding: 1px 5px 0;
          top: 8px;
          width: auto;
          height: auto;
      }

      .frmx-dropdown-item {
        display: flex;
        align-items: center;
        color: var(--black_500);
        text-decoration: none;

        &:hover {
          text-decoration: none;
          border-radius: 5px;
          color: var(--black_900)
        }
      }

      img {
        width: 20px;
        margin-right: 10px;
        display: inline-block;
        border-radius: 50%;
      }
    }

    .tagList a {
      padding: 0;
      color: var(--black_400);

      span {
        border-radius: 4px;
        width: 12px;
        height: 12px;
        background: var(--bbpc_brand_color);
        display: inline-block;
        margin-right: 10px;
        vertical-align: -3px;
      }

      &:not(:last-child) {
        border-bottom: 1px solid #e6eeef;
      }

      &:hover,
      &:focus {
        background: transparent;
        color: var(--black_800);
      }
    }

    .short-by {
      padding: 10px 20px;
      background-color: var(--bs-white);
      display: block;
      text-decoration: none;

      a {
        padding: 7px 0 7px 20px;
        position: relative;
        color: var(--black_400);
        font-size: 14px;
        display: block;
        text-decoration: none;

        &:hover {
          background: transparent;
          color: var(--black_800);
        }

        &.active-short {
          color: var(--black_800);

          &:before {
            content: "\4e";
            position: absolute;
            font-family: eleganticons;
            left: 0;
            top: 7px;
            color: #0abe76;
            font-size: 14px;
          }
        }
      }
    }
  }
}

.forum-page-content {
  .communities-boxes {
    margin: 0 -30px;
  }
  
}
.post-header {
  .support-category-menus {
    .forumax-sort-lists {
      .frmx-dropdown {
        .frmx-dropdown-toggle {
          &:hover, &:focus {
            color: var(--black_900);
            background: transparent;
          }
        }
      }
    }
  }
}

.shadow {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.answer-action {
  border-radius: 6px;
  background: #fff;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;

  @media (max-width: 768px) {
    display: block;
  }

  .action-content {
    display: flex;
    align-items: center;

    .image-wrap {
      margin-right: 30px;
    }

    .ans-title {
      font-size: 22px;
      font-weight: 500;
      margin-bottom: 5px;
    }

    p {
      margin: 0;
    }
  }

  .btn-ans {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 25px;
    box-shadow: none;
    border: 1px solid var(--bbpc_brand_color);
    transition: all 0.3s ease-in-out;

    &:hover {
      background: transparent;
      color: var(--bbpc_brand_color);
    }

    @media (max-width: 768px) {
      margin-left: 130px;
      margin-top: 5px;
    }
  }
}

.call-to-action {
  padding: 55px 0;
  background: #242729;
  position: relative;

  .container {
    position: relative;
  }

  .overlay-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    opacity: 0.5;
  }

  .action-content-wrapper {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

    @media (max-width: 576px) {
      display: block;
      text-align: center;
    }

    .action-title-wrap {
      display: flex;
      align-items: center;

      img {
        padding-right: 45px;
      }

      .action-title {
        color: #fff;
        font-size: 44px;
        line-height: 1.2;
        font-weight: 500;

        @media (max-width: 991px) {
          font-size: 34px;
        }
      }
    }

    .action_btn {
      border: 1px solid var(--bbpc_brand_color);
      font-size: 16px;
      padding: 12px 25px;
      font-weight: 500;

      &:hover {
        background: transparent;
        border-color: #fff;
        color: #fff;
      }
    }
  }
}

.status_widget {
  .status {
    margin-bottom: 25px;
  }

  .offline {
    color: #f4b130;
    border: 2px solid #f5d597;
    padding: 0 13px;
    display: inline-block;
    border-radius: 4px;
    margin-left: 5px;
  }

  .title-sm {
    font-size: 16px;
    color: var(--black_800);
    font-weight: 500;
    margin-bottom: 10px;
  }

  .open-hours {
    margin-bottom: 30px;

    p {
      margin-bottom: 0;

      @media (min-width: 991px) {
        max-width: 240px;
      }
    }
  }

  .current-time {
    margin-top: 28px;

    &:after {
      content: "";
      display: block;
      clear: both;
    }

    li {
      float: left;
      width: 50%;
    }
  }
}

.w_tag_list {
  &.style-light {
    li {
      a {
        background: #f0f2f5;

        &:hover {
          background: brand_color_rgba(.15);
          ;
          color: var(--bbpc_brand_color);
          box-shadow: none;
        }
      }
    }
  }
}

.usefull-links {
  margin: 0;
  padding: 0;
  list-style: none;

  li {
    padding: 7px 0;

    i {
      margin-right: 10px;
    }

    a {
      color: var(--black_500);
      font-size: 16px;
      font-weight: 400;
      display: inline-block;

      &:hover {
        color: var(--bbpc_brand_color);
      }
    }
  }
}

.ticket_categories,
.forumax-forums-list {
  li {
    padding: 12px 0 10px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;

    &:not(:last-child) {
      border-bottom: 1px solid var(--black_50);
    }

    .forumax-forum-count {
      background: rgb(175 184 193 / .2);
      height: 22px;
      color: #838793;
      font-size: 12px;
      display: flex;
      line-height: 1.2;
      padding: 5px 7px 5px 8px;
      transition: all 0.3s;
      min-width: 20px;
      border-radius: 2em;
      font-weight: 500;

    }

    &:hover {
      .forumax-forum-count {
        background: var(--bbpc_brand_color);
        color: #fff;
      }

      a {
        color: var(--bbpc_brand_color);
      }
    }

    .forumax-forum-title {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .forumax-forum-icon img {
      display: block;
      width: 16px;
      height: 16px;
      max-width: 16px;
      object-fit: cover;
    }

    a {
      font-size: 16px;
      color: var(--black_700);
      text-decoration: none !important;
    }
  }
}

/* Active Members Widget
============================================================================================ */
.frmx-active-members {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  .frmx-active-member-item {
    flex-shrink: 0;
    position: relative;

    // Tooltip — shows member name on hover.
    &::after {
      content: attr(data-frmx-tooltip);
      position: absolute;
      bottom: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%);
      background: var(--black_800);
      color: var(--bs-white);
      font-size: 12px;
      font-weight: 500;
      line-height: 1.3;
      white-space: nowrap;
      padding: 4px 10px;
      border-radius: 4px;
      pointer-events: none;
      opacity: 0;
      visibility: hidden;
      z-index: 10;
      @include transition(opacity, 150ms, ease-in-out);
    }

    // Tooltip arrow.
    &::before {
      content: "";
      position: absolute;
      bottom: calc(100% + 4px);
      left: 50%;
      transform: translateX(-50%);
      border: 4px solid transparent;
      border-top-color: var(--black_800);
      pointer-events: none;
      opacity: 0;
      visibility: hidden;
      z-index: 10;
      @include transition(opacity, 150ms, ease-in-out);
    }

    &:hover::after,
    &:hover::before {
      opacity: 1;
      visibility: visible;
    }
  }

  .frmx-active-member-link {
    display: block;
    line-height: 0;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--black_75);
    @include transition(all, 200ms, ease-in-out);

    &:hover {
      border-color: var(--bbpc_brand_color);
      transform: translateY(-2px);
    }

    img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

/* Forum Profile Area css
============================================================================================ */
.forum-user-wrapper {
  background: #fbfbfc;
  padding-bottom: 135px;

  .forum_main_inner {
    margin-top: -60px;
  }
}

form#bbp-reply-search-form,
form#bbp-topic-search-form {

  &:focus-within {
    border-color: var(--bbpc_brand_color);
  }

  input[type=search] {
    border: none;
    padding-left: 10px;
    width: 100%;
  }
}

.author_option {
  background: #fff;
  border-radius: 10px;
  padding: 30px 30px 50px 30px;
  box-shadow: 0 30px 60px 0 rgba(2, 2, 48, 0.08);

  .author_img {
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .nav.nav-tabs {
    border: none;

    li {
      margin-bottom: 10px;

      a {
        border: none;
        background: #f5f5f9;
        line-height: 50px;
        padding: 0 28px;
        border-radius: 25px;
        font-size: 14px;
        font-weight: 500;
        color: #232361;

        i {
          padding-right: 2px;
        }

        svg {
          position: relative;
          top: -2.5px;
          margin-right: 7px;
        }

        &:hover,
        &.active {
          background: var(--bbpc_brand_color);
          color: #fff;

          svg {
            path {
              fill: #fff;
            }
          }
        }
      }

      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}

.forum_body_area {
  background: #fff;
  padding: 50px 40px 30px 40px;
  border-radius: 10px;
  box-shadow: 0 30px 60px 0 rgba(2, 2, 48, 0.08);
}

.search_forum {
  margin-bottom: 45px;

  input {
    height: 50px;
    border: 1px solid #f1f1f8;
    border-radius: 25px;
    background: #f7f7fb;
    padding: 0 30px;
    line-height: 50px;
    outline: none !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 400;
    color: #848996;
    font-family: $rob;

    &:focus {
      border: 1px solid #f1f1f8;
      background: #f7f7fb;
      outline: none !important;
      box-shadow: none !important;
    }

    @include placeholder {
      font-size: 14px;
      font-weight: 400;
      color: #848996;
      font-family: $rob;
    }
  }

  .input-group-append {
    button {
      position: relative;
      background: var(--bbpc_brand_color);
      width: 80px;
      padding: 0;
      border: none;
      color: #fff;
      text-align: center;
      border-top-right-radius: 25px;
      border-bottom-right-radius: 25px;

      i {
        transform: rotate(-90deg);
        position: absolute;
        left: 58%;
        text-align: center;
        top: 0;
        height: 100%;
      }
    }
  }
}

.forum_topic_list {
  h2 {
    color: #232361;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 20px;
  }
}

.list_pagination {
  padding-top: 20px;

  .left {
    line-height: 36px;

    p {
      font-size: 14px;
      color: #6b6b80;
      font-weight: 400;
      margin-bottom: 0;
    }
  }

  .right {
    nav {
      ul {
        border: none;
        margin-bottom: 0;

        li {
          margin-right: 6px;

          a {
            border: none;
            background: #f8f8f8;
            padding: 0;
            font-size: 14px;
            color: #6b6b80;
            height: 36px;
            width: 36px;
            text-align: center;
            line-height: 36px;
            border-radius: 10px !important;
            outline: none;
            box-shadow: none;
          }

          &:hover,
          &.active {
            a {
              background: var(--bbpc_brand_color);
              color: #fff;
            }
          }

          &:last-child {
            margin-right: 0;
          }
        }
      }
    }
  }
}

.profile_info {
  .p_info_item_inner {
    .col-sm-4 {
      &:last-child {
        .p_info_item {
          img {
            margin-top: -13px;
          }
        }
      }
    }

    .p_info_item {
      border: 1px solid #f1f1f8;
      text-align: center;
      padding-bottom: 40px;
      padding-top: 40px;
      border-radius: 6px;

      img {
        margin-bottom: 20px;
      }

      h4 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 10px;
      }

      .info_btn {
        color: var(--bbpc_brand_color);
        background: #f1f1fe;
        font-size: 14px;
        font-weight: 500;
        line-height: 26px;
        padding: 0 12px;
        display: inline-block;
        border-radius: 13px;
      }

      .info_number {
        background: #fff4ee;
        font-size: 14px;
        font-weight: 500;
        line-height: 26px;
        padding: 0 18px;
        display: inline-block;
        border-radius: 13px;
        color: #ff762b;
      }
    }
  }
}

.info_list {
  padding-top: 45px;
  padding-bottom: 60px;

  li {
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 500;
    color: var(--p_color);

    span {
      min-width: 250px;
      color: var(--black_800);
      font-size: 14px;
      font-weight: 700;
      float: left;
      overflow: hidden;
    }

    a {
      color: #6b6b80;
      display: block;
      overflow: hidden;
      font-weight: 400;
    }

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.p_social {
  border-top: 1px solid #f0f0f7;
  margin-left: -40px;
  margin-right: -40px;
  padding-top: 22px;

  li {
    &:first-child {
      padding-left: 40px;
    }

    &:last-child {
      padding-right: 40px;
      margin-right: 0;
    }

    margin-right: 10px;

    a {
      height: 45px;
      width: 45px;
      background: #f2f2f7;
      color: var(--black_400);
      font-size: 14px;
      text-align: center;
      line-height: 45px;
      display: inline-block;
      border-radius: 10px;
      @include transition;

      &:hover {
        color: #fff;
        background: var(--bbpc_brand_color);
      }
    }
  }
}

.topic_comment_list {
  li {
    .media {
      padding-left: 18px;
      padding-right: 25px;
      padding-top: 28px;

      .d-flex {
        padding-right: 18px;
      }

      .media-body {
        border-bottom: 1px solid var(--black_50);
        padding-bottom: 28px;

        .t_title {
          h4 {
            font-weight: 500;
            font-size: 16px;
            margin-bottom: 4px;
          }
        }

        .dropdown {
          margin-top: -30px;
          float: right;
          margin-right: 14px;

          button {
            &:after {
              display: none;
            }

            font-size: 34px;
            color: var(--black_400);
            padding: 0;
            line-height: 26px;
            border: none;
            outline: none;
            box-shadow: none;
          }

          .dropdown-menu {
            left: auto !important;
            right: -14px;
            top: 20px !important;
            padding: 14px 0;
            border: 1px solid #e8eff0;
            background: #fff;
            min-width: 218px;
            box-shadow: 0 30px 40px 0 rgba(4, 4, 89, 0.1);

            &:before {
              content: "";
              width: 0;
              height: 0;
              border-style: solid;
              border-width: 0 10px 10px 10px;
              border-color: transparent transparent #fff transparent;
              position: absolute;
              right: 16px;
              top: -10px;
              z-index: 1;
            }

            &:after {
              content: "";
              width: 0;
              height: 0;
              border-style: solid;
              border-width: 0 10px 10px 10px;
              border-color: transparent transparent #e8eff0 transparent;
              position: absolute;
              right: 16px;
              top: -11px;
            }

            a {
              padding: 0 24px;
              line-height: 34px;
              font-size: 16px;
              color: var(--p_color);
            }
          }
        }

        h6 {
          display: inline-block;
          font-size: 14px;
          font-weight: 400;
          color: var(--p_color);
          margin-right: 18px;
          margin-bottom: 13px;

          i {
            padding-right: 7px;
            font-size: 14px;
          }
        }

        p {
          font-size: 14px;
          line-height: 22px;
          margin-bottom: 20px;
        }

        .help_start {
          font-size: 14px;
          color: var(--black_400);
          float: right;
          margin-top: -22px;

          i {
            color: #f9ae44;
            font-size: 14px;
            padding-right: 5px;
          }
        }
      }

      .help_btn {
        margin-left: 7px;
      }
    }

    &:last-child {
      .media {
        .media-body {
          border-bottom: 0;
        }
      }
    }
  }
}

/* End Forum Area css
============================================================================================ */

/* Forum Sidebar Area css
============================================================================================ */
.forum_sidebar {
  padding-left: 20px;
  font-size: 14px;
  padding-right: 5px;
}

.topics-filter {
  margin-bottom: 30px;

  .nav-item {
    .nav-links {
      position: relative;
      color: var(--black_400);

      i {
        margin-right: 2px;
        margin-top: -2px;
      }

      &.active,
      &:hover {
        color: var(--black_800);

        &::after {
          position: absolute;
          left: 0;
          right: 0;
          bottom: 0;
          margin: auto;
          content: ' ';
          width: 100%;
          height: 2px;
          border-radius: 25%;
          background: var(--bbpc_brand_color);
        }
      }
    }
  }
}

.forum_sidebar_area {
  padding-top: 100px;
  padding-bottom: 100px;

  .custom_container {
    position: relative;
  }

  .right_side_forum {
    margin-left: 50px;
  }
}

.left_side_forum {
  max-width: 265px;
}

.wd_title {
  margin-bottom: 25px;
  font-size: 18px;
}

.l_widget {
  margin-bottom: 45px;
}

.comment_list {
  .navbar-nav {
    li {
      border-bottom: 1px solid #e6edf0;
      padding: 10px 0;

      &:first-child {
        padding-top: 0;
      }

      .media {
        .d-flex {
          padding-right: 10px;

          i {
            margin-top: 3px;
            color: var(--p_color);
          }
        }

        .media-body {
          h4 {
            font-size: 14px;
            font-weight: 400;
            display: inline-block;
            margin-bottom: 0;
            @include transition;
          }

          h5 {
            display: inline-block;
            font-size: 14px;
            font-weight: 400;
            margin-left: 9px;
            margin-bottom: 0;
          }

          p {
            margin-bottom: 0;
            font-size: 12px;
          }
        }
      }

      &:hover {
        .media {
          .media-body {
            h4 {
              color: var(--bbpc_brand_color);
            }
          }
        }
      }

      &:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }
    }
  }
}

.forum_body {
  .navbar-nav {
    li {
      padding: 25.5px 30px;
      @include transition;

      .media {
        .media-body {
          .t_title {
            h4 {
              margin-bottom: 8px;

              i {
                color: #22863a;
                position: relative;
                top: 3px;
                font-size: 20px;
                margin-left: 5px;
              }
            }
          }

          h6 {
            svg {
              position: relative;
              top: -1px;
              margin-right: 5px;
            }

            &:hover {
              color: var(--bbpc_brand_color);

              svg {
                path {
                  fill: var(--bbpc_brand_color);
                }
              }
            }
          }
        }

        .media-right {
          .nav {
            display: inline-block;

            li {
              display: inline-block;
              padding: 0;
              margin-left: -12px;
              border: none;
              @include transition;

              a {
                margin-left: 0;

                &:after {
                  display: none;
                }
              }

              .dropdown-menu {
                min-width: 400px;
                background: #fff;
                left: auto !important;
                right: -18px !important;
                padding: 30px 30px 30px 30px;
                margin-top: 15px;
                border: 1px solid #e6edf0;
                box-shadow: 0 30px 40px rgba(10, 71, 102, 0.1);
                border-radius: 4px;
                display: block;
                visibility: hidden;
                position: absolute;
                opacity: 0;
                @include transition;

                &:before {
                  content: "";
                  position: absolute;
                  right: 18px;
                  width: 0;
                  height: 0;
                  border-style: solid;
                  border-width: 0 8px 8px 8px;
                  border-color: transparent transparent #fff transparent;
                  top: -8px;
                  z-index: 1;
                }

                &:after {
                  content: "";
                  height: 16px;
                  width: 16px;
                  border-style: solid;
                  border-width: 0 8px 8px 8px;
                  border-color: transparent transparent #e6edf0 transparent;
                  position: absolute;
                  right: 18px;
                  top: -17px;
                }

                .media {
                  margin-bottom: 50px;

                  .d-flex {
                    padding-right: 15px;
                  }

                  .media-body {
                    h4 {
                      display: block;
                      width: 100%;
                      font-size: 18px;
                      font-weight: 400;
                      margin-bottom: 18px;
                    }

                    .follow_btn {
                      width: 90px;
                      height: 30px;
                      border: 1px solid var(--black_500);
                      border-radius: 4px;
                      display: inline-block;
                      text-align: center;
                      font-size: 14px;
                      font-weight: 400;
                      line-height: 28px;
                      @include transition;

                      &:hover {
                        background: var(--bbpc_brand_color);
                        color: #fff;
                        border-color: var(--bbpc_brand_color);
                      }
                    }
                  }
                }

                .answere_items {
                  text-align: center;

                  h4 {
                    font-size: 14px;
                    font-weight: 400;
                  }

                  h6 {
                    font-size: 18px;
                    font-weight: 400;
                    margin-bottom: 0;
                  }
                }
              }

              &:hover {
                .dropdown-menu {
                  visibility: visible;
                  opacity: 1;
                }
              }
            }

            &:hover {
              li {
                margin-left: 4px;
              }
            }
          }

          a {
            margin-left: 45px;
            color: #54595d;

            i {
              margin-right: 10px;
              color: #818799;
            }

            &:hover {
              color: var(--bbpc_brand_color);

              i {
                color: var(--bbpc_brand_color);
              }
            }
          }
        }
      }

      &:hover {
        .media {
          .media-body {
            .t_title {
              h4 {
                color: var(--bbpc_brand_color);
              }
            }
          }
        }
      }
    }
  }
}

.fade {
  transition: opacity 0.5s ease-in-out;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */
}

.bbpress {
  .breadcrumb .breadcrumb-item {
    margin-top: 0;

  }

  a.bbp-breadcrumb-home {
    color: var(--black_900);
    font-size: 14px;
    text-decoration: none;

    &:hover {
      color: #fff;
    }
  }
}

/****** ===================================== CSS ==================================== **/
.bbp-template-notice {
  margin-bottom: 30px;
}

.bbp-template-notice ul {
  list-style: none;
  margin: 0;
  padding: 0;

  li.bbp-forum-description {
    a {
      color: var(--bbpc_brand_color);
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }
    }
  }
}

.bbp-forum-description span.bbp-author-avatar {
  display: none;
}

.communities-boxes .forumax-com-box .icon-container {
  margin-bottom: 25px;
}

.communities-boxes .forumax-com-box .icon-container img {
  max-width: 50px;
  border-radius: 5px;
}

.community-post.style-two .meta li img {
  max-width: 18px;
  border-radius: 10px;
}

.bbp-shortcode .bbp-no-topic {
  margin: 0;
}

.bbp-no-topic,
.bbp-reply-form {
  margin-top: 60px;
}

.bbp-login-form legend,
#new-post legend {
  color: var(--black_800);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

#bbpress-forums fieldset.bbp-form input[type=text],
.bbp-login-form input[type='text'],
.bbp-login-form input[type='password'],
#bbpress-forums fieldset.bbp-form input[type=password],
#bbpress-forums fieldset.bbp-form input[type=text],
#bbpress-forums fieldset.bbp-form select,
#new-post .bbp-the-content-wrapper textarea,
#new-post input[type='text'] {
  height: 46px;
  line-height: 1.4;
  background: var(--bs-white);
  box-shadow: none;
  border: 1px solid var(--black_75);
  padding-left: 20px;
  font-weight: 400;
  transition: all 0.2s linear;
  border-radius: 4px;
  color: var(--black_600);
  width: 100%;

  &:focus {
    border-color: var(--bbpc_brand_color)
  }
}

#bbpress-forums {
  fieldset.bbp-form {
    .frmx-nice-select {
      float: inherit;
    }
  }
}

.bbp-form .wp-editor-container {
  border: 1px solid var(--black_75);

  &:hover {
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.302), 0 2px 6px 2px rgba(60, 64, 67, 0.149);
    border: 1px solid transparent;
  }
}

#bbpress-forums fieldset.bbp-form p {
  margin: 8px 0 8px;
}

#bbpress-forums fieldset select#bbp_forum_id {
  max-width: 100%;
}

.aq-form-wrapper {
  .form-item {
    margin-top: 30px;

    .frmx-nice-select.bbp_dropdown {
      width: 100%;
    }
  }
}

.bbp-submit-wrapper {
  .fill-brand {
    font-size: 14px;
    font-weight: 500;
    color: #fff !important;
    margin: 0;
    background: var(--bbpc_brand_color);
    padding: 12px 24px;
    border-radius: 4px;
    transition: all 0.3s linear;
    cursor: pointer;
    text-decoration: none !important;
    border: none;
    width: fit-content;
  }
}

#new-post .bbp-the-content-wrapper {
  margin-top: 30px;
  // padding-left: 15px;
  width: 100%;
  // padding-right: 15px;
}

.bbp-reply-form #new-post .bbp-the-content-wrapper {
  padding: 0;
  margin-bottom: 25px;
}

div.bbp-submit-wrapper {
  float: none;
  display: flex;
  gap: 15px;
  flex-flow: column;
}

.bbp-your-profile {

  >fieldset.bbp-form {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 3px dashed var(--black_75);

    input {
      &[value="admin"] {
        color: red;
      }
    }

    #password {
      margin: 25px 0;

      .user-generate-password {
        margin: 20px 0;
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .wp-pwd {
        .wp-cancel-pw {
          span {
            height: auto;
            width: auto;
            line-height: 22px;
          }
        }
      }

      .button {
        background: transparent;
        border: 1px solid transparent;
        padding: 4px 13px;
        transition: all 0.3s;
        border-radius: 5px;
        font-size: 14px;

        &.wp-generate-pw {
          background: rgb(8 102 255 / 10%);
          border-color: rgb(8 102 255 / 10%);
          color: var(--bbpc_brand_color);

          &:hover {
            background: rgb(8 102 255 / 30%);
            border-color: rgb(8 102 255 / 30%);
          }
        }

        &.wp-hide-pw {
          color: var(--bbpc_brand_color);
          border: 1px solid var(--black_50);
        }

        &.wp-cancel-pw {
          color: #f84949;
          border: 1px solid var(--black_50);
          transition: all .3s ease-in-out;


          &:hover {
            color: #fff;
            background: #f84949;
            border-color: #f84949;
          }
        }

        .dashicons {
          font-size: 14px;
        }
      }

      .password-button-wrapper {
        display: flex;
        gap: 8px;
      }

      .password-input-wrapper {
        position: relative;

        .wp-hide-pw {
          position: absolute;
          right: 14px;
          top: 50%;
          transform: translateY(-50%);
          color: #7e8695;
          padding: 0;
          border: 0;
        }
      }
    }

    textarea {
      width: 100%;
      padding: 10px 20px;

      &:focus {
        border-color: var(--bbpc_brand_color);
      }
    }

    .pw-weak {
      margin: 4px 0 12px;

      .pw-checkbox {
        margin: 0;
      }
    }
  }

  .user-submit {
    margin-top: 18px;
  }

  .form-table {

    th,
    td {
      border: none;
      vertical-align: text-top;
    }
  }
}

#new-post .bbp-the-content-wrapper textarea {
  height: 300px;
  border: none;
  line-height: 1.5;
  padding: 20px;
}

form.bbp-login-form {
  position: relative;
}

.bbp-login-form .bbp-form .bbp-remember-me {
  margin-bottom: 5px;
  margin-top: 20px;
}

.bbp_widget_login .bbp-login-links {
  float: right;
}

.bbp-login-form label,
#new-post label {
  display: inline-block;
  font-weight: 600;
  color: var(--black_800);
  font-size: 14px;
  margin-bottom: 0.4rem;
}

.bbp_widget_login .bbp-login-links a.bbp-lostpass-link {
  padding-top: 5px;
}

input.checkbox-tik {
  color: var(--black_500);
  position: relative;
  width: 12px;
  outline: none;
  height: 12px;
  top: 1px;
  left: 0;
  margin: 0;
}

.checkbox-tik+label {
  padding-left: 5px;
  font-size: 15px;
}

input.checkbox-tik:checked:before {
  border-color: var(--bbpc_brand_color);
}

input.checkbox-tik:before {
  content: "";
  display: block;
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--black_500);
  top: 0;
  left: 0;
  border-radius: 2px;
  background-color: #fff;
}

input.checkbox-tik:after {
  content: "";
  display: block;
  width: 5px;
  height: 11px;
  border: solid var(--bbpc_brand_color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  position: absolute;
  top: -2px;
  left: 5px;
  opacity: 0;
  transition: all 0.2s linear;
}

input.checkbox-tik:checked:after {
  opacity: 1;
}

.bbp-remember-me label,
#new-post #bbp_topic_subscription+label {
  font-weight: 400;
  margin-bottom: 0;
  font-size: 14px;
}

.bbp-submit-wrapper {
  margin-bottom: 0;
}

input#bbp_topic_subscription+label {
  color: var(--black_500);
}

.community-post .post-meta-wrapper .post-meta-info li a i {
  font-size: 14px;
}

#bbpress-forums .post-header .category-menu li:not(:last-child) {
  margin-right: 40px;
}

.community-post.style-two .post-meta-wrapper .post-meta-info li:not(:last-child) {
  margin-right: 60px;
}

.forum-post-content .forum-post-btm .taxonomy i,
.forum-post-content .forum-post-btm .taxonomy img,
.community-post.style-two .meta li i,
.community-post.style-two .meta li img {
  margin-right: 4px;
}

ul.forum-titles .forum-freshness .freshness-box a {
  font-size: 12px;
}

ul.forum-titles .forum-freshness .freshness-box .freshness-btm .bbp-author-avatar img {
  height: auto;
}

.bbp-pagination {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0;

  @media(max-width: 576px) {
    justify-content: start;
    margin-top: 15px;
    margin-bottom: 0;
  }
}

.pagination-wrapper .page-numbers {
  display: block;
  color: var(--black_500);
  height: 30px;
  width: 30px;
  text-align: center;
  line-height: 30px;
  background: var(--black_50);
  border-radius: 3px;
  margin-right: 5px;
  font-size: 14px;
  text-decoration: none !important;

  &:not(.current):hover {
    background: brand_color_rgba(.2)
  }

  &.current {
    background: var(--bbpc_brand_color);
    color: #fff;
  }
}

.pagination-wrapper .view-post-of {
  width: 100%;
}

.pagination-wrapper .page-numbers:last-child {
  margin-right: 0;
}

.bbp-no-reply,
.bbp-forum-closed {
  margin-top: 50px;
}

/** === Widgets === **/
.widget_display_stats dl dt {
  float: left;
  clear: left;
  margin: 0 0 10px;
}

.widget_display_stats dl dd {
  float: right;
  margin: 0;
}

.widget_display_replies li:before {
  font-family: eleganticons;
  content: "\77";
  margin: 0 12px 0 0;
  font-size: 15px;
  position: absolute;
  left: 0;
  top: 0;
}

.widget_display_topics li {
  &::before {
    font-family: eleganticons;
    content: "\62";
    margin: 0 12px 0 0;
    font-size: 15px;
    position: absolute;
    left: 0;
    top: -2px;
  }
}


.widget_display_topics li,
.widget_display_replies li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7e9;

  div,
  time {
    color: var(--black_400);
    display: block;
  }

  .bbp-author-avatar img {
    border-radius: 50%;
    margin-right: 5px;
    height: revert-layer;
  }
}

.widget_display_topics li a:hover,
.widget_display_replies li a:hover {
  color: var(--bbpc_brand_color);
}

.bbp-logged-in .avatar {
  float: left;
  margin: 0 15px 0 0;
  border-radius: 99%;
}

.bbp-logged-in h4 {
  font-weight: normal;
  font-size: 18px;
  clear: none;
  margin: 0 0 5px;
}

.bbp-logged-in h4 a {
  color: #333;
  font-weight: 500;
}

.bbp-logged-in a.button.logout-link:hover,
.bbp-logged-in h4 a:hover {
  color: var(--bbpc_brand_color);
}

.bbp-logged-in a.button.logout-link:hover,
.bbp-logged-in a.button.logout-link {
  color: #666;
}

/* bbPress Login Widget (classic widget) — logged-in state */
.bbp_widget_login .bbp-logged-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bbp_widget_login .bbp-logged-in > a.submit.user-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}

.bbp_widget_login .bbp-logged-in .avatar {
  float: none;
  margin: 0;
  display: block;
  border-radius: 99%;
}

.bbp_widget_login .bbp-logged-in h4 {
  flex: 1 1 auto;
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.bbp_widget_login .bbp-logged-in h4 a {
  color: var(--black_800);
  text-decoration: none;
}

.bbp_widget_login .bbp-logged-in .logout-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 36px;
  padding: 8px 14px;
  margin: 0;
  white-space: nowrap;
  background: transparent;
  border: 1px solid var(--black_100);
  color: var(--black_600);
  border-radius: 6px;
  text-decoration: none;
}

.bbp_widget_login .bbp-logged-in .logout-link:hover {
  border-color: var(--bbpc_brand_color);
  color: var(--bbpc_brand_color);
}

@media (max-width: 480px) {
  .bbp_widget_login .bbp-logged-in {
    flex-wrap: wrap;
  }

  .bbp_widget_login .bbp-logged-in .logout-link {
    width: 100%;
  }
}

.bbp-submit-wrapper {
  float: left;
  margin-top: 0;
}

.forum-post-content .forum-post-btm .taxonomy.forum-post-cat {
  display: flex;
}

.comment-content .bbp-topic-reply-link:hover {
  background: #fff;
  border: 1px solid var(--black_800);
  color: var(--black_800);
}

.page-numbers {
  cursor: pointer !important;
}

.pagination-wrapper .page-numbers.next {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
}

#tagList {
  padding-left: 30px;
}

/* Error */
.community-post-error {
  padding: 60px 40px;
  border-style: solid;
  border-color: #e1e4e8;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-top-width: 0;
  border-left-width: 1px;
}

.community-post-error .error-content {
  text-align: center;
}

.community-post-error .error-content h3 {
  margin: 16px 0 10px;
  font-size: 24px;
  font-weight: 400;
}

.community-post-error .error-content p {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 10px;
}

.community-post-error .error-content .error-icon {
  margin-right: 4px;
  margin-bottom: 8px;
  margin-left: 4px;
  color: #a3aab1;
}

.community-post-error .error-content .forumax-error {
  display: inline-block;
  vertical-align: text-top;
  fill: currentColor;
}

/* Loading */
.forum-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  padding: 50px;
  text-align: center;
}

.forum-loading .configure-border-1 {
  width: 50px;
  height: 50px;
  padding: 3px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fb5b53;
  animation: configure-clockwise 3s ease-in-out 0s infinite alternate;
}

.forum-loading .configure-border-2 {
  width: 50px;
  height: 50px;
  padding: 3px;
  left: -115px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(63, 249, 220);
  transform: rotate(45deg);
  animation: configure-xclockwise 3s ease-in-out 0s infinite alternate;
}

.forum-loading .configure-core {
  width: 100%;
  height: 100%;
  background-color: #1d2630;
}

@keyframes configure-clockwise {
  0% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(90deg);
  }

  50% {
    transform: rotate(180deg);
  }

  75% {
    transform: rotate(270deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes configure-xclockwise {
  0% {
    transform: rotate(45deg);
  }

  25% {
    transform: rotate(-45deg);
  }

  50% {
    transform: rotate(-135deg);
  }

  75% {
    transform: rotate(-225deg);
  }

  100% {
    transform: rotate(-315deg);
  }
}

.community-post.style-two .post-content .entry-content {
  .solved-topic-bar {
    display: inline;
  }
}

/** ==== Forum Search Results === **/
div.bbp-forum-header,
div.bbp-reply-header,
div.bbp-topic-header,
li.bbp-body div.hentry {
  padding: 15px;
}

#bbpress-forums li.bbp-footer .bbp-forum-author,
#bbpress-forums li.bbp-footer .bbp-reply-author,
#bbpress-forums li.bbp-footer .bbp-search-author,
#bbpress-forums li.bbp-footer .bbp-topic-author,
#bbpress-forums li.bbp-header .bbp-forum-author,
#bbpress-forums li.bbp-header .bbp-reply-author,
#bbpress-forums li.bbp-header .bbp-search-author,
#bbpress-forums li.bbp-header .bbp-topic-author {
  text-align: left;
  padding-left: 10px;
}

#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results,
#bbpress-forums ul.bbp-topics {
  border-radius: 5px;
}

// ** === Smart bbPress nVerify plugin integration === **/
a.sbv-show-where-step {
  padding-left: 5px;
  margin-bottom: 10px;
  display: block;
}

.reply-edit #bbpress-forums fieldset.bbp-form,
.reply-edit .bbp-no-topic,
.bbp-reply-form,
.topic-edit .bbp-topic-form {
  margin-top: 0;
}

/** === Topic Edit Page Styling === **/
.topic-edit {
  #bbpress-forums fieldset.bbp-form {
    padding: 0;
    margin: 0;
  }
}

.reply-edit {
  .bbp-reply-form {
    padding: 0;
  }

  .breadcrumb .breadcrumb-item:last-child {
    display: none;
  }
}

.bbpress-wrapper {
  .bbp-reply-form {
    padding: 30px;
    margin: 50px;
  }
}

.forum-search #bbpress-forums .bbp-pagination {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

.forum-search {
  #bbpress-forums {
    .bbp-search-summary {
      margin: 0 0 12px;
      padding: 12px 16px;
      border-radius: 8px;
      background: var(--bs-white);
      border: 1px solid var(--black_75);
    }

    .bbp-search-summary-title {
      margin: 0;
      font-size: 17px;
      line-height: 1.4;
      color: var(--black_800);
      font-weight: 600;
    }

    ul.bbp-search-results {
      margin: 0;
      padding: 0;
      list-style: none;
      border-radius: 10px;
      border: none;
      background: transparent;
    }

    ul.bbp-search-results > li.bbp-header,
    ul.bbp-search-results > li.bbp-footer {
      display: none;
    }

    ul.bbp-search-results > li.bbp-body {
      margin: 0;
      padding: 0;
      background: transparent;
      border: none;
    }

    ul.bbp-search-results > li.bbp-body > .bbp-topic-header,
    ul.bbp-search-results > li.bbp-body > .bbp-reply-header,
    ul.bbp-search-results > li.bbp-body > .bbp-forum-header {
      display: block;
      margin: 0;
      padding: 16px 18px 12px;
      border: 1px solid var(--black_75);
      border-bottom: 0;
      border-radius: 10px 10px 0 0;
      background: var(--bs-white);
    }

    ul.bbp-search-results > li.bbp-body > .bbp-topic-header + div,
    ul.bbp-search-results > li.bbp-body > .bbp-reply-header + div,
    ul.bbp-search-results > li.bbp-body > .bbp-forum-header + div {
      display: flex;
      margin: 0 0 12px;
      border: 1px solid var(--black_75);
      border-top: 0;
      border-radius: 0 0 10px 10px;
      overflow: hidden;
      background: var(--bs-white);
      box-shadow: 0 2px 10px rgba(2, 47, 57, 0.05);
    }

    .bbp-topic-header .bbp-meta,
    .bbp-reply-header .bbp-meta,
    .bbp-forum-header .bbp-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 6px;
      color: var(--black_500);
      font-size: 13px;
      line-height: 1.5;
    }

    .bbp-topic-header .bbp-topic-permalink,
    .bbp-reply-header .bbp-reply-permalink,
    .bbp-forum-header .bbp-forum-permalink {
      color: var(--black_500);
      font-weight: 500;
    }

    .bbp-topic-header .bbp-topic-title h3,
    .bbp-reply-header .bbp-reply-title h3,
    .bbp-forum-header .bbp-forum-title h3 {
      margin: 0;
      font-size: 17px;
      line-height: 1.4;
      font-weight: 600;
      color: var(--black_800);
    }

    .bbp-topic-header a,
    .bbp-reply-header a,
    .bbp-forum-header a {
      color: inherit;
      text-decoration: none;
    }

    .bbp-topic-header .bbp-topic-title-meta,
    .bbp-reply-header .bbp-reply-title,
    .bbp-forum-header .bbp-forum-title {
      margin-top: 4px;
      color: var(--black_600);
      font-size: 13px;
    }

    .bbp-topic-author,
    .bbp-reply-author {
      width: 130px;
      min-width: 130px;
      padding: 14px 12px;
      border-right: 1px solid var(--black_75);
      background: #f8fbfc;
      text-align: center;
    }

    .bbp-topic-author .bbp-author-avatar img,
    .bbp-reply-author .bbp-author-avatar img {
      width: 54px;
      height: 54px;
      border-radius: 50%;
      margin-bottom: 6px;
    }

    .bbp-topic-author .bbp-author-name,
    .bbp-reply-author .bbp-author-name {
      display: block;
      font-size: 13px;
      line-height: 1.4;
      font-weight: 600;
      color: var(--black_700);
    }

    .bbp-topic-author .bbp-author-role,
    .bbp-reply-author .bbp-author-role {
      display: block;
      font-size: 12px;
      color: var(--black_500);
    }

    .bbp-topic-content,
    .bbp-reply-content,
    .bbp-forum-content {
      flex: 1;
      width: 100%;
      padding: 14px 18px;
      color: var(--black_600);
      font-size: 14px;
      line-height: 1.8;
      margin: 0;
    }

    .bbp-topic-content p:last-child,
    .bbp-reply-content p:last-child,
    .bbp-forum-content p:last-child {
      margin-bottom: 0;
    }

    .bbp-pagination {
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 12px;
      padding: 12px 16px;
      border: 1px solid var(--black_75);
      border-radius: 8px;
      background: var(--bs-white);
    }

    .bbp-pagination .bbp-pagination-count {
      color: var(--black_500);
      font-size: 14px;
    }

    .bbp-pagination .bbp-pagination-links {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .bbp-pagination .bbp-pagination-links .page-numbers {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      height: 30px;
      border-radius: 3px;
      background: var(--black_50);
      color: var(--black_600);
      text-decoration: none;
      font-size: 13px;
    }

    .bbp-pagination .bbp-pagination-links .page-numbers.current,
    .bbp-pagination .bbp-pagination-links .page-numbers:hover {
      background: var(--bbpc_brand_color);
      color: #fff;
    }
  }

  @media (max-width: 767px) {
    #bbpress-forums {
      ul.bbp-search-results > li.bbp-body > .bbp-topic-header,
      ul.bbp-search-results > li.bbp-body > .bbp-reply-header,
      ul.bbp-search-results > li.bbp-body > .bbp-forum-header {
        padding: 14px 14px 10px;
      }

      ul.bbp-search-results > li.bbp-body > .bbp-topic-header + div,
      ul.bbp-search-results > li.bbp-body > .bbp-reply-header + div,
      ul.bbp-search-results > li.bbp-body > .bbp-forum-header + div {
        flex-direction: column;
      }

      .bbp-topic-author,
      .bbp-reply-author {
        width: 100%;
        min-width: 100%;
        border-right: 0;
        border-bottom: 1px solid var(--black_75);
        text-align: left;
      }

      .bbp-topic-author .bbp-author-avatar,
      .bbp-reply-author .bbp-author-avatar {
        margin-right: 8px;
        display: inline-block;
        vertical-align: middle;
      }

      .bbp-topic-author .bbp-author-name,
      .bbp-topic-author .bbp-author-role,
      .bbp-reply-author .bbp-author-name,
      .bbp-reply-author .bbp-author-role {
        display: inline-block;
      }

      .bbp-topic-content,
      .bbp-reply-content,
      .bbp-forum-content {
        padding: 12px 14px;
      }

      .bbp-pagination {
        flex-direction: column;
        align-items: flex-start;
      }
    }
  }
}

#bbpress-forums {
  font-size: 14px;
  line-height: 1.7;

  .bbp-single-user-details {
    background: var(--bs-white);
    border-radius: 10px;
    padding: 30px 20px;

    #bbp-user-navigation {
      a {
        padding: 10px 15px;
        border: none;
        font-size: 14px;
        color: var(--black_800);
        background: rgba(208, 215, 222, 0.32);
        border-radius: 3px;
        display: block;
        text-decoration: none;
      }

      ul {
        padding-left: 0;
        margin-bottom: 0;
      }

      li {
        margin-top: 4px;
        list-style: none;

        &:not(.current) a:hover {
          background: brand_color_rgba(.2)
        }

        &.current a {
          color: #fff;
          background-color: var(--bbpc_brand_color);
        }
      }
    }

    #bbp-user-avatar {
      margin-bottom: 20px;

      img.avatar {
        border-radius: 5px;
        width: 100%;
        height: auto;
      }
    }
  }
}

#bbpress-forums {

  .community-post .post-meta-wrapper .post-meta-info li:not(:last-child) {
    margin-right: 65px;
  }

  .bbp-user-section {
    .forum-post-top {
      margin-bottom: 8px;

      .bbp-author {
        align-items: center;
      }
    }

    .pagination-wrapper {
      padding: 0;
      margin-top: 30px;
      margin-bottom: 18px;
      box-shadow: none;
    }
  }
}

.bbp-search-form {
  form.search-form {
    .form-control {
      height: 50px;
      padding-left: 45px;
      background: var(--black_25);
      border: 1px solid var(--black_75);
    }

    button {
      left: 20px;
      font-size: 14px;
    }
  }
}

.bbp-shortcode.page {
  #bbpress-forums {
    margin-bottom: 0;

    fieldset.bbp-form {
      box-shadow: none;
      margin-top: 30px;
      margin-bottom: 0;

      &.bbpc-attachment {
        border: none;
      }
    }
  }

  .bbp-topic-form {
    margin-top: 0;
  }

  form#new-post {
    margin: 0;

    @media (max-width: 768px) {
      margin: 0 20px 20px;
    }
  }

  .page_wrapper ul:not(.ordered-list) {
    list-style: none !important;
    padding: 0;
  }
}

/* REPLY SINGLE USER ICON */
.forum-author-meta .author-badge {
  >img {
    margin-right: 2px;
    width: 18px;
    max-width: 18px;
    height: auto;
    margin-top: -3px
  }

  &.keymaster {
    background-color: #262626;
  }

  &.participant img {
    width: 16px;
  }
}

/* === bbPress Template Notice (Forum Description) === */
.bbp-no-reply{
  .bbp-template-notice {
    margin-left: 54px;
    margin-right: 80px;
  }
}
div.bbp-template-notice,
div.indicator-hint {
  background-color: var(--black_25);
  border: 1px solid var(--black_100);
  color: var(--black_700);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 5px;

  // Info icon prefix via pseudo-element
  &::before {
    content: "";
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-block;
    background-color: var(--bbpc_brand_color);
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='%23000'%20d='M12%202C6.477%202%202%206.477%202%2012s4.477%2010%2010%2010%2010-4.477%2010-10S17.523%202%2012%202zm0%204.75a1.25%201.25%200%20110%202.5%201.25%201.25%200%20010-2.5zM10.75%2010h2.5v8h-2.5v-8z'/%3E%3C/svg%3E") no-repeat 50% 50% / contain;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='%23000'%20d='M12%202C6.477%202%202%206.477%202%2012s4.477%2010%2010%2010%2010-4.477%2010-10S17.523%202%2012%202zm0%204.75a1.25%201.25%200%20110%202.5%201.25%201.25%200%20010-2.5zM10.75%2010h2.5v8h-2.5v-8z'/%3E%3C/svg%3E") no-repeat 50% 50% / contain;
  }

  li,
  p {
    margin: 0 !important;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--black_600);
    list-style: none;

    a {
      color: var(--bbpc_brand_color);
      text-decoration: none;
      font-weight: 500;

      &:hover {
        text-decoration: underline;
      }
    }
  }

  ul {
    margin: 0;
    padding: 0;
  }
}

// Login-required notice: use inline SVG icon (no dashicons pseudo-element)
div.bbp-template-notice.bbp-login-required-notice {
  &::before {
    content: none;
  }

  .bbp-notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--bbpc_brand_color);
    flex-shrink: 0;

    svg {
      width: 20px;
      height: 20px;
      display: block;
    }
  }
}

.bbp-template-notice.info {
  margin-bottom: 0;
  background: transparent;
  border: none;
}

.bbp-login-form {
  .bbp-submit-wrapper {
    text-align: right;

    &.has-bbp-register {
      display: flex;
      flex-flow: row;
      align-items: center;
      margin-top: 15px;
    }
  }
}


/* ============================
   Auth Tabs (Login / Register)
   ============================ */
.frmx-auth-tabs {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bs-white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 36px 32px 32px;
}

/* Tab header: subtle pill container */
.frmx-auth-tabs-header {
  display: flex;
  gap: 6px;
  background: var(--black_25, #f5f5f5);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 28px;
}

/* Individual tab pill */
.frmx-auth-tab {
  flex: 1;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--black_400);
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
}

.frmx-auth-tab:hover {
  color: var(--black_800);
  background: rgba(0, 0, 0, 0.03);
}

/* Active tab: filled pill */
.frmx-auth-tab.frmx-auth-tab-active {
  color: #fff;
  background: var(--bbpc_brand_color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.frmx-auth-tab.frmx-auth-tab-active:hover {
  background: var(--bbpc_brand_color);
  color: #fff;
}

/* Panels */
.frmx-auth-panel {
  display: none;
}

.frmx-auth-panel.frmx-auth-panel-active {
  display: block;
  animation: frmxFadeSlide 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes frmxFadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Login form inside tabs ---- */
.frmx-auth-panel #forumax_login_form {
  margin: 0;
}

.frmx-auth-panel #forumax_login_form p {
  margin-bottom: 18px;
}

.frmx-auth-panel #forumax_login_form label {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: var(--black_500);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.frmx-auth-panel #forumax_login_form input[type="text"],
.frmx-auth-panel #forumax_login_form input[type="password"] {
  width: 100%;
  height: 50px;
  line-height: 1.4;
  background: var(--black_25, #f5f5f5);
  box-shadow: none;
  border: 1.5px solid transparent;
  padding: 0 16px;
  font-weight: 400;
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border-radius: 10px;
  color: var(--black_800);
}

.frmx-auth-panel #forumax_login_form input[type="text"]:focus,
.frmx-auth-panel #forumax_login_form input[type="password"]:focus {
  border-color: var(--bbpc_brand_color);
  background: var(--bs-white);
  box-shadow: 0 0 0 3px rgba(8, 102, 255, 0.1);
  outline: none;
}

.frmx-auth-panel #forumax_login_form .forgetmenot {
  margin-bottom: 18px;
}

.frmx-auth-panel #forumax_login_form .forgetmenot label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  font-size: 13px;
  color: var(--black_400);
  cursor: pointer;
}

/* Submit button — login */
.frmx-auth-panel #forumax_login_form input[type="submit"] {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--bbpc_brand_color);
  padding: 14px 30px;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
  width: 100%;
}

.frmx-auth-panel #forumax_login_form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(8, 102, 255, 0.25);
}

.frmx-auth-panel #forumax_login_form input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(8, 102, 255, 0.15);
}

/* ---- Registration form inside tabs ---- */
.frmx-auth-register-form .frmx-auth-field {
  margin-bottom: 18px;
}

.frmx-auth-register-form .frmx-auth-field label {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: var(--black_500);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.frmx-auth-register-form .frmx-auth-field input[type="text"],
.frmx-auth-register-form .frmx-auth-field input[type="email"],
.frmx-auth-register-form .frmx-auth-field input[type="password"] {
  width: 100%;
  height: 50px;
  line-height: 1.4;
  background: var(--black_25, #f5f5f5);
  box-shadow: none;
  border: 1.5px solid transparent;
  padding: 0 16px;
  font-weight: 400;
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border-radius: 10px;
  color: var(--black_800);
}

.frmx-auth-register-form .frmx-auth-field input[type="text"]:focus,
.frmx-auth-register-form .frmx-auth-field input[type="email"]:focus,
.frmx-auth-register-form .frmx-auth-field input[type="password"]:focus {
  border-color: var(--bbpc_brand_color);
  background: var(--bs-white);
  box-shadow: 0 0 0 3px rgba(8, 102, 255, 0.1);
  outline: none;
}

.frmx-auth-submit {
  margin-top: 22px;
}

/* Registration Verification Fields */
.sbv-reg-verify-wrap select {
  width: 100%;
  height: 50px;
  background: var(--black_25, #f5f5f5);
  box-shadow: none;
  border: 1.5px solid transparent;
  padding: 0 16px;
  font-weight: 400;
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border-radius: 10px;
  color: var(--black_800);
  appearance: auto;
}

.sbv-reg-verify-wrap select:focus {
  border-color: var(--bbpc_brand_color);
  background: var(--bs-white);
  box-shadow: 0 0 0 3px rgba(8, 102, 255, 0.1);
  outline: none;
}

.sbv-reg-key-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.sbv-reg-key-row input[type="text"] {
  flex: 1;
}

.frmx-auth-validate-btn {
  padding: 10px 18px;
  background: var(--bbpc_brand_color);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.frmx-auth-validate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.frmx-auth-validate-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.sbv-reg-notice {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.sbv-reg-notice--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.sbv-reg-notice--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.frmx-auth-register-form .frmx-auth-submit button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.frmx-auth-register-form .frmx-auth-submit .button.fill-brand {
  width: 100%;
  border-radius: 10px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.frmx-auth-register-form .frmx-auth-submit .button.fill-brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(8, 102, 255, 0.25);
}

.frmx-auth-register-form .frmx-auth-submit .button.fill-brand:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(8, 102, 255, 0.15);
}

/* Password visibility toggle */
.frmx-auth-password-wrap {
  position: relative;
}

.frmx-auth-eye-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--black_400, #9ca3af);
  line-height: 0;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frmx-auth-eye-toggle:hover {
  color: var(--black_700, #1f2937);
  background: rgba(0, 0, 0, 0.04);
}

.frmx-auth-eye-toggle svg {
  display: block;
}

/* Logged-in badge */
.frmx-auth-logged-in {
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 20px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .frmx-auth-tabs {
    max-width: 100%;
    padding: 20px 15px 15px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }

  .frmx-auth-tabs-header {
    border-radius: 10px;
  }

  .frmx-auth-tab {
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .sbv-reg-key-row {
    flex-direction: column;
  }

  .sbv-reg-key-row input[type=text] {
    flex: auto;
  }
}

.post-header .category-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-header .category-menu li {
  display: inline-block;
  font-size: 14px;
  position: relative;
}

.post-header .category-menu li:not(:last-child) {
  margin-right: 10px;
}

.bbp-search-form {
  width: 100%;
  padding-bottom: 24px;

  form {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    box-sizing: border-box;

    >div {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      background-color: var(--bs-white);
      border: 1px solid var(--black_75);
      border-radius: 999px;
      min-height: 48px;
      padding: 6px 8px;
      box-sizing: border-box;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    &:focus-within>div {
      border-color: var(--bbpc_brand_color) !important;
      box-shadow: 0 0 0 3px rgba(76, 76, 241, 0.12);
    }

    input[type="search"],
    input[type="text"] {
      flex: 1;
      min-width: 0;
      border: 0;
      outline: none;
      background: transparent;
      box-shadow: none;
      height: 36px;
      padding: 0 12px;
      font-size: 15px;
      color: var(--black_800);

      &:focus {
        border: none;
      }

      &::placeholder {
        color: var(--black_350);
      }
    }

    input[type="submit"] {
      border: 0;
      background: var(--bbpc_brand_color);
      color: #fff;
      height: 34px;
      padding: 0 16px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;

      &:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(76, 76, 241, 0.22);
      }

      &:active {
        transform: translateY(0);
        box-shadow: none;
      }
    }

    button {
      border: 0;
      background: transparent;
      padding: 0 8px;
      margin: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    i,
    .icon_search {
      color: var(--bbpc_brand_color);
      font-size: 16px;
      display: inline-block;
      transform: rotate(270deg);
      visibility: visible;
      opacity: 1;
    }
  }
}

/** === Table Styles === **/
table {
  margin: 0 0 1.5em;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;

  th {
    font-weight: 500;
    text-align: left;
    padding-right: 10px !important
  }

  td,
  th {
    border-top: 1px solid var(--black_75);
    padding: 10px 15px;
  }

  tr td p:last-child {
    margin-bottom: 0;
  }

  &.is-style-stripes {
    tbody>tr:nth-child(2n) td {
      background: #f2f2f2;
      color: #6d7882
    }
  }
}

table,
.table_shortcode {
  thead {
    background: var(--bbpc_brand_color);
    color: #fff;

    th {
      padding: 20px 25px;
      border: 0;
    }

    tr {

      th,
      .th {
        background: var(--bbpc_brand_color);
        color: #fff;
      }
    }
  }

  th,
  td {
    border: 0;
    font-size: 16px;
    font-weight: 400;
    vertical-align: middle;
  }

  th {
    font-weight: 500;
  }

  tbody {
    tr {
      background: var(--black_50);
      border: none;

      th {
        background: var(--black_90);

        a {
          color: #fff;
        }
      }

      td,
      th {
        padding: 8px 15px;
      }

      td {
        color: var(--black_700);
      }

      &:nth-child(odd) {
        background: rgb(249 249 249 / 40%);
      }
    }
  }
}

// **=== Forum Sidebar === **/
.forum-sidebar {
  padding-left: 15px;
  padding-right: 5px;

  .widget-title {
    margin-bottom: 25px;
    padding-top: 20px;
    font-weight: 700;
    font-family: $rob;
    color: var(--black_900);
    line-height: 1.3;
    font-size: 20px;
  }

  .widget_display_replies,
  .widget_display_topics{
    .bbp-replies-widget,
    .bbp-topics-widget {
      .bbp-reply-topic-title,
      .bbp-forum-title {
          display: inline-block;
          font-size: 14px;
          line-height: 1.36;
          color: var(--black_800);
          font-weight: 500;
          text-decoration: none;
          &:hover {
            text-decoration: underline;
            color: var(--bbpc_brand_color);
          }
      }
    }
  }


  .bbpc_forum_information {
    .bbpc-widget-forum-info {
      table {
        border: none;
      }

      .show_last_post_user {
        td {
          a {
            text-decoration: none;

            &:hover {
              text-decoration: underline;
              // color: var(--bbpc_brand_color);
            }
          }
        }
      }
    }
  }

  .widget_display_topics li a:hover,
  .widget_display_replies li a:hover {
    color: var(--bbpc_brand_color);
  }

  .widget_display_stats {
    dl {
      display: grid;
      grid-template-columns: 1fr auto;
      column-gap: 12px;
      row-gap: 8px;
      margin: 0;
    }

    dt,
    dd {
      margin: 0;
    }

    dt {
      text-align: left;
    }

    dd {
      text-align: right;
      justify-self: end;
    }
  }

  .widget_display_views {
    .bbp-views-widget {
      margin: 0;
      padding: 0;
      list-style: none;

      li {
        margin: 0;
        padding: 12px 0 10px;
        border-bottom: 1px solid var(--black_50);
      }
    }

    .bbp-view-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: var(--black_700);
      font-size: 16px;
      font-weight: 400;
      line-height: 1.5;
      text-decoration: none;
      padding: 0 2px 0 0;
      transition: all 0.2s ease;

      &::after {
        content: "\203A";
        color: var(--black_350);
        font-size: 15px;
        line-height: 1;
      }

      &:hover,
      &:focus {
        color: var(--bbpc_brand_color);
      }
    }
  }

  .forumax_recent_topics_widget,
  .forumax_recent_replies_widget {

    .bbp-topics-widget,
    .bbp-replies-widget {
      li {
        a {
          text-decoration: none;
          color: var(--black_800);

          &:hover {
            text-decoration: underline;
            color: var(--bbpc_brand_color);
          }
        }
      }
    }

  }

  .widget_bbpress_forum_topic_info_widget {
    .forumax-topic-info-widget {
      margin: 0;
      padding: 0;
      list-style: none;

      li {
        margin: 0;
        padding: 11px 0;
        border-bottom: 1px solid var(--black_50);
        display: grid;
        grid-template-columns: minmax(78px, auto) 1fr;
        column-gap: 12px;
        align-items: start;
      }
    }

    .forumax-topic-info-label {
      color: var(--black_700);
      font-size: 14px;
      font-weight: 500;
      line-height: 1.5;
      letter-spacing: 0.01em;
    }

    .forumax-topic-info-value {
      min-width: 0;
      color: var(--black_600);
      font-size: 14px;
      font-weight: 400;
      line-height: 1.5;
      overflow-wrap: anywhere;
      word-break: break-word;

      a {
        color: var(--black_700);
        text-decoration: none;

        &:hover {
          color: var(--bbpc_brand_color);
          text-decoration: underline;
        }
      }
    }
  }
}

.upload-attachments-form {
  .bbpc_attachments {
    input {
      border: none;
      box-shadow: none;
      padding: 0;
      width: max-content;
    }
  }

}

.bbp-reply-form {
  .upload-attachments-form {
    padding-left: 0 !important;
  }
}

.bbp-topic-form {
  .upload-attachments-form {
    margin-left: 15px;
    margin-top: 15px;
    width: 100%;
  }
}

.upload-attachments-form {
  legend {
    padding: 0;
    margin: 8;
  }
}

.bbp-your-profile {
  fieldset {
    border: none;
  }

  .bbp-form {
    .frmx-edit-user {
      width: 100% !important;

      .frmx-col-lg-6 {
        width: 50% !important;

        @media (max-width: 768px) {
          width: 100% !important;
        }
      }
    }
  }
}

.topic-content-wrapper {
  .bbp-voting {
    left: 45px;
  }
}

.bbp-author-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#bbpress-forums #bbp-your-profile fieldset input,
#bbpress-forums #bbp-your-profile fieldset textarea {
  width: 100% !important;
}

.bbp-user-section {
  .comment-content {
    p {
      word-break: break-all;
    }
  }
}

// Theme Compatibility

// Twenty Twenty-five
.wp-theme-twentytwentyfive.single-topic {
  .forum-single-content .main-post .q-title {
      padding: 0 0 4px 0;
    }
    .frmx-reply-card{
      .comment-content{
        p{
          margin-top: 0;
        }
      }
    }
}
.wp-theme-blocksy{
  .bbp-search-form form.search-form button {
    left: 0px;
    background: none;
  }
}

// Astra Theme
.wp-theme-astra {

  .bbp-author-wrap .bbp-voting {
    left: 34px;
  }

  .all-answers .forum-comment .comment-content .alert {
    margin-bottom: 16px !important;
  }

  .bbp-eib-content {
    button {
      box-shadow: none !important;
      border: none !important;
    }
  }

  .mce-widget {
    button {
      &:hover {
        background-color: transparent !important;
      }
    }
  }

  #bbpress-forums fieldset.bbp-form {
    padding: 0 !important;
  }
}

// Hello Elementor 
.wp-theme-hello-elementor {
  button.forumax-reaction-option {
    border: none;
  }

  .forumax-reaction-option {
    padding: 0 !important;
  }

  .forum-sidebar .widget_display_stats {
    dl {
      display: grid;
      grid-template-columns: 1fr auto;
      column-gap: 12px;
      row-gap: 8px;
      margin: 0;
    }

    dt,
    dd {
      margin: 0;
    }

    dd {
      text-align: right;
    }
  }
}

// OceanWP
.wp-theme-oceanwp {
  .content-area {
    width: 100% !important;
  }

  .all-answers .forum-comment .comment-content .alert {
    margin-bottom: 16px !important;
  }

  a:focus {
    outline: none !important;
  }

  #bbpress-forums fieldset.bbp-form p.bbp-attachments-form {
    float: none !important;
    width: 50%;
    margin-top: 0 !important;
  }

  #bbpress-forums fieldset.bbp-form legend {
    margin-bottom: 0 !important;
  }

  .bbp-topic-form input#anonymous_topic {
    margin-top: 0 !important;
  }

  .bbp-shortcode.page #bbpress-forums fieldset.bbp-form {
    box-shadow: none;
    margin-top: 0px !important;
  }

  form legend {
    border: none !important;
  }

  .aq-form-wrapper {
    p {
      margin-top: 10px;
    }
  }
}

#bbpress-forums #bbp-your-profile fieldset fieldset.password {
  width: 97% !important;
  margin-left: 0 !important;
}

// GeneratePress
.wp-theme-generatepress {
  .site-content {
    display: flex;
    flex-direction: column !important;

    .content-area {
      width: 100% !important;
    }

    .all-answers .forum-comment .comment-content .alert {
      margin-bottom: 16px !important;
    }
  }

  .community-posts-wrapper {
    .entry-content {
      margin-top: 0 !important;
    }
  }

  #bbpress-forums fieldset.bbp-form {
    padding: 0 !important;
  }
}

// Ama theme

.wp-theme-ama {
  .topic-content-wrapper {
    .bbp-voting {
      left: 35px;
    }
  }

  .bbp-private-reply {
    .bbp-author-wrap .bbp-voting {
      left: 56px;
    }
  }

  .single-topic .main-post .forum-post-top {
    margin-bottom: 8px !important;
  }

  .forum-post-top {
    margin-bottom: 0;
  }

  .best-answer {
    .bbp-author-wrap {
      .bbp-voting {
        left: 18px !important;
      }
    }
  }

  .bbp-author-wrap {
    .bbp-voting {
      left: 32px;

      @media (max-width: 768px) {
        left: 0;
      }
    }
  }

  .aq-form-wrapper .form-item {
    margin-top: 0px;
  }

  .all-answers .forum-comment {
    margin-top: 0px;
  }
}

img.attachment-forumax_60x60.size-forumax_60x60.wp-post-image {
  width: 100%;
}

// docly theme
.wp-theme-docly {
  .bbpress-wrapper {
    .bbp-topic-form {
      margin: 100px !important;
    }
  }

  .bbp-author-wrap .bbp-voting {
    left: 47px !important;
  }

  .best-answer {
    .bbp-author-wrap {
      .bbp-voting {
        left: 33px !important;
      }
    }
  }

  #bbpress-forums fieldset.bbp-form {
    padding: 0 !important;
  }
}

// Docy Theme
.wp-theme-docy {
  #bbpress-forums fieldset.bbp-form {
    padding: 10px 0px !important;
  }


  .widget+.widget {
    margin-top: 0;
  }

  #bbpress-forums div.bbp-the-content-wrapper {
    padding: 14px !important;
  }

  .bbp-author-wrap .bbp-voting {
    left: 29px;
  }

  .best-answer {
    .bbp-author-wrap {
      .bbp-voting {
        left: 18px !important;
      }
    }
  }

  .topic-content-wrapper .bbp-voting {
    left: 36px !important;
  }

  .aq-form-wrapper {
    .bbp-the-content-wrapper {
      padding: 13px !important;
    }
  }

  .bbp-attachments-form {
    margin: 0;
  }

  .aq-form-wrapper .form-item {
    margin-top: 1rem;
  }
}

#new-post .bbp-the-content-wrapper {
  padding: 15px;
}

// blocksy theme

.wp-theme-blocksy {
  #bbpress-forums fieldset.bbp-form {
    padding: 10px 0px !important;
  }

  .all-answers .forum-comment .comment-content .alert {
    margin-bottom: 16px !important;
  }

  #bbpress-forums fieldset.bbp-form legend {
    padding: 13px !important;
  }

  .upload-attachments-form legend {
    padding: 14px !important;
  }
}


.frmx-reaction-topic-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  width: 100% !important;

  @media (max-width: 768px) {
    flex-direction: column;
  }

  .forumax-reactions-wrapper {
    position: absolute;
    right: 30px;

    @media (max-width: 768px) {
      position: static;
    }
  }
}

.avatar.avatar-40.photo.avatar-default {
  border-radius: 50%;
}

// divi theme compatibility

.wp-theme-Divi {
  #left-area:has(.type-topic, .type-forum) {
    width: 100% !important;
  }

  .bbp-template-notice {
    ul {
      list-style: none !important;
    }
  }

  #bbpress-forums {
    padding: 50px;
  }

  #bbpress-forums fieldset.bbp-form {
    padding: 10px 20px !important;
  }
}

.reply-result:has(.frmx-pipeline-timeline) .bbp-voting {
  left: -6px !important;

  @media (max-width: 768px) {
    left: -6px !important;
  }
}

.reply-result:has(.frmx-pipeline-timeline) .bbp-private-reply {
  .bbp-voting {
    left: -6px !important;
  }
}

.bbp-author-avatar {
  .avatar {
    border-radius: 50% !important;
  }
}

.forum-post-content {
  .test {
    width: 100%;
  }
}



/* === FRMX Custom Dropdown (to avoid theme conflicts) === */
.frmx-dropdown {
  position: relative;
  display: inline-block;
}

.frmx-dropdown-toggle {
  position: relative;
  background: transparent;
  box-shadow: none;
  border: 0;
  color: var(--black_500);
  padding: 0 15px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;

  &:hover,
  &[aria-expanded="true"] {
    color: var(--black_900);
  }

  &[aria-expanded="true"]::after {
    transform: rotate(180deg) translateY(50%);
  }

  &::after {
    content: "\33";
    font-family: eleganticons;
    border: 0;
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
  }
}

.frmx-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  display: none;
  min-width: 260px;
  padding: 0;
  margin-top: 12px;
  background: var(--bs-white);
  border: 1px solid var(--black_50);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  animation: frmxSlideDown 0.15s ease-out;

  &.frmx-show {
    display: block;
  }

  @media (max-width: 576px) {
    min-width: 210px;
  }
}

// Position dropdown menus correctly for different items
.forumax-sort-lists {

  li:nth-child(3) .frmx-dropdown-menu,
  li:last-child .frmx-dropdown-menu {
    left: auto;
    right: 0;

    .title::before,
    .title::after {
      left: auto;
      right: 30px;
    }
  }

  li:nth-child(1) .title::before,
  li:nth-child(1) .title::after {
    right: auto;
    left: 30px;
  }

  li:nth-child(2) .title::before,
  li:nth-child(2) .title::after {
    right: auto;
    left: 25px;
  }
}

.frmx-frmx-dropdown-item {
  display: block;
  padding: 7px 0 5px 20px !important;
  color: var(--black_400);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;

  &:hover {
    color: var(--black_800);
    background: transparent;
    text-decoration: none;
  }

  &.active-short {
    color: var(--black_800);

    &::before {
      content: "\4e";
      position: absolute;
      font-family: eleganticons;
      left: 0;
      color: #0abe76;
      font-size: 14px;
    }
  }
}

@keyframes frmxSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.frmx-dropdown-menu {
  .all-users {
    .userlist {
      padding: 0 !important;
    }
  }
}

#bbp-user-topics-started.bbp-user-topics-started,
#bbp-user-subscriptions.bbp-user-subscriptions,
#bbp-user-favorites.bbp-user-favorites,
#bbp-user-engagements.bbp-user-engagements {
  .bbp-user-section {
    .frmx-pagination {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 16px;
      padding: 14px 10px;

      // Count text — matches forum single page style
      .bbp-pagination-count {
        font-size: 13px;
        color: var(--black_500);
        font-weight: 400;
      }

      // Links container
      .bbp-pagination-links {
        display: flex;
        align-items: center;
        gap: 4px;

        // All page number buttons/links — flat square style
        .page-numbers {
          display: inline-flex;
          justify-content: center;
          align-items: center;
          width: 30px;
          height: 30px;
          border-radius: 3px;
          background: var(--black_50);
          color: var(--black_500);
          font-size: 13px;
          font-weight: 400;
          text-decoration: none !important;
          transition: background 0.2s ease, color 0.2s ease;
          cursor: pointer;

          &:not(.current):hover {
            background: var(--bbpc_brand_color);
            color: #fff;
          }

          // Active / current page
          &.current {
            background: var(--bbpc_brand_color);
            color: #fff;
            font-weight: 500;
            cursor: default;
          }

          // Next / Prev arrows
          &.next,
          &.prev {
            font-size: 14px;
          }
        }

        // Ellipsis dots
        .dots {
          background: transparent;
          cursor: default;
          color: var(--black_400);

          &:hover {
            background: transparent;
            color: var(--black_400);
          }
        }
      }
    }
  }
}

.bbp-user-page {
  .support-info {
    display: flex;
    justify-content: space-between;
    width: inherit !important;
  }

  .page_wrapper {
    position: relative;
  }

  .titlebar {
    padding: 180px 0 170px;
    background: linear-gradient(45deg, #C7F5FE 10%, #C7F5FE 40%, #FCC8F8 40%, #FCC8F8 60%, #EAB4F8 60%, #EAB4F8 65%, #F3F798 65%, #F3F798 90%);
  }
}


/** === Forum Description Row with Subscription === **/

.frmx-forum-description-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f9f9f957;
  border: 1px solid var(--black_100);
  color: var(--black_700);
  border-radius: 6px;
  padding: 8px 20px;
  margin-bottom: 24px;

  @media (max-width: 576px) {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .frmx-forum-description-text {
    flex: 1;

    .bbp-template-notice {
      padding: 0;
      margin: 0;
      background: transparent;
      border: none;
    }
  }

  .frmx-forum-subscription-action {
    flex-shrink: 0;

    #subscription-toggle {
      a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 4px 12px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none !important;
        transition: all 0.3s ease;


        background-color: var(--bbpc_brand_color);
        color: #ffffff !important;
        border: 1.5px solid var(--bbpc_brand_color);

        &::before {
          content: "";
          display: inline-block;
          width: 16px;
          height: 16px;
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E");
          background-size: contain;
          background-repeat: no-repeat;
        }

        &:hover {
          opacity: 0.9;
          box-shadow: 0 4px 12px rgba(76, 76, 241, 0.2);
        }
      }

      &.is-subscribed {
        a {
          background-color: transparent;
          color: var(--bbpc_brand_color) !important;
          border: 1.5px solid var(--bbpc_brand_color);


          &::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c4cf1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E");
          }

          &:hover {
            background-color: var(--bbpc_brand_color);
            color: #ffffff !important;

            &::before {
              background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E");
            }
          }
        }
      }
    }
  }
}