#kondolencje{
    padding-top: 50px;
    padding-bottom: 50px;
}

#kondolencje .comment-form {
    max-width: 100%;
    width: 100%;
    margin: 1em auto;
    padding: 0 1em;
    display: none;
    box-sizing: border-box;
    background-color: #f5f2ed;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    transition: all 0.3s;
}

#kondolencje .comment-form__row {
    margin-bottom: 0px !important;
}
#kondolencje .comment-form__row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

#kondolencje .comment-form__row__item {
    flex: 1;
    padding: 0 10px;
    margin: 8px 0;
    min-width: 250px;
    box-sizing: border-box;
}

#kondolencje .comment-form__title {
    text-align: center;
    font-weight: 700;
    margin: 1.5em 0;
    width: 100%;
    color: #000000;
}

#kondolencje .comment-form input, #kondolencje .comment-form textarea {
    text-indent: 10px !important;
    padding: 15px !important;
    font-size: 16px !important;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 8px !important;
    box-shadow: none !important;
}

#kondolencje .comment-form textarea {
    height: 120px;
    resize: vertical;
}

#kondolencje input.text, #kondolencje input.title, #kondolencje input[type="email"], #kondolencje input[type="password"], #kondolencje input[type="tel"], #kondolencje input[type="text"], #kondolencje select, #kondolencje textarea {
    width: 100%;
}

#kondolencje .comment-form__row--right {
    justify-content: flex-end;
}

#kondolencje .comments_list_wrap {
    padding: 30px 20px;
    margin: 25px 0;
    border: none;
}
#kondolencje .comments_list_wrap ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: -15px;
    padding: 0;
}
#kondolencje .comments_list_wrap ul>li, #kondolencje .comment_item {
    display: block;
    text-align: center;
    overflow: visible;
    position: relative;
    min-height: auto !important;
    height: auto !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

#kondolencje .comment_item {
    padding: 15px !important;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    box-sizing: border-box;
    height: auto;
    min-height: auto;
    text-align: left;
}

#kondolencje .comment_author_avatar {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    display: inline-block;
    align-content: center;
    vertical-align: top;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}


#kondolencje svg:not(:host).svg-inline--fa, #kondolencje svg:not(:root).svg-inline--fa {
    overflow: visible;
    box-sizing: content-box;
}
#kondolencje .comment_author_avatar .candle-icon {
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    animation: flicker 3s infinite ease-in-out;
    will-change: transform, scale;
}

@keyframes flicker{
    0%{scale: 1}
    50%{scale:1.1}
    100%{scale:1}
}

#kondolencje .comment_text p{
    font-size: 1rem;
    font-weight: 400;
}

#kondolencje .comment_info{
    margin-bottom: 10px;
}

#kondolencje .comment_date{
    font-size: 14px;
    font-weight: 400;
    opacity: 0.7;
    display: block;
    align-items: center;
    float: right;
}

#kondolencje .comment_date:before {
    content: "";
    background-image: url('/wp-content/plugins/bb-nekrologi/assets/images/icons/clock.svg');
    height: 16px;
    width: 16px;
    position: relative;
    top: 3px;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    display: inline-block;
}

#kondolencje .report-comment-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 12px;
    margin-top: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease;
    border-radius: 3px;
    margin-right: 0;
    display: block !important;
    margin-left: auto !important;
    float: none !important;
    text-align: right;
    opacity: 0.5;
}

#kondolencje .avatar-fire{
    height: 36px;
    width: 36px;
    position: relative;
    top: 0px;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    display: inline-block;
    animation: flicker 1s infinite ease-in-out;
}

#kondolencje .avatar-user{
    height: 24px;
    width: 24px;
    position: relative;
    top: 4px;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    display: inline-block;
}

#kondolencje .kondolencje_flag_icon{
    height: 16px;
    width: 16px;
    position: relative;
    top: 4px;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    display: inline-block;
    margin-right: 0px;
}

#kondolencje .report-comment-btn:hover{
    opacity: 1;
}

@keyframes pulse{
0% {box-shadow: 0 0 0 0 rgb(40 4 0 / 40%);}
70% {box-shadow: 0 0 0 10px rgb(40 4 0 / 0%);}
100% {box-shadow: 0 0 0 0 rgb(40 4 0 / 0%);}
}

#kondolencje .float{
    position: fixed;
    bottom: 120px;
    left: 30px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0px 4px 10px rgb(0 0 0 / 10%);
    z-index: 999;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 500;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    animation: pulse 3s infinite;
}

@media (max-width:599px){
    #kondolencje .float{
        padding:3px;
        width: 50px;
        aspect-ratio: 1/1;
    }
}

#reportModal.report-modal.active{
    opacity: 1;
}
#reportModal.report-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
    align-content: center;
    overflow-y: auto;
}

#reportModal .report-modal-content{
    padding: 20px;
    width: 500px;
    max-width:100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgb(40 4 0 / 30%);
    background: #ffffff;
    font-size: 16px;
    margin: auto;
}

#reportModal .report-modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgb(40 4 0 / 20%);
    padding-bottom: 10px;
}

#reportModal .report-modal-header .title{
    margin: 0;
    font-size: 20px;
}

#reportModal .report-modal-close{
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s ease;
}

#reportModal .report-form label{
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
}

#reportModal button{
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    border-radius: 4px !important;
    border: 1px solid #280400 !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    display: block;
}

#reportModal button span.nekrolog_icon{
    top:3px;
}

#reportModal .report-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgb(40 4 0 / 20%);
    min-height: 100px;
}

#kondolencja_przycisk-zloz-kondolencje .kondolencje_flag_icon{
    top: 1px;
}

@media (min-width:600px){
    #kondolencje .comment_content{
        display: inline-block;
        width: calc(100% - 65px);
        padding-left: 15px;
    }
    #kondolencje .comments_list_wrap ul>li, #kondolencje .comment_item {
        text-align: left;
        display: flex;
    }
}

@media (max-width:599px){
    #kondolencje .comment_author_avatar{
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
    }
    #kondolencje .comment_date{
        float: none;
    }
    #kondolencja_przycisk-zloz-kondolencje .float-text{
        display: none;
    }
}