/* تحديث واجهة البحث والنشر - fail.tkout.shop */

/* تحسين شريط البحث العلوي */
.top-search-box {
    background: #ffffff !important;
    padding: 20px !important;
    border-radius: 12px;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    gap: 10px;
    align-items: center;
}

.top-search-box .q {
    flex: 2; /* يأخذ مساحة أكبر */
    padding: 10px 15px !important;
    border: 2px solid #f1f5f9 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: border-color 0.3s;
}

.top-search-box .q:focus {
    border-color: #2563eb !important;
    outline: none;
}

/* نموذج المنشورات الجديد (New Post Form) */
#new-post-nav {
    background: #f8fafc;
    border-radius: 10px 10px 0 0;
    padding: 10px !important;
    height: auto !important;
    display: flex;
    border: 1px solid #e2e8f0;
}

#new-post-nav a {
    opacity: 0.6;
    font-size: 13px !important;
    padding: 8px 15px 8px 35px !important; /* مساحة للأيقونة */
    transition: all 0.3s;
}

#new-post-nav a.selected {
    opacity: 1;
    color: #2563eb !important;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* نتائج البحث (Search Results Cards) */
.search-result-list .node {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 12px !important;
    margin-bottom: 15px !important;
    padding: 20px !important;
    display: flex;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-result-list .node:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #e2e8f0 !important;
}

/* صورة نتيجة البحث */
.search-result-list .thumbIcon {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important; /* صور دائرية عصرية */
    object-fit: cover;
}

/* زر الإجراء (Action Button) */
.red-btn {
    background-color: #2563eb !important; /* تحويل الأحمر للأزرق البراند */
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: background 0.3s;
}

.red-btn:hover {
    background-color: #1d4ed8 !important;
}

/* قائمة التصنيفات الجانبية (Trade List) */
.left-trade-cat-list {
    border: none !important;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
}

.left-trade-cat-list li {
    border-radius: 8px;
    margin-bottom: 2px;
}

.left-trade-cat-list li a {
    padding: 10px 15px !important;
    font-size: 14px;
    color: #475569 !important;
}

.left-trade-cat-list li:hover {
    background: #eff6ff !important;
}

.left-trade-cat-list li:hover a {
    color: #2563eb !important;
}