/* تنسيقات الرسائل في الـ topbar */
.badge-counter {
    position: absolute;
    transform: scale(0.7);
    transform-origin: top right;
    right: -0.5rem;
    margin-top: -0.5rem;
}

.dropdown-list {
    width: 20rem !important;
}

.dropdown-list .dropdown-item {
    white-space: normal;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e3f2fd;
}

.dropdown-list .dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-list-image {
    position: relative;
    height: 2.5rem;
    width: 2.5rem;
}

.dropdown-list-image img {
    height: 2.5rem;
    width: 2.5rem;
}

.status-indicator {
    background-color: #eaecf4;
    height: 0.75rem;
    width: 0.75rem;
    border-radius: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 0.125rem solid #fff;
}

.badge-xs {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
}

.badge-admin {
    background-color: #dc3545;
}

.badge-seller {
    background-color: #28a745;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* تحسينات للـ dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.dropdown-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0.35rem 0.35rem 0 0;
}