﻿:root {
    --web-wash: #ffffff;
    --web-wash2: #e8e8e8;
    --comment-background: #F0F2F5;
    --secondary-text: #65676B;
    --shadow-1: rgba(0, 0, 0, 0.1);
    --shadow-2: rgba(0, 0, 0, 0.2);
    --shadow-5: rgba(0, 0, 0, 0.5);
    --shadow-8: rgba(0, 0, 0, 0.8);
    --surface-background: #FFFFFF;
}
.__bto-dark-mode {
    --web-wash: #18191A;
    --surface-background: #242526;
    --comment-background: #3A3B3C;
    --primary-text: #E4E6EB;
}


body {
    padding: 0px;
    margin: 0px;
    font-size: 14px;
    font-family: cairo,"Arial", Georgia, Serif;
    background-color: var(--web-wash);
    zoom: 1;
    direction: rtl;
    box-sizing: border-box;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
p{
    margin:0;
    padding:0;
}
.boxshadow {
    box-shadow: 0 1px 2px var(--shadow-2);
}
.boxradius {
    border-radius: 0px;
}
.surfacebg {
    background-color: var(--surface-background);
    color: var(--primary-text);
}
.flexwa {
    display: flex;
}
.hidden {
    display: none;
}



/*  user comment-f */
.comment-f {
    margin: auto;
    display: flex;
    padding: 15px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.person img{
    border-radius: 50px;
    width: 45px;
    height: 45px;
}
.comment-f .textarea-wrapper {
    width: 100%;
    background: var(--comment-background);
    margin: 0 15px 0 0;
    padding: 4px 15px;
    border-radius: 0px;
    position: relative;
    flex: 1;
}
    .comment-f .textarea-wrapper:before {
        content: " ";
        position: absolute;
        border: 5px solid var(--comment-background);
        right: -10px;
        top: 0;
        width: 10px;
        height: 10px;
        box-sizing: border-box;
        border-bottom-color: rgb(247 247 247 / 0%);
        border-right-color: rgba(0, 0, 0, 0);
    }



.comment-f .textarea {
    width: 100%;
    background-color: transparent;
    border: 0;
    color: var(--secondary-text);
    resize:none!important;
}
    .comment-f .textarea:focus-visible {
        outline: 0;
        color: var(--secondary-text);
    }
    .comment-f .textarea::placeholder {
        color: #ccc;
        opacity: 1; /* Firefox */
    }

    .comment-f .textarea::-ms-input-placeholder { /* Edge 12 -18 */
        color: var(--secondary-text);
    }

.comment-f .reaction-box1 {
    display: flex;
    gap: 5px;
}
    .comment-f .reaction-box1 i {
        cursor: pointer;
        display: flex;
    }
.comment-f .add-wrapper {
    width: 100%;
    display: flex;
    justify-content: left;
}
.comment-add {
    background: #3a3b3c69;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0);
    font-size: 1em;
    padding: 10px 20px;
}
    .comment-add.active {
        background: #23A6F0 ;
        cursor:pointer;
    }

.reply-input{
    display:xnone;
}



.recbtns, recata img{
    width: 20px;
    cursor: pointer;
}


/* Styles for comments and replies */
#comments-container {
    margin: 0 auto;
    padding: 0px;
}

#comments-list {
    list-style: none;
    margin: 0;
    width: 100%;
    padding: 0;
}



#comments-list li.comment {
    padding: 10px;
    border-bottom: 1px dotted #ccc;
    position: relative;
    margin-bottom: 0;
}

    .comment .comment-details.by-admin strong {
        color: #2196F3;
    }

    .comment .comment-details {
        display: flex;
        align-items: start;
        
    }

        .comment .content {
            position: relative;
            flex: 1;
            margin-right: 10px;
        }

        .comment .comment-content {
           
            line-height: 1.4em;
            /*  white-space: pre-line;*/
        }

.comment .reaction-count {
    display: none;
    position: absolute;
    left: 0;
    background: #eee;
    padding: 0 6px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
}
   
    .comment .reaction-count .recbtns {
        width: 16px;
    }
    .comment .reaction-count > div .recbtns {
        margin: -2px;
    }

        .comment .child-comments {
        padding-right: 15px !important;
        /*border-right: 1px solid #ccc;*/
        margin-right: 24px !important;
    }

        .comment .child-comments li {
            margin-bottom: 10px;
        }


    .comment .reply-to {
        color: #FF9800;
        cursor: pointer;
    }



    .comment .delete, .comment .reply-close {
        position: absolute;
        top: 0;
        left: 0;
        padding: 0px 5px;
        line-height: 25px;
        cursor: pointer;
        color: red;
    }

  

    
    

    .comment em {
        font-style: italic;
        margin-bottom: 5px;
    }

    .comment .actions {
        display: flex;
        justify-content: space-between;
        margin-right: 50px;
    }


    .comment .like-dislike {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
        text-align: center;
    }

        .comment .like-dislike > span {
            font-size: 14px;
            color: #999;
            cursor: pointer;
            background: #f5f2f2;
            padding: 0px 10px;
            display: flex;
            align-items: center;
            justify-content: space-around;
            gap: 5px;
        }

            .comment .like-dislike > span:hover {
                background: #3a3b3c;
            }

            .comment .like-dislike > span.active {
                color: #2196F3;
                font-weight: 700;
            }




.comment .comment-reply {
      position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 9;
    background-color: var(--surface-background);
    color: var(--primary-text);
}
    .comment .comment-reply .person {
        display: none;
    }

    .comment .comment-reply .reply-f {
        padding: 2px;
        margin-bottom: 0px;
    }
    .comment .comment-reply .textarea-wrapper {
        padding: 0;
        margin:0;
    }
    .comment .comment-reply .textarea-wrapper:before {
        display:none;
    }
    .comment .comment-reply .textarea {
        padding: 5px;
    }
    .comment .comment-reply .add-wrapper {
        position: absolute;
        bottom: 0;
        width: fit-content;
        left: 0;
        height: 30px;
    }


.comment .child-comments li {
    box-shadow:none!important;
}


.x5yr21d {
    background-color: #cccccc;
    WIDTH: 1PX;
    height: calc(100% - 148px);
    position: absolute;
    top: 55px;
    right: 30px;
}

.child-comments .x5yr21d {
    display: none;
}

.child-comments .xgk8upj {
    border-bottom-style: solid;
    border-right-style: solid;
    position: absolute;
    width: 28px;
    border-bottom-width: 1px;
    height: 20px;
    border-right-width: 1px;
    border-bottom-color: #cccccc;
    border-right-color: #cccccc;
    border-left-color: #cccccc;
    border-bottom-right-radius: 10px;
    right: -19px;
}
li.comment .child-comments li:last-child .x5yr21d {
    display: none;
}
li.comment .child-comments li:last-child{
    border: 0;
}







.spinner {
    display: none;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
}
    .spinner .show {
        display: block;
    }
@keyframes spin {
        0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.loadmore {
    width: 90%;
    border: 0;
    background: #2196F3;
    color: #fff;
    padding: 10px;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    letter-spacing: 2px;
}
.no-comments.no-data {
    display: block;
    margin: 1em;
    text-align: center;
    font-size: 1.5em;
    color: #CCC;
}



.reaction-container {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    top: -32px;
    width: max-content;
    right: 0;
    border-radius: 15px;
    text-align: center;
    padding: 0 5px;
}
    .reaction-container i {
        margin: 0 3px;
        font-size: 18px;
    }
.hover-link {
    position: relative;
    display: inline-block;
}
    .hover-link:hover .reaction-container, .reaction-container:hover {
        xdisplay: block;
    }
.comment .like-dislike .reaction-container img {
    margin-bottom: -8px;
    width: 30px;
}

.reaction-counter-container {
    display: none;
    position: absolute;
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    top: 24px;
    width: 35px;
    left: 0;
    border-radius: 5px;
    text-align: center;
    padding: 5px 5px;
    z-index: 3;
}
    .reaction-counter-container i {
        margin: 0 3px;
        font-size: 11px;
        display: block;
    }
.reaction-count:hover .reaction-counter-container {
    display: block;
}


@keyframes fadeOut {
            from {
                opacity: 1;
            }

            to {
                opacity: 0;
            }
        }
.animated-element {
    animation: fadeOut 2s ease forwards;
}




.hover-card {
    display: none;
    position: absolute;
    background-color: #010a12;
    color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    top: -32px;
    width: max-content;
    right: 0;
    border-radius: 0;
    text-align: center;
    padding: 8px 10px;
    z-index: 99;
}

.profile-card {
    display: flex;
    gap: 10px;
    min-width: 200px;
    font-size:11px;
    text-align:right;
}
    .profile-card b {
        font-size: 16px;
    }
    .profile-card img {
        width: 65px;
        height: 65px;
    }


.person:hover .hover-card, .hover-card:hover {
    display: block;
}