/* التصميم الجديد لشارة الوكيل في البطاقة الأولى - مثل الصورة */
.agent-badge-premium {
    background: linear-gradient(135deg, #6c757d 0%, #8e8e8e 100%) !important;
    color: white !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
    margin-right: 5px !important;
    font-family: 'Cairo', sans-serif !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 20px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    max-width: fit-content !important;
}

/* تنسيق الحاوي الجديد للناشر والتقييم - مشترك لجميع الصفحات */
.owner-rating-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

/* تنسيق معلومات الناشر - مشترك لجميع الصفحات */
.owner-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 5px;
    border-radius: 8px;
}

.owner-info:hover {
    background: rgba(0, 123, 255, 0.05);
}

.owner-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.owner-details {
    flex: 1;
}

.owner-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.4;
}

/* حاوي النجوم البسيط - من اليسار لليمين */
.rating-stars-container {
    display: flex;
    gap: 3px;
    align-items: center;
    direction: ltr;
}

/* النجوم البسيطة والواضحة */
.rating-star-elegant {
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    line-height: 1;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rating-star-elegant.filled {
    color: #FFB800;
}

.rating-star-elegant.half {
    background: linear-gradient(90deg, #FFB800 50%, #E5E7EB 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-star-elegant.empty {
    color: #E5E7EB;
}

.rating-star-elegant:hover {
    transform: scale(1.15);
    filter: brightness(1.1);
}

/* قيمة التقييم الرقمية البسيطة */
.rating-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    margin-right: 4px;
    direction: ltr;
}

/* تحديث تنسيق معلومات الناشر */
.popup-owner {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.property-rating-elegant {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    direction: ltr;
}

.agent-badge-premium::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    pointer-events: none !important;
}

.agent-badge-premium .check-icon {
    background: #4CAF50 !important;
    color: white !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.6rem !important;
    font-weight: bold !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    position: relative !important;
    z-index: 2 !important;
    flex-shrink: 0 !important;
}
