/* ============================================
   BBP User Page Styles
   ============================================ */
#bbpress-forums {
    #bbp-user-wrapper {

        .bbp-user-body {

            background: var(--bs-white);
            margin-bottom: 20px;
            border-radius: 10px;

            .entry-title {
                font-size: 2em;
                padding-bottom: 24px;
                color: var(--black_900);
                font-weight: 700;
            }
            .comment-content{
                .bbp-attachments,
                .bbp-attachments-errors {
                    width: 100%;
                    .with-icons{
                        padding: 5px 0 0 0;
                    }
                }
            }
            .bbp-user-section {
                overflow: hidden;

                .forum-comment {
                    margin-bottom: 20px;
                    border-radius: 10px;

                    .comment-content p:last-child {
                        margin: 0;
                    }

                    &.odd {
                        background: var(--black_25)
                    }
                    &.even {
                        background: var(--bs-white)
                    }
                }

            }

            .bbp-search-form {
                .search-form {
                    display: flex;
                    flex-flow: row-reverse;
                    align-items: center;
                    background-color: var(--bs-white);
                    border: 1px solid var(--black_75);
                    border-radius: 6px;
                    height: 50px;
                    padding: 0 15px;
                    transition: all .3s ease;
                }
            }

            .bbp-form {

                div {
                    margin-bottom: 0.4rem;
                    float: none;
                    clear: both;
                }

                legend {
                    padding: 0;
                    margin-bottom: 8px;
                }

                input[type="text"],
                textarea {
                    border-radius: 4px;
                }
            }

            /* ============================================
               Notifications (Forumax Pro)
               ============================================ */
            .notification-wrapper {
                padding: 18px 20px;

                .bbpc-notification-body {
                    margin-top: 6px;
                }

                .bbpc-notification-list {
                    list-style: none;
                    margin: 0;
                    padding: 0;
                }

                .bbpc-notification-item {
                    display: flex;
                    align-items: flex-start;
                    gap: 12px;
                    padding: 12px 14px;
                    border-radius: 10px;
                    border: 1px solid var(--black_50);
                    background: var(--bs-white);
                    position: relative;

                    & + .bbpc-notification-item {
                        margin-top: 10px;
                    }
                }

                .bbpc-notify-author {
                    flex: 0 0 auto;
                    line-height: 0;

                    img {
                        width: 32px;
                        height: 32px;
                        border-radius: 50%;
                        display: block;
                    }
                }

                .bbpc-notify-content {
                    flex: 1 1 auto;
                    min-width: 0;

                    p {
                        margin: 0;
                        padding: 0;
                    }

                    a.bbpc-notification-link {
                        color: var(--black_800);
                        font-weight: 500;
                        text-decoration: none;

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

                .bbpc-notify-time {
                    display: block;
                    margin-top: 6px;
                    font-size: 12px;
                    line-height: 1.4;
                    color: var(--black_400);
                }

                /* Unread state */
                .bbpc-notification-item.bbpc-notify-unread {
                    background: var(--black_25);
                    border-left: 3px solid var(--bbpc_brand_color);
                }

                .bbpc-notify-read {
                    position: absolute;
                    right: 14px;
                    top: 16px;
                    width: 8px;
                    height: 8px;
                    border-radius: 99px;
                    background: var(--bbpc_brand_color);
                }

                .bbpc-notification-footer {
                    margin-top: 16px;
                    display: flex;
                    justify-content: center;
                }
            }
        }
    }
}