.modal#statusSuccessModal .modal-content,
.modal#statusErrorsModal .modal-content {
    border-radius: 30px;
}

.modal#statusSuccessModal .modal-content svg,
.modal#statusErrorsModal .modal-content svg {
    width: 100px;
    display: block;
    margin: 0 auto;
}

.modal#statusSuccessModal .modal-content .path,
.modal#statusErrorsModal .modal-content .path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
}

.modal#statusSuccessModal .modal-content .path.circle,
.modal#statusErrorsModal .modal-content .path.circle {
    -webkit-animation: dash 0.9s ease-in-out;
    animation: dash 0.9s ease-in-out;
}

.modal#statusSuccessModal .modal-content .path.line,
.modal#statusErrorsModal .modal-content .path.line {
    stroke-dashoffset: 1000;
    -webkit-animation: dash 0.95s 0.35s ease-in-out forwards;
    animation: dash 0.95s 0.35s ease-in-out forwards;
}

.modal#statusSuccessModal .modal-content .path.check,
.modal#statusErrorsModal .modal-content .path.check {
    stroke-dashoffset: -100;
    -webkit-animation: dash-check 0.95s 0.35s ease-in-out forwards;
    animation: dash-check 0.95s 0.35s ease-in-out forwards;
}

body.ajax-loading {
    overflow: hidden;

    /* Prevent scrolling while loading */
}

#statusSuccessModal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0);
    /* Red with 50% opacity */
}

body.ajax-loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent overlay */
}

.modal-open {
    overflow: hidden;
}


@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes dash-check {
    0% {
        stroke-dashoffset: -100;
    }

    100% {
        stroke-dashoffset: 900;
    }
}

@keyframes dash-check {
    0% {
        stroke-dashoffset: -100;
    }

    100% {
        stroke-dashoffset: 900;
    }
}

.comment_likeText {
    cursor: pointer;
}

#textarea_create_post {
    border: none !important;
}

#textarea_create_post:focus {
    outline: none !important;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

/*comments modal*/
#commentsModal .emojionearea-editor {
    height: 4em;
    min-height: inherit;
    max-height: inherit;
}



/* Textarea and button styles */
#commentsModal textarea {
    width: calc(100% - 20px);
    /* Adjust padding */
    height: 80px;
    /* Adjust as needed */
    margin-bottom: 10px;
    resize: none;
    /* Prevent textarea resizing */
}


.modal-dialog-scrollable {
    max-height: 80vh;
    /* Set to 80% of the viewport height */
}

.comment-container .author-info {
    width: 100%;
}

.comment-container .container-action {

    width: 100%;
}

.comment-container .author-text {
    padding: 12px;
    background-color: rgb(218, 218, 229);
    border-radius: 0.5em;
    width: 100%;
}


/* Empty comment container styles */
.empty-comments {
    display: none;
    flex-direction: column;
    gap: 10px;
}

/* Empty comment styles */
.container-empty-comment {
    width: 80%;
    margin: 12px auto;
}

.empty-profile {
    width: 40px;
    height: 40px;
    background-color: rgb(218, 218, 229);
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    animation: loadingAnimation .2s infinite alternate;
}

.empty-comment {
    padding: 12px;
    height: 50px;
    background-color: rgb(218, 218, 229);
    border-radius: 0.5em;
    width: 100%;

    /* Light background color */
    animation: loadingAnimation .2s infinite alternate;
    /* Add animation */
}

/* Keyframes for loading animation */
@keyframes loadingAnimation {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}


/*comments modal*/