/* تحسينات عامة */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* تنسيق البطاقات */
.card {
    border-radius: 12px;
    overflow: hidden;
}

.card-header {
    font-weight: bold;
}

/* تنسيق الأزرار */
.btn {
    border-radius: 8px;
    font-weight: 500;
}

/* تنسيق الصور */
.img-fluid {
    border-radius: 8px;
}

/* تنسيق التقييمات */
.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
}

/* تنسيق الرسائل */
.message-sent {
    background-color: #007bff;
    color: white;
    border-radius: 12px 12px 0 12px;
    padding: 10px 15px;
    max-width: 75%;
}

.message-received {
    background-color: #e9ecef;
    color: #212529;
    border-radius: 12px 12px 12px 0;
    padding: 10px 15px;
    max-width: 75%;
}

/* تنسيق شارة الإشعارات */
#unreadBadge {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50%;
    margin-right: 5px;
}

/* تأثير التمرير على البطاقات */
.hover-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

    .hover-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
    }

/* تنسيق الفوتر */
.footer {
    margin-top: 50px;
    padding: 20px 0;
    background-color: white;
}

/* تنسيق شريط البحث */
.search-bar {
    background-color: white;
    border-radius: 8px;
    padding: 5px;
}

/* تنسيق الجداول */
.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* تنسيق الأيقونات */
.bi {
    margin-left: 5px;
}

/* تنسيق التنبيهات */
.alert {
    border-radius: 8px;
}

/* تنسيق الصور الشخصية */
.profile-picture {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #007bff;
}
