/* تطوير قائمة المواضيع - fail.tkout.shop */

.postlist {
    border-collapse: separate; /* لتسمح بحواف دائرية */
    border-spacing: 0 10px; /* إضافة مسافة بين السطور لتبدو كبطاقات */
    border-top: none;
    margin-left: 0;
    width: 100%;
}

.postlist td {
    padding: 15px 10px;
    background: #FFFFFF !important;
    font-size: 13px; /* تكبير الخط قليلاً للوضوح */
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

/* جعل الزوايا دائرية لكل سطر (بطاقة) */
.postlist tr td:first-child { border-left: 1px solid #f1f5f9; border-radius: 12px 0 0 12px; }
.postlist tr td:last-child { border-right: 1px solid #f1f5f9; border-radius: 0 12px 12px 0; }

.postlist tbody tr:hover td {
    background: #f8fafc !important; /* تغيير اللون عند التمرير */
    border-color: #cbd5e1;
}

/* تحديث أزرار التصويت (Votes) */
.postlist .post-votes a.thumb-up {
    font-family: 'OpenSans-Bold', sans-serif;
    font-size: 14px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: #f1f5f9; /* لون محايد */
    color: #64748b;
    border-radius: 8px;
    transition: all 0.2s;
}

/* عند التصويت أو الحوم بالماوس */
.postlist .votedStatus1 a.thumb-up,
.postlist .post-votes a.thumb-up:hover {
    background: #10b981 !important; /* أخضر نيون جذاب */
    color: #ffffff !important;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* عنوان الموضوع */
.postlist .post-title {
    font-size: 16px !important;
    color: #1e293b;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.postlist .post-title:hover {
    color: #2563eb;
}

/* تصنيف الموضوع (Category) */
.postlist .category-name {
    color: #2563eb !important;
    font-weight: 600;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

/* صورة كاتب الموضوع */
.postlist .icon-column img {
    border-radius: 50%; /* صورة دائرية */
    border: 2px solid #f1f5f9;
}