.forum-comments-container {
    max-width: 100%;
}

.forum-comments-title {
    color: rgb(51, 51, 51);
    font-size: 1.5em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgb(0, 115, 170);
    display: none;
}

.forum-discussion-link {
    padding: 0px;
    margin-bottom: 10px;
    color: gray;
    font-size: unset;
}

.forum-discussion-link a {
    text-decoration: none;
}

.forum-discussion-link a:hover {
    text-decoration: underline;
}

.comment-voting {
    float: right;
    margin: 2px 2px 8px 8px;
    padding: 3px 6px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgb(204, 204, 204);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px;
    clear: right;
}

.vote-btn {
    background: rgb(248, 249, 250);
    border: 1px solid rgb(222, 226, 230);
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: 0.2s;
    color: rgb(73, 80, 87);
    outline: none;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.vote-btn:hover:not(.disabled):not([disabled]) {
    background: rgb(233, 236, 239);
    border-color: rgb(173, 181, 189);
    transform: translateY(-1px);
}

.vote-btn:active:not(.disabled):not([disabled]) {
    transform: translateY(0px);
}

.vote-btn.vote-positive.voted {
    background: rgb(212, 237, 218);
    border-color: rgb(195, 230, 203);
    color: rgb(21, 87, 36);
}

.vote-btn.vote-negative.voted {
    background: rgb(248, 215, 218);
    border-color: rgb(245, 198, 203);
    color: rgb(114, 28, 36);
}

.vote-btn.disabled, .vote-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.7;
}

.vote-count {
    font-weight: 600;
    min-width: 16px;
    text-align: center;
}

.forum-pagination {
    margin: 0px;
    padding: 0px 0px 10px;
    text-align: left;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-info {
    font-size: 11px;
    color: rgb(51, 51, 51);
    margin: 0px;
}

.pagination-info::after {
    content: "Pages:";
}

.pagination-buttons {
    display: inline-block;
}

.pagination-btn {
    background: none;
    border: none;
    padding: 0px;
    margin: 0px;
    font-size: 11px;
    cursor: pointer;
    text-decoration: underline;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.pagination-btn:hover {
    text-decoration: underline;
}

.pagination-current {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
}

@media (max-width: 768px) {
    .forum-pagination {
        flex-direction: column;
        gap: 10px;
    }

    .pagination-info {
        margin-right: 0px;
        margin-bottom: 5px;
    }

    .forum-pagination-container {
        justify-content: center;
    }
}

.forum-comments-loading {
    text-align: center;
    padding: 20px;
    color: rgb(102, 102, 102);
    font-style: italic;
}

.forum-comments-list {
    margin-bottom: -5px;
}

.forum-comment {
    margin: 0px auto 15px;
    border-bottom: 0px solid rgb(217, 217, 223);
}

.comment-header {
    padding: 7px 10px;
    margin: 0px;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.46);
    line-height: 1.3;
    background: rgb(0, 94, 175);
}

.comment-header-text {
    display: inline;
}

.comment-number {
    color: rgb(147, 147, 147);
    font-size: 11px;
}

.comment-author {
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: inherit;
}

.comment-date {
    color: rgb(51, 51, 51);
    font-size: inherit;
    margin-left: 8px;
}

.comment-content {
    background-color: rgba(227, 227, 239, 0.29);
    padding: 0px;
    margin: 0px;
}

.comment-content-inner {
    margin: 0px;
    padding: 10px 11px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    line-height: 1.4;
}

.comment-content-inner p {
    margin: 0px;
    padding: 0px;
    font-size: 13px;
    color: rgb(51, 51, 51);
    line-height: 1.4;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.comment-content a {
    color: rgb(0, 115, 170);
    text-decoration: none;
}

.comment-content a:hover {
    text-decoration: underline;
}

.forum-bottom-section {
    background: rgb(255, 255, 255);
}

.forum-pagination-container {
    display: flex;
    align-items: center;
}

.forum-comment-form {
    background: rgb(255, 255, 255);
    padding: 20px;
    border: 1px solid rgb(225, 225, 225);
    border-radius: 5px;
    margin-top: 20px;
}

.forum-comment-form h4 {
    margin-top: 0px;
    margin-bottom: 15px;
    color: rgb(51, 51, 51);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: rgb(51, 51, 51);
}

.form-group input[type="text"], .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus, .form-group textarea:focus {
    outline: none;
    border-color: rgb(0, 115, 170);
    box-shadow: rgba(0, 115, 170, 0.2) 0px 0px 0px 2px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.forum-comment-form button[type="submit"] {
    background-color: rgb(0, 115, 170);
    color: rgb(255, 255, 255);
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.forum-comment-form button[type="submit"]:hover {
    background-color: rgb(0, 90, 135);
}

.forum-comment-form button[type="submit"]:disabled {
    background-color: rgb(204, 204, 204);
    cursor: not-allowed;
}

.forum-message {
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-weight: bold;
}

.forum-message-success {
    background-color: rgb(212, 237, 218);
    color: rgb(21, 87, 36);
    border: 1px solid rgb(195, 230, 203);
}

.forum-message-error {
    background-color: rgb(248, 215, 218);
    color: rgb(114, 28, 36);
    border: 1px solid rgb(245, 198, 203);
}

.forum-comments-error {
    background-color: rgb(248, 215, 218);
    color: rgb(114, 28, 36);
    padding: 15px;
    border: 1px solid rgb(245, 198, 203);
    border-radius: 4px;
    text-align: center;
}

.forum-comments-notice {
    background-color: rgb(209, 236, 241);
    color: rgb(12, 84, 96);
    padding: 15px;
    border: 1px solid rgb(190, 229, 235);
    border-radius: 4px;
    text-align: center;
    font-style: italic;
}

.forum-comments-container[data-style="compact"] {
    padding: 15px;
}

.forum-comments-container[data-style="compact"] .forum-comment {
    padding: 10px;
    margin-bottom: 10px;
}

.forum-comments-container[data-style="compact"] .comment-header {
    margin-bottom: 5px;
}

.forum-comments-container[data-style="compact"] .forum-comment-form {
    padding: 15px;
}

@media (max-width: 768px) {
    .forum-comments-container {
        margin: 10px 0px;
    }

    .forum-comment {
        width: 98%;
        margin: 0px auto 10px;
    }

    .comment-header {
        padding: 6px 8px;
        font-size: 14px;
        line-height: 1.4;
    }

    .comment-content-inner {
        padding: 8px 10px;
        font-size: 16px;
    }

    .comment-voting {
        padding: 6px 8px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .vote-btn {
        padding: 4px 6px;
        font-size: 10px;
    }

    .form-group input[type="text"], .form-group textarea {
        font-size: 16px;
    }
}

.forum-quote {
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(227, 227, 239);
    margin: 8px 32px -5px;
    padding: 8px 13px;
    font-style: italic;
    font-size: 13px;
    color: rgb(131, 131, 131);
}

.forum-quote .quote-author {
    display: block;
    font-weight: bold;
    color: rgb(0, 0, 0);
    font-size: 11px;
    margin-bottom: 4px;
    font-style: normal;
}

.forum-quote .quote-author::before {
    content: "Quote: ";
    margin-right: 2px;
}

.forum-quote .forum-quote {
    background-color: rgb(232, 232, 232);
    border-left-color: rgb(153, 153, 153);
    margin: 6px 0px;
    padding: 6px 10px;
    font-size: 11px;
}

.forum-quote .forum-quote .quote-author {
    color: rgb(119, 119, 119);
}

.forum-quote p:first-child {
    margin-top: 0px;
}

.forum-quote p:last-child {
    margin-bottom: 0px;
}

.comment_title.smaller {
    text-align: center;
    padding: 1.5em 0em;
    margin-top: 4em;
    border-top: 2px solid rgb(238, 238, 238);
}
