/* --- New UI Refined Styles extracted from inline styles --- */

.comment-reply-container {
    padding: 0 20px 10px 40px;
    position: relative;
}

.comment-textarea-new {
    width: 100%;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    resize: none;
    outline: none;
    background-color: transparent;
    margin-bottom: 10px;
}

.comment-reply-write .comment-textarea-new {
    font-size: 13px;
}

.btn-action-new {
    cursor: pointer;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    line-height: normal;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Specific buttons */
.btn-reply-new {
    padding: 6px 16px;
    font-size: 13px;
    background-color: rgb(152, 152, 152);
    color: white !important;
}

.comment-reply-write .btn-reply-new {
    font-size: 12px;
    padding: 6px 14px;
}

/* type R sizes */

.btn-edit-new {
    padding: 6px 16px;
    font-size: 13px;
    background-color: rgb(126, 167, 234);
    color: white !important;
}

.comment-reply-write .btn-edit-new,
.main-container-new>.write-btn-box>.btn-edit-new {
    font-size: 12px;
    padding: 6px 14px;
}

.btn-delete-new {
    padding: 6px 16px;
    font-size: 13px;
    background-color: rgb(243, 130, 130);
    color: white !important;
}

.comment-reply-write .btn-delete-new,
.main-container-new>.write-btn-box>.btn-delete-new {
    font-size: 12px;
    padding: 6px 14px;
}

.btn-save-new {
    padding: 6px 16px;
    font-size: 13px;
    background-color: #3b82f6;
    color: white !important;
    font-weight: 500;
    display: none;
}

.comment-reply-write .btn-save-new,
.main-container-new>.write-btn-box>.btn-save-new {
    font-size: 12px;
    padding: 6px 14px;
}

.btn-register-new {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px;
    color: #fff !important;
    background-color: #3b82f6;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 500;
    border: none;
    height: auto;
    line-height: normal;
}

.comment-reply-write .btn-register-new {
    padding: 6px 16px;
    font-size: 12px;
    background-color: #64748b;
}

.btn-login-new {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px;
    color: #fff !important;
    background-color: #94a3b8;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    height: auto;
    line-height: normal;
}

.comment-reply-write .btn-login-new {
    padding: 6px 16px;
    font-size: 12px;
}

.comment-like-btn-new {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    margin-right: auto;
}

.comment-profile-new {
    position: relative;
    width: 44px;
    height: 44px;
    object-fit: cover;
}

.comment-reply-write .comment-profile-new,
.comment-container-new[data-type="R"] .comment-profile-new {
    width: 38px;
    height: 38px;
}

.comment-report-btn-new {
    position: absolute;
    top: 38px;
    right: 15px;
    font-size: 11px;
}

.comment-action-link {
    text-decoration: none;
}

.comment-content-pre-new {
    font-family: inherit;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
}

.comment-content-pre-blind {
    opacity: 0.6;
    padding: 10px;
    background-color: rgba(128, 128, 128, 0.05);
    border-radius: 8px;
}

.comment-lists .border-top-dashed:first-child {
    border-top: none !important;
}