/* =========================
   BASE
========================= */

#bbpress-forums {
    font-family: Inter, system-ui, sans-serif;
    background: #f6f7f8;
    color: #1c1c1c;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 auto;
    padding: 20px;
}

#bbpress-forums a {
    color: #0079d3;
    text-decoration: none;
}

#bbpress-forums a:hover {
    text-decoration: underline;
}

/* =========================
   TOPIC HEADER
========================= */

.bbp-topic-header {
    display: none;
}

.bbp-topic-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bbp-topic-meta {
    color: #787c7e;
    font-size: 13px;
    margin-bottom: 20px;
}

/* =========================
   REPLIES CONTAINER
========================= */

.bbp-replies {
    border: none;
}

/*.bbp-reply-header {
    display: none;
}

.bbp-body {
    border: none !important;
}
*/
.bbp-reply-content {
    margin-left: 12px;
}

/* =========================
   SINGLE COMMENT
========================= */

.bbp-reply-item {
    background: #fff;
    border: 1px solid #edeff1;
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 14px 18px;
    transition: all 0.15s ease;
}

.bbp-reply-item:hover {
    border-color: #d7dadc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* =========================
   AUTHOR
========================= */

.bbp-reply-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.bbp-author-avatar img {
    border-radius: 999px;
    width: 32px;
    height: 32px;
}

.bbp-author-name {
    font-weight: 600;
    margin-left: 10px;
    color: #1c1c1c;
    font-size: 14px;
}

.bbp-author-role {
    display: none;
}

.bbp-reply-post-date {
    margin-left: 8px;
    color: #787c7e;
    font-size: 12px;
}

/* =========================
   CONTENT
========================= */

.bbp-reply-content p {
    margin: 0 0 12px;
    font-size: 15px;
}

.bbp-reply-content img {
    max-width: 100%;
    border-radius: 10px;
}

/* =========================
   VOTING STYLE
========================= */

.gx-vote-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #878a8c;
    font-size: 13px;
}

.gx-vote-btn {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .15s ease;
}

.gx-vote-btn:hover {
    background: #f0f2f5;
}

/* =========================
   REPLY FORM
========================= */

.bbp-reply-form {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #f6f7f8;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

#bbpress-forums fieldset.bbp-form {
    border: 1px solid #edeff1;
    border-radius: 14px;
    background: #fff;
    padding: 18px;
}

#bbpress-forums legend {
    display: none;
}

#bbp_reply_content {
    border: 1px solid #d7dadc;
    border-radius: 10px;
    padding: 12px;
    font-size: 15px;
    height: 100px;
}

/* =========================
   BUTTONS
========================= */

#bbpress-forums .button,
#bbpress-forums .submit {
    background: #0079d3;
    color: white;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
}

#bbpress-forums .button:hover,
#bbpress-forums .submit:hover {
    background: #1484d6;
}

/* =========================
   PAGINATION
========================= */

.bbp-pagination {
    margin: 20px 0;
    color: #787c7e;
    font-size: 13px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    #bbpress-forums {
        padding: 12px;
    }

    .bbp-reply-item {
        padding: 12px;
    }

    .bbp-topic-title {
        font-size: 22px;
    }

}

#bbpress-forums ul {
    padding-left: 0;
}

#bbpress-forums li {
    list-style: none;
}

#subscription-toggle {
    float: right;
}

#favorite-toggle {
    float: right;
}

.bbp-submit-wrapper{
    float: right;
    padding: 10px;
}

/*.bbp-form div p:first {
    display: none;
}
*/
.bbp-footer .bbp-reply-author, .bbp-header .bbp-reply-author {
    display: none;
}

.bbp-footer .bbp-reply-content, .bbp-header .bbp-reply-content {
    display: none;
}

.bbp-voting.bbp-voting-float{
    float: right!important;
}

.bbp-voting .score {
    float: left!important;
    width: 50px;
}

.bbp-voting .vote {
    float: left!important;
}

body {
    background: #f6f7f8;
}

#bbpress-forums {
    margin: auto;
    font-family: Inter, system-ui, sans-serif;
}

.gx-topic-shell {
    background: white;
    border-radius: 16px;
    padding: 24px;
}

.gx-topic-title {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 10px;
}

.gx-topic-meta {
    display: flex;
    gap: 14px;
    color: #777;
    font-size: 13px;
    margin-bottom: 24px;
}

.gx-thread {
    margin-top: 28px;
}

.gx-comment {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #ececec;
}

.gx-comment-left {
    width: 42px;
    flex-shrink: 0;
}

.gx-comment-main {
    width: 100%;
}

.gx-comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.gx-avatar img {
    width: 28px;
    height: 28px;
    border-radius: 999px;
}

.gx-author-name {
    font-weight: 700;
    font-size: 13px;
}

.gx-comment-date {
    color: #777;
    font-size: 12px;
}

.gx-comment-content {
    line-height: 1.6;
    font-size: 15px;
}

.gx-comment-actions {
    margin-top: 10px;
    display: flex;
    gap: 14px;
    font-size: 12px;
}

.gx-reply-box {
    position: sticky;
    top: 0;
    background: #f6f7f8;
    z-index: 30;
    padding: 14px 0;
}

.gx-submit-btn {
    background: #0079d3;
    border: none;
    color: white;
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 700;
}

#bbpress-forums textarea {
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 12px;
    width: 100%;
}

ul.bbp-threaded-replies {
    margin-left: 36px;
    padding-left: 18px;
}

.form-allowed-tags {
    display: none;
}
