#state_close {
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    padding: 10px;
    color: gray;
    margin: 23px -15px;
    margin-top: 100px;
}

.component_licked {
    align-items: center;
}

#state_close_prev {
    background: white;
    display: flex;
    align-items: center;
    justify-content: end;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    padding: 10px;
    color: gray;
    margin: -24px -15px 18px -15px;
}

#state_close_prev img {
    width: 21px;
}

#state_close_prev img:nth-child(2) {
    position: relative;
    left: -9px;
}

#comments {
    font-family: sans-serif;
    color: #050505;
}

#comments * {
    line-height: 135%;
}

.comment-img {
    max-width: 350px;
    width: 100%;
    border-radius: 5px;
    margin-top: 18px;
}

#comments_component {
    margin: 0 0 0 -7px;
    font-family: sans-serif;
    padding-bottom: 15px;
    display: none
}

#comments_component.visible {
    display: block;
}

#comments_component .item {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin: 0 0 20px 0
}

/* Reply comment styling */
#comments_component .item.reply-comment {
    margin-left: 40px;
    position: relative;
    /*background: linear-gradient(90deg, rgba(66, 103, 178, 0.05) 0%, rgba(66, 103, 178, 0.02) 100%);*/
    /*border-radius: 12px;*/
    padding: 8px 12px;
    /*border-left: 3px solid #4267B2;*/
}

#comments_component .item.reply-comment .component_info_inner {
    background-color: #ebedf0;
    /*border: 1px solid rgba(66, 103, 178, 0.15);*/
}

#comments_component .item.reply-comment .component_ava {
    border: 2px solid #4267B2;
}

/* Reply indicator line */
/*.reply-indicator {
    position: absolute;
    left: -28px;
    top: 18px;
    width: 20px;
    height: 2px;
    background: #4267B2;
    border-radius: 1px;
}

.reply-indicator::before {
    content: '';
    position: absolute;
    left: -10px;
    top: -8px;
    width: 2px;
    height: 18px;
    background: #4267B2;
    border-radius: 1px;
}*/

#comments_component .component_ava {
    background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    overflow: hidden;
    border-radius: 100%;
    margin: 0 10px 0 0;
    background-color: rgb(235, 237, 240);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#comments_component .component_info {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin: 0 0 5px 0
}

#comments_component .component_info_inner {
    background-color: #ebedf0;
    border-radius: 18px;
    display: inline-block;
    line-height: 16px;
    margin-top: 0;
    min-width: 0;
    overflow: hidden;
    padding: 6px 12px 7px 12px
}

#comments_component .component_name {
    color: #000;
    font-weight: 600;
    font-size: 12px;
    margin: 0 0 3px 3px;
    text-decoration: none
}

#comments_component .component_licked {
    position: relative;
    bottom: -27px;
    left: -50px;
    display: flex
}

#comments_component .component_licked.hidden {
    display: none;
}

.component_body {
    width: 100%
}

.component_voir {
    color: #000;
    font-weight: 600;
    font-size: 12px;
    margin: 7px 0 0 12px
}

.component_reposy {
    color: #929292;
    font-weight: 600;
    font-size: 12px;
    margin: 6px 0 0 12px;
    display: flex;
    flex-wrap: wrap
}

.component_reposy b {
    font-weight: 100;
    word-spacing: 0 !important;
    color: #757575
}

.component_img {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    margin: 7px 0 6px 0;
    height: auto
}

.component_img img {
    width: 100%;
    display: flex;
    height: auto;
    transition: all 3s ease-in
}

.component_licked {
    background: #fff;
    border-radius: 10px;
    box-shadow: 1px 1px 3px 0 #dadde1;
    color: #909192;
    font-size: 11px;
    font-weight: normal;
    height: 20px;
    line-height: 20px;
    margin-left: -10px;
    padding-right: 4px;
    transform: translateY(-6px);
    z-index: 5
}

#comments_component a {
    font-weight: 600;
    text-decoration: none;
    color: #232323
}

.icons {
    white-space: nowrap;
    display: flex;
    margin: 0
}

.icons .fb_licked {
    background-image: url("../img/d5452d4fb9e10cbc78fcadf492504a3085fffc89.png");
    background-size: 103px 328px;
    background-repeat: no-repeat;
    display: inline-block;
    height: 16px;
    width: 16px;
    border-radius: 100%;
    border: 2px solid #fff
}

.l {
    background-position: -51px -266px;
    z-index: 4
}

.u {
    background-position: 0 -283px;
    margin-left: -6px;
    z-index: 3
}

.s {
    background-position: -68px -266px;
    margin-left: -6px
}

.component_name, .component_reposy {
    cursor: pointer
}

.component_name:hover, .component_text a:hover, .component_reposy nav:hover {
    text-decoration: underline !important
}

.component_reposy nav {
    display: inline;
    margin: 0 0 0 16px;
    font-weight: 600
}

.user_request .component_ava {
    margin-left: 46px !important
}

#comments_component .user_request .component_ava {
    background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    overflow: hidden;
    border-radius: 100%;
    margin: 0 10px 0 0
}

.component_reposy_small {
    word-spacing: 0;
    display: flex;
    font-size: 12px;
    line-height: 27px;
    cursor: pointer
}

.component_reposy_small > .name {
    font-weight: 600;
    margin-right: 9px
}

.component_reposy_small > .repond {
    font-weight: 100;
    margin-right: 5px
}

.component_reposy_small b.count {
    font-weight: 100;
    color: #b9b9b9
}

#comments_component p {
    margin: 0
}

#comments_component .component_name, #comments_component .component_text, #comments_component .component_reposy, .component_licked span {
    font-style: normal
}

.icons .fb_licked {
    height: 21px;
    width: 20px
}


#body>#center #comments p {
    margin-bottom: 0;
}

/* Auto-generated avatar mappings */

#comments_component .component_ava[data-bg="w5"] {
  background-image: url('../img/w5.jpg');
}

#comments_component .component_ava[data-bg="w6"] {
  background-image: url('../img/w6.jpg');
}

#comments_component .component_ava[data-bg="w7"] {
  background-image: url('../img/w7.jpg');
}

#comments_component .component_ava[data-bg="w8"] {
  background-image: url('../img/w8.jpg');
}

#comments_component .component_ava[data-bg="doc-face"] {
  background-image: url('../img/doc-face.jpg');
}

#comments_component .component_ava[data-bg="w22"] {
  background-image: url('../img/w22.jpg');
}

#comments_component .component_ava[data-bg="w9"] {
  background-image: url('../img/w9.jpg');
}

#comments_component .component_ava[data-bg="w10"] {
  background-image: url('../img/w10.jpg');
}

#comments_component .component_ava[data-bg="m5"] {
  background-image: url('../img/m5.jpg');
}

#comments_component .component_ava[data-bg="m6"] {
  background-image: url('../img/m6.jpg');
}

#comments_component .component_ava[data-bg="m12"] {
  background-image: url('../img/m12.jpg');
}

#comments_component .component_ava[data-bg="w11"] {
  background-image: url('../img/w11.jpg');
}

#comments_component .component_ava[data-bg="w12"] {
  background-image: url('../img/w12.jpg');
}

#comments_component .component_ava[data-bg="w13"] {
  background-image: url('../img/w13.jpg');
}

#comments_component .component_ava[data-bg="m7"] {
  background-image: url('../img/m7.jpg');
}

#comments_component .component_ava[data-bg="w17"] {
  background-image: url('../img/w17.jpg');
}

#comments_component .component_ava[data-bg="w14"] {
  background-image: url('../img/w14.jpg');
}

#comments_component .component_ava[data-bg="m8"] {
  background-image: url('../img/m8.jpg');
}

#comments_component .component_ava[data-bg="w15"] {
  background-image: url('../img/w15.jpg');
}

#comments_component .component_ava[data-bg="m9"] {
  background-image: url('../img/m9.jpg');
}

#comments_component .component_ava[data-bg="w16"] {
  background-image: url('../img/w16.jpg');
}

#comments_component .component_ava[data-bg="m10"] {
  background-image: url('../img/m10.jpg');
}

#comments_component .component_ava[data-bg="w18"] {
  background-image: url('../img/w18.jpg');
}

#comments_component .component_ava[data-bg="m11"] {
  background-image: url('../img/m11.jpg');
}

#comments_component .component_ava[data-bg="w19"] {
  background-image: url('../img/w19.jpg');
}

#comments_component .component_ava[data-bg="w20"] {
  background-image: url('../img/w20.jpg');
}

#comments_component .component_ava[data-bg="w21"] {
  background-image: url('../img/w21.jpg');
}

/* Mobile Responsive Styles for Comment Replies */
@media (max-width: 768px) {
    /* Reduce reply comment indentation on mobile */
    #comments_component .item.reply-comment {
        margin-left: 20px;
        padding: 6px 8px;
    }
    
    /* Smaller avatars for mobile */
    #comments_component .component_ava {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        margin: 0 8px 0 0;
    }
    
    /* Even smaller avatars for user requests on mobile */
    #comments_component .user_request .component_ava {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
        margin: 0 8px 0 0;
    }
    
    /* Adjust user request margin for mobile */
    .user_request .component_ava {
        margin-left: 30px !important;
    }
    
    /* Better text wrapping and spacing on mobile */
    #comments_component .component_info_inner {
        padding: 5px 10px 6px 10px;
        font-size: 13px;
        line-height: 16px;
    }
    
    /* Adjust name and response text for mobile */
    #comments_component .component_name {
        font-size: 11px;
        margin: 0 0 2px 2px;
    }
    
    .component_reposy {
        font-size: 11px;
        margin: 5px 0 0 10px;
    }
    
    /* Smaller like icons on mobile */
    .component_licked {
        height: 18px;
        line-height: 18px;
        font-size: 10px;
        margin-left: -8px;
        padding-right: 3px;
    }
    
    .icons .fb_licked {
        height: 18px;
        width: 17px;
    }
    
    /* Better spacing for reply responses */
    .component_reposy_small {
        font-size: 11px;
        line-height: 24px;
    }
    
    .component_reposy_small > .name {
        margin-right: 7px;
    }
}

@media (max-width: 480px) {
    /* Further reduce reply indentation on very small screens */
    #comments_component .item.reply-comment {
        margin-left: 15px;
        padding: 4px 6px;
    }
    
    /* Even smaller avatars for very small screens */
    #comments_component .component_ava {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        margin: 0 6px 0 0;
    }
    
    /* Tiny avatars for user requests on very small screens */
    #comments_component .user_request .component_ava {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
        margin: 0 6px 0 0;
    }
    
    /* Reduce user request margin even more */
    .user_request .component_ava {
        margin-left: 25px !important;
    }
    
    /* Tighter spacing for very small screens */
    #comments_component .component_info_inner {
        padding: 4px 8px 5px 8px;
        font-size: 12px;
        line-height: 15px;
    }
    
    #comments_component .component_name {
        font-size: 10px;
    }
    
    .component_reposy {
        font-size: 10px;
        margin: 4px 0 0 8px;
    }
}
