/**
 * تنسيق صندوق التعليقات
 */

/* تنسيق أزرار التعليقات */
.comment-actions a {
    font-size: 13px;
}

/* تنسيق زر الرد */

.comment-reply-link:hover {
    color: #ffffff !important;
}

/* تنسيق زر الحذف */
.comment-delete-link {
    color: #ffffff !important;
}

.comment-delete-link:hover {
    color: #ffffff !important;
}

.emoji {
    color: #fff;
}
/* تنسيق رسائل النظام */
.comments-message {
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 14px;
    text-align: right;
}

.comments-message-success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.comments-message-error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.comments-message-info {
    background-color: #d9edf7;
    color: #31708f;
    border: 1px solid #bce8f1;
}

/* تحسين مظهر التعليقات */
.comment-card {
    margin-bottom: 20px;
    list-style: none;
}

.comment-body {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comment-avatar {
    margin-left: 15px;
}

.comment-avatar img {
    border-radius: 50%;
}

.comment-main {
    flex: 1;
}

.comment-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
    justify-content: space-between;
}

.comment-avatar-inline {
    display: flex;
    align-items: center;
}

.comment-author-name {
    font-weight: bold;
    color: #333;
    margin-top: 5px;
    margin-right: -15px;
    margin-left: 5px;
}

.verification-badge {
    display: inline-block;
    background-color: #1DA1F2;
    color: white;
    font-size: 8px;
    width: 16px;
    height: 16px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    margin-left: 2px;
    margin-right: 2px;
}

.comment-badge {
    display: inline-block;
    background-color: #0073aa;
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 3px;
    margin-right: 5px;
}

.comment-date {
    color: #888;
    font-size: 12px;
    margin-right: 10px;
}

.comment-content {
    margin-bottom: 10px;
    line-height: 1.6;
}

.comment-awaiting-moderation {
    color: #e67e22;
    font-style: italic;
    margin-bottom: 10px;
    display: block;
}

/* تنسيق نموذج التعليق */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 14px;
}

.comment-form textarea {
    height: 120px;
}

.comment-form .button-primary {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.comment-form .button-primary:hover {
    background-color: #005f8b;
}

/* تنسيق الردود */
.children {
    margin-right: 30px;
    margin-top: 20px;
}

.children .comment-body {
    background-color: #f5f5f5;
}

/* تنسيق التنقل بين التعليقات */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.comment-navigation a {
    color: #0073aa;
    text-decoration: none;
}

.comment-navigation a:hover {
    text-decoration: underline;
}

/* تنسيق رسالة التعليقات مغلقة */
.no-comments {
    background-color: #f8f8f8;
    padding: 10px 15px;
    border-radius: 4px;
    color: #666;
    text-align: center;
    margin: 20px 0;
}