// 
// post-detail.scss
// 

.forum {
    .forum-item {
        .forum-box {
            background-color: $white;
            padding: 30px;
            border-radius: 20px;
            border: 2px solid rgba($blue, 0.2);

            .slider-content-image {
                .avatar-xs {
                    img {
                        border-radius: 50px;
                        border: 4px solid $white;
                    }
                }

                .top-child {
                    position: relative;
                    margin-left: -15px;
                }
            }
        }

        .forum-form {
            background-color: $white;
            padding: 20px;
            border-radius: 20px;
            border: 1px solid rgba($blue, 0.2);
            box-shadow: $box-shadow;
        }

        .answer-process-details {
            padding: 25px;
            background-color: $white;

            border-radius: 20px;

            .process-box {
                position: relative;

                .process-image {
                    z-index: 999;
                }

                .process-content {
                    padding-left: 75px;
                }

                &::after {
                    content: "";
                    position: absolute;
                    width: 1px;
                    height: 100%;
                    background-color: rgba($muted, 0.2);
                    top: 0;
                    left: 30px;
                }
            }
        }
    }

    .forum-profile {
        img {
            border: 4px solid $white;
            outline: 3px solid $blue;
        }
    }

    .forum-side-box {
        .items {
            .categorie-box {
                background-color: $white;
                padding: 20px;
                border-radius: 20px;

                .badge {
                    background-color: rgba($muted, 0.05);
                    // border: 1px solid rgba($muted, 0.1 !important);
                }
            }

            .Popular-tag {
                .badge {
                    margin-bottom: 10px;
                    margin-left: 5px;
                }
            }

            .live-auctions {
                padding: 30px;
            }
        }
    }

    form {
        .form-control {
            border-radius: 14px;
            padding: 15px 20px;
            background-color: rgba($muted, 0.1);
            border: 1px solid rgba($muted, 0.2);

            &:focus,
            &.active {
                box-shadow: none;
                border: 1px solid rgba($blue, 0.2);
                background-color: $white;
            }
        }
    }

    ::placeholder {
        color: rgba($dark, 0.6);
        font-weight: 500;
    }

}



body[data-layout-mode='dark'] {
    .forum {
        background-color: $body-dark-bg !important;

        .forum-box,
        .forum-form,
        .answer-process-details,
        .categorie-box {
            background-color: $gray-dark-100 !important;
        }

        .tab-box {
            background-color: $body-dark-bg !important;
            border-color: $body-dark-bg !important;

            .badge,
            span {
                color: $dark !important;
            }
        }

        .slider-content-image {
            .avatar-xs {
                img {
                    border: 4px solid $gray-dark-100 !important;
                }
            }
        }

        ::placeholder {
            color: rgba($white, 0.5) !important;
        }
    }

    h6 {
        color: $white !important;
    }

    .forum-details {
        .badge {
            color: $blue !important;
        }
    }
    .mdi-thumb-down-outline{
        color: $muted !important;
    }
}
