/* Shared comment presentation for EOI, application, amendment and publication workflows. */
.reply-comment-container,
.added-comment-container {
    border: 1px solid #ced4da !important;
    border-left: 4px solid #58736f !important;
    border-radius: 0 !important;
    box-shadow: none;
    position: relative;
}

.reply-comment-container .comment-content,
.added-comment-container .comment-content {
    min-height: 3.25rem;
    padding-left: 3.5rem;
    position: relative;
}

.reply-comment-container .comment-content::before,
.added-comment-container .comment-content::before {
    align-items: center;
    background: #edf1f0;
    border: 1px solid #b8c4c1;
    color: #435f5a;
    content: "\f075";
    display: inline-flex;
    font-family: "Font Awesome 6 Free";
    font-size: 1rem;
    font-weight: 900;
    height: 2rem;
    justify-content: center;
    left: 0.85rem;
    position: absolute;
    top: 0.85rem;
    width: 2rem;
}

.new-comment-container > .comment-btn,
.addcommentform button,
.editcommentform button,
.comment-form button[type="submit"],
.reply-form button[type="submit"],
.edit-form button[type="submit"],
.submit-comment {
    background: #111 !important;
    border: 1px solid #111 !important;
    border-radius: 0 !important;
    color: #fff !important;
    min-width: 0;
    width: fit-content;
}

.new-comment-container > .comment-btn:hover,
.new-comment-container > .comment-btn:focus,
.addcommentform button:hover,
.addcommentform button:focus,
.editcommentform button:hover,
.editcommentform button:focus,
.comment-form button[type="submit"]:hover,
.comment-form button[type="submit"]:focus,
.reply-form button[type="submit"]:hover,
.reply-form button[type="submit"]:focus,
.edit-form button[type="submit"]:hover,
.edit-form button[type="submit"]:focus,
.submit-comment:hover,
.submit-comment:focus {
    background: #35423f !important;
    border-color: #35423f !important;
}

.edit-btn,
.reply-btn {
    background: #fff !important;
    border: 1px solid #58736f !important;
    border-radius: 0 !important;
    color: #2f4c48 !important;
}

.edit-btn:hover,
.edit-btn:focus,
.reply-btn:hover,
.reply-btn:focus {
    background: #58736f !important;
    color: #fff !important;
}

.delete-comment-btn {
    background: #fff !important;
    border: 1px solid #b02a37 !important;
    border-radius: 0 !important;
    color: #9c2531 !important;
}

.delete-comment-btn:hover,
.delete-comment-btn:focus {
    background: #b02a37 !important;
    color: #fff !important;
}

.comment-cancel-btn {
    background: #fff !important;
    border: 1px solid #6c757d !important;
    border-radius: 0 !important;
    color: #343a40 !important;
}

.comment-cancel-btn:hover,
.comment-cancel-btn:focus {
    background: #6c757d !important;
    color: #fff !important;
}

.submit-comment::before,
.addcommentform button::before,
.editcommentform button::before,
.comment-form button[type="submit"]::before,
.reply-form button[type="submit"]::before,
.edit-form button[type="submit"]::before,
.edit-btn::before,
.delete-comment-btn::before,
.reply-btn::before,
.comment-cancel-btn::before {
    display: inline-block;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.4rem;
}

.submit-comment::before,
.addcommentform button::before,
.editcommentform button::before,
.comment-form button[type="submit"]::before,
.reply-form button[type="submit"]::before,
.edit-form button[type="submit"]::before { content: "\f1d8"; }
.edit-btn::before { content: "\f303"; }
.delete-comment-btn::before { content: "\f2ed"; }
.reply-btn::before { content: "\f3e5"; }
.comment-cancel-btn::before { content: "\f00d"; }

.button-holder .btn {
    align-items: center;
    display: inline-flex;
}

/* Add-comment actions use a light treatment across every workflow. */
.new-comment-container > .comment-btn.add-comment-button,
.addcommentform button.add-comment-button,
.submit-comment.add-comment-button,
.new-comment-container > .comment-btn.add-comment-button:hover,
.new-comment-container > .comment-btn.add-comment-button:focus,
.addcommentform button.add-comment-button:hover,
.addcommentform button.add-comment-button:focus,
.submit-comment.add-comment-button:hover,
.submit-comment.add-comment-button:focus {
    background: #fff !important;
    border-color: #111 !important;
    color: #111 !important;
}

@media (max-width: 575.98px) {
    .reply-comment-container .comment-content,
    .added-comment-container .comment-content {
        padding-left: 3.25rem;
    }
}
