/* ============================================
   Professional Rating System - Style v7.0
   تصميم نظيف واحترافي
   ============================================ */

:root {
    --prs-primary: #2563eb;
    --prs-primary-dark: #1d4ed8;
    --prs-primary-light: #dbeafe;
    --prs-success: #10b981;
    --prs-danger: #ef4444;
    --prs-warning: #f59e0b;
    --prs-dark: #1e293b;
    --prs-gray: #64748b;
    --prs-light: #f8fafc;
    --prs-border: #e2e8f0;
    --prs-radius: 16px;
    --prs-radius-sm: 8px;
    --prs-radius-md: 12px;
    --prs-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --prs-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.prs-container,
.prs-profile-container,
.prs-add-number-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Cairo', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--prs-dark);
    direction: rtl;
}

/* ============================================
   الحاوية الرئيسية
   ============================================ */
.prs-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* ============================================
   Hero Section
   ============================================ */
.prs-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 50px 30px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: var(--prs-radius);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--prs-shadow-lg);
}

.prs-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

.prs-hero-content {
    position: relative;
    z-index: 1;
}

.prs-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.prs-hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   إحصائيات البانر
   ============================================ */
.prs-stats-banner {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.prs-stats-banner .stat {
    text-align: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.prs-stats-banner .stat:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.2);
}

.prs-stats-banner .stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
}

.prs-stats-banner .stat-label {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* ============================================
   شريط البحث
   ============================================ */
.prs-search-wrapper {
    margin-bottom: 40px;
    position: relative;
}

.prs-search-box {
    display: flex;
    gap: 10px;
    background: white;
    border-radius: 60px;
    box-shadow: var(--prs-shadow-lg);
    padding: 5px;
    transition: all 0.3s ease;
    border: 1px solid var(--prs-border);
}

.prs-search-box:focus-within {
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2), var(--prs-shadow-lg);
    border-color: var(--prs-primary);
}

.prs-search-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 60px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.prs-search-input::placeholder {
    color: var(--prs-gray-light);
}

.prs-search-btn {
    background: var(--prs-primary);
    color: white;
    border: none;
    padding: 0 35px;
    border-radius: 60px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prs-search-btn:hover {
    background: var(--prs-primary-dark);
    transform: scale(1.02);
}

/* ============================================
   شبكة الكروت
   ============================================ */
.prs-sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.prs-card {
    background: white;
    border-radius: var(--prs-radius-md);
    box-shadow: var(--prs-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--prs-border);
}

.prs-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--prs-shadow-lg);
    border-color: var(--prs-primary-light);
}

.prs-card-header {
    padding: 16px 20px;
    background: var(--prs-light);
    border-bottom: 1px solid var(--prs-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.prs-card-icon {
    font-size: 24px;
}

.prs-card-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.prs-card-body {
    padding: 16px 20px;
}

/* ============================================
   القوائم
   ============================================ */
.prs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.prs-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--prs-border);
}

.prs-list li:last-child {
    border-bottom: none;
}

.prs-item-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--prs-dark);
    transition: all 0.2s ease;
}

.prs-item-link:hover {
    color: var(--prs-primary);
}

.prs-item-name {
    font-weight: 500;
    font-size: 14px;
}

.prs-item-badge,
.prs-item-rating,
.prs-item-warning,
.prs-item-time {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 30px;
    font-weight: 500;
}

.prs-item-badge {
    background: var(--prs-primary-light);
    color: var(--prs-primary);
}

.prs-item-rating {
    background: #fef3c7;
    color: #d97706;
}

.prs-item-warning {
    background: #fee2e2;
    color: var(--prs-danger);
}

.prs-item-time {
    background: var(--prs-border);
    color: var(--prs-gray);
}

/* ============================================
   أزرار سريعة محسنة
   ============================================ */
.prs-quick-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.quick-action {
    background: white;
    border: 1px solid var(--prs-border);
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--prs-dark);
    box-shadow: var(--prs-shadow);
}

.quick-action:hover {
    background: var(--prs-primary);
    color: white;
    border-color: var(--prs-primary);
    transform: translateY(-2px);
}

.favorite-btn.active {
    background: #fee2e2;
    border-color: #ef4444;
    color: #ef4444;
}

.favorite-btn.active:hover {
    background: #ef4444;
    color: white;
}

/* ============================================
   صفحة الملف الشخصي
   ============================================ */
.prs-profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* طبقة التأثير النفسي */
.prs-psych-layer {
    margin-bottom: 30px;
}

.prs-warning-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fef3c7;
    border-right: 4px solid var(--prs-warning);
    padding: 16px 24px;
    border-radius: var(--prs-radius-sm);
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: var(--prs-shadow);
}

.alert-icon {
    font-size: 24px;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    color: #92400e;
}

.alert-content p {
    margin: 0;
    font-size: 13px;
    color: #b45309;
}

.alert-btn {
    background: var(--prs-warning);
    color: #78350f;
    padding: 8px 22px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 14px;
}

.alert-btn:hover {
    background: #d97706;
    color: white;
    transform: translateX(-4px);
}

/* رأس الملف الشخصي */
.prs-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--prs-border);
}

.prs-profile-name h1 {
    margin: 0 0 8px 0;
    font-size: 26px;
}

.prs-profile-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-badge {
    background: var(--prs-light);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    color: var(--prs-gray);
    border: 1px solid var(--prs-border);
}

.prs-profile-rating {
    text-align: center;
}

.rating-stars {
    font-size: 24px;
    letter-spacing: 2px;
    color: #f59e0b;
}

.rating-value {
    font-size: 20px;
    font-weight: bold;
    margin-top: 4px;
}

.rating-count {
    font-size: 12px;
    color: var(--prs-gray);
}

/* مؤشر المخاطرة */
.prs-risk-section {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-radius: var(--prs-radius-md);
    margin-bottom: 30px;
    box-shadow: var(--prs-shadow);
}

.prs-risk-section.risk-low {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.prs-risk-section.risk-medium {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.prs-risk-section.risk-high {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.risk-icon {
    font-size: 42px;
}

.risk-info {
    flex: 1;
}

.risk-title {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}

.risk-desc {
    font-size: 13px;
    opacity: 0.8;
}

/* شبكة الإحصائيات */
.prs-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--prs-light);
    padding: 18px;
    border-radius: var(--prs-radius-md);
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid var(--prs-border);
    box-shadow: var(--prs-shadow);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--prs-shadow-lg);
}

.stat-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 22px;
    font-weight: bold;
    display: block;
    color: var(--prs-primary);
}

.stat-label {
    font-size: 11px;
    color: var(--prs-gray);
    margin-top: 4px;
}

/* ============================================
   سمعة التعامل - تقييم سريع
   ============================================ */
.prs-reputation-section {
    margin-bottom: 30px;
}

.reputation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.reputation-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.prs-big-review-btn {
    background: linear-gradient(135deg, var(--prs-primary), var(--prs-primary-dark));
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--prs-shadow);
}

.prs-big-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--prs-shadow-lg);
}

.quick-rating-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.rep-badge {
    background: white;
    border: 1px solid var(--prs-border);
    border-radius: var(--prs-radius-md);
    padding: 12px;
    min-width: 140px;
    transition: all 0.2s ease;
    box-shadow: var(--prs-shadow);
}

.rep-badge.active {
    border-color: var(--prs-primary);
    background: var(--prs-primary-light);
}

.rep-main {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--prs-border);
}

.rep-icon {
    font-size: 18px;
}

.rep-label {
    flex: 1;
    font-weight: 600;
    font-size: 13px;
}

.rep-count {
    background: var(--prs-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 30px;
    font-size: 11px;
    min-width: 26px;
    text-align: center;
}

.rep-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.rep-btn {
    flex: 1;
    padding: 5px 10px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.rep-btn.positive {
    background: #10b981;
    color: white;
}

.rep-btn.positive:hover {
    background: #059669;
    transform: translateY(-1px);
}

.rep-btn.negative {
    background: #ef4444;
    color: white;
}

.rep-btn.negative:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* ============================================
   سجل التجارب
   ============================================ */
.prs-experiences-section {
    margin-bottom: 30px;
}

.prs-experiences-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.timeline-item {
    display: flex;
    gap: 15px;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--prs-light);
    border-radius: var(--prs-radius-md);
    transition: all 0.2s ease;
    border: 1px solid var(--prs-border);
    box-shadow: var(--prs-shadow);
}

.timeline-item:hover {
    transform: translateX(-4px);
    box-shadow: var(--prs-shadow-lg);
}

.timeline-item.positive {
    border-right: 4px solid var(--prs-success);
}

.timeline-item.negative {
    border-right: 4px solid var(--prs-danger);
}

.timeline-icon {
    font-size: 24px;
}

.timeline-content {
    flex: 1;
}

.experience-text {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.experience-meta {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: var(--prs-gray);
}

.experience-type {
    background: white;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid var(--prs-border);
}

/* ============================================
   البلاغات والأسماء المرتبطة
   ============================================ */
.prs-reports-section {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--prs-radius-md);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--prs-shadow);
}

.prs-reports-section h3 {
    margin: 0 0 12px 0;
    color: #991b1b;
    font-size: 16px;
}

.reports-list {
    margin: 0;
    padding-right: 20px;
}

.reports-list li {
    margin-bottom: 6px;
    color: #b91c1c;
    font-size: 13px;
}

.prs-aliases-section {
    background: var(--prs-light);
    border-radius: var(--prs-radius-md);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--prs-border);
    box-shadow: var(--prs-shadow);
}

.prs-aliases-section h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
}

.aliases-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.alias-tag {
    background: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    border: 1px solid var(--prs-border);
    box-shadow: var(--prs-shadow);
}

.prs-add-alias-btn {
    background: transparent;
    border: 1px dashed var(--prs-primary);
    color: var(--prs-primary);
    padding: 5px 12px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.prs-add-alias-btn:hover {
    background: var(--prs-primary);
    color: white;
}

/* ============================================
   مجموعات واتساب
   ============================================ */
.prs-groups-section {
    background: #f0f9ff;
    border-radius: var(--prs-radius-md);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #bae6fd;
    box-shadow: var(--prs-shadow);
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin: 15px 0;
}

.group-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 15px;
    border-radius: var(--prs-radius-sm);
    border: 1px solid var(--prs-border);
    box-shadow: var(--prs-shadow);
    transition: all 0.2s ease;
}

.group-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--prs-shadow-lg);
}

.group-icon {
    font-size: 26px;
}

.group-info {
    flex: 1;
}

.group-info strong {
    display: block;
    font-size: 13px;
}

.group-info small {
    font-size: 10px;
    color: var(--prs-gray);
}

.groups-hint {
    font-size: 11px;
    color: var(--prs-gray);
    margin-top: 10px;
}

.suggest-group-btn {
    background: transparent;
    border: none;
    color: var(--prs-primary);
    cursor: pointer;
    text-decoration: underline;
    font-size: 12px;
}

/* ============================================
   أزرار التفاعل العائمة
   ============================================ */
.prs-floating-actions {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    padding: 10px 20px;
    border-radius: 60px;
    box-shadow: var(--prs-shadow-lg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--prs-border);
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 13px;
}

.float-btn.call-btn {
    background: var(--prs-primary);
    color: white;
}

.float-btn.whatsapp-btn {
    background: #25D366;
    color: white;
}

.float-btn.share-btn {
    background: var(--prs-secondary);
    color: white;
}

.float-btn.ask-btn {
    background: var(--prs-info);
    color: white;
}

.float-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--prs-shadow-lg);
}

.btn-icon {
    font-size: 16px;
}

/* ============================================
   المودالات (النوافذ المنبثقة)
   ============================================ */
.prs-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.prs-modal.active {
    display: flex;
}

.prs-modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prs-modal-close {
    position: absolute;
    top: 16px;
    left: 20px;
    right: auto;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #64748b;
    transition: all 0.2s;
    z-index: 10;
}

.prs-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

/* رأس المودال */
.prs-modal-header {
    padding: 24px 28px 16px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.prs-modal-header h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
}

.prs-modal-header p {
    color: #64748b;
    margin: 0;
    font-size: 13px;
}

/* جسم المودال */
.prs-modal-body {
    padding: 24px 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
}

.required {
    color: #ef4444;
}

.optional {
    font-weight: normal;
    color: #94a3b8;
    font-size: 12px;
}

/* أزرار اختيار إيجابي/سلبي */
.rating-type-buttons {
    display: flex;
    gap: 16px;
}

.rating-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    text-align: center;
}

.rating-option input {
    display: none;
}

.rating-option .rating-emoji {
    font-size: 32px;
}

.rating-option .rating-text {
    font-weight: 600;
    font-size: 15px;
    color: #334155;
}

.rating-option .rating-desc {
    font-size: 11px;
    color: #94a3b8;
}

.rating-option.positive:hover,
.rating-option.positive:has(input:checked) {
    border-color: #10b981;
    background: #ecfdf5;
}

.rating-option.negative:hover,
.rating-option.negative:has(input:checked) {
    border-color: #ef4444;
    background: #fef2f2;
}

/* حقل الاختيار */
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--prs-primary);
}

/* حقل النص */
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--prs-primary);
}

.form-hint {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 6px;
}

/* أزرار المودال */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.prs-btn-primary {
    flex: 2;
    background: var(--prs-primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.prs-btn-primary:hover {
    background: var(--prs-primary-dark);
    transform: translateY(-2px);
}

.prs-btn-outline {
    flex: 1;
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.prs-btn-outline:hover {
    background: #e2e8f0;
}

/* ذيل المودال */
.prs-modal-footer {
    padding: 16px 28px 24px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    background: #f8fafc;
    border-radius: 0 0 24px 24px;
}

.prs-modal-footer p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

.prs-modal-footer strong {
    color: #f59e0b;
}

/* ============================================
   نتائج البحث
   ============================================ */
.prs-results-container {
    padding: 20px;
}

.prs-results-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.prs-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    max-height: 500px;
    overflow-y: auto;
}

.prs-result-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s;
}

.prs-result-card:hover {
    box-shadow: var(--prs-shadow-lg);
    transform: translateY(-2px);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.result-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.result-rating {
    color: #f59e0b;
    font-size: 13px;
}

.result-details {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    flex-wrap: wrap;
}

.result-specialty {
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 20px;
    color: #64748b;
}

.result-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 11px;
    color: #94a3b8;
}

.result-actions {
    display: flex;
    gap: 8px;
}

.result-actions a {
    padding: 6px 14px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.btn-view {
    background: #f1f5f9;
    color: #1e293b;
}

.btn-call {
    background: var(--prs-primary);
    color: white;
}

.btn-wa {
    background: #25D366;
    color: white;
}

.prs-no-results {
    text-align: center;
    padding: 50px;
    background: #f8fafc;
    border-radius: 16px;
}

.prs-no-results .no-results-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.prs-add-number-btn {
    background: var(--prs-primary);
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.prs-add-number-btn:hover {
    background: var(--prs-primary-dark);
    transform: scale(1.02);
}

/* ============================================
   إحصائيات المستخدم (تابع)
   ============================================ */
.next-level {
    min-width: 180px;
}

.next-level span {
    font-size: 11px;
    display: block;
    margin-bottom: 4px;
}

.level-progress {
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
    height: 5px;
    overflow: hidden;
}

.level-progress div {
    background: #fbbf24;
    height: 100%;
    border-radius: 10px;
}

.join-us-btn, .join-now-btn {
    background: #fbbf24;
    color: #1e293b;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 13px;
}

.join-us-btn:hover, .join-now-btn:hover {
    transform: scale(1.02);
    background: #fcd34d;
}

/* ============================================
   Toast الإشعارات
   ============================================ */
.prs-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    z-index: 10002;
    display: none;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: var(--prs-shadow-lg);
}

.prs-toast-success {
    background: #10b981;
}

.prs-toast-error {
    background: #ef4444;
}

.prs-toast-warning {
    background: #f59e0b;
    color: #1e293b;
}

.prs-toast-info {
    background: #06b6d4;
}

/* ============================================
   حالة فارغة
   ============================================ */
.prs-empty,
.no-data {
    text-align: center;
    padding: 40px;
    color: var(--prs-gray);
    font-size: 14px;
}

.prs-empty .empty-icon,
.no-data .empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.prs-empty .empty-hint,
.no-data .empty-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 10px;
}

/* ============================================
   ثلاثية الأعمدة (لصفحة البروفايل)
   ============================================ */
.prs-three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.prs-info-card {
    background: white;
    border-radius: var(--prs-radius-md);
    border: 1px solid var(--prs-border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.prs-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--prs-shadow-lg);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--prs-border);
}

.info-card-icon {
    font-size: 24px;
    color: var(--prs-primary);
}

.info-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    flex: 1;
}

.expand-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: transform 0.2s;
    color: var(--prs-gray);
}

.expand-btn:hover {
    transform: scale(1.1);
    color: var(--prs-primary);
}

.info-card-body {
    padding: 15px 20px;
    max-height: 280px;
    overflow-y: auto;
}

/* قوائم المتصلين والمشابهين */
.recent-contacts-list,
.similar-numbers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-contacts-list li,
.similar-numbers-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recent-contacts-list li:last-child,
.similar-numbers-list li:last-child {
    border-bottom: none;
}

.similar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    flex: 1;
}

.similar-name {
    font-weight: 500;
    color: #333;
    font-size: 13px;
}

.similar-specialty {
    font-size: 11px;
    color: #999;
}

.similar-rating {
    color: #f59e0b;
    font-size: 12px;
}

.contact-ip,
.contact-time {
    font-size: 12px;
    color: #666;
}

/* التخصصات */
.specialties-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.specialty-tag {
    background: #f1f5f9;
    border: none;
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    color: var(--prs-dark);
}

.specialty-tag:hover {
    background: var(--prs-primary);
    color: white;
}

.specialty-tag.more {
    background: var(--prs-primary);
    color: white;
}

/* ============================================
   مساحة المستخدم الشخصية
   ============================================ */
.prs-personal-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--prs-radius-md);
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid var(--prs-border);
}

.personal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: rgba(37, 99, 235, 0.05);
    border-bottom: 1px solid var(--prs-border);
}

.personal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--prs-dark);
}

.personal-badge {
    background: var(--prs-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: bold;
}

.personal-tabs {
    display: flex;
    gap: 5px;
    padding: 15px 25px 0 25px;
    border-bottom: 1px solid var(--prs-border);
}

.personal-tab {
    background: transparent;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-radius: 30px 30px 0 0;
    transition: all 0.2s;
}

.personal-tab.active {
    background: white;
    color: var(--prs-primary);
    font-weight: bold;
}

.personal-content {
    display: none;
    padding: 20px 25px;
    background: white;
}

.personal-content.active {
    display: block;
}

/* مكالمات المستخدم */
.user-calls-list,
.user-notes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-call-item {
    background: #f8fafc;
    border-radius: var(--prs-radius-sm);
    padding: 12px 15px;
    border-right: 3px solid #ccc;
}

.user-call-item.answered {
    border-right-color: #10b981;
}

.user-call-item.not_answered {
    border-right-color: #ef4444;
}

.user-call-item.annoying {
    border-right-color: #f59e0b;
}

.user-call-item .call-date {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 5px;
}

.user-call-item .call-status {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
}

.user-call-item .call-details {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #64748b;
}

.user-note-item {
    background: #f8fafc;
    border-radius: var(--prs-radius-sm);
    padding: 12px 15px;
}

.user-note-item .note-date {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.user-note-item .note-text {
    font-size: 13px;
    line-height: 1.5;
}

/* إحصائيات التفاعل */
.interaction-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
}

.interaction-stats .stat {
    text-align: center;
}

.interaction-stats .stat-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--prs-primary);
    display: block;
}

.interaction-stats .stat-label {
    font-size: 12px;
    color: #64748b;
}

.interaction-message {
    text-align: center;
    padding: 15px;
    background: #f1f5f9;
    border-radius: var(--prs-radius-sm);
}

.interaction-message p {
    margin: 5px 0;
    font-size: 13px;
    color: #64748b;
}

/* ============================================
   عناصر إضافية
   ============================================ */
.clickable-card {
    cursor: pointer;
    transition: all 0.2s ease;
}

.clickable-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--prs-shadow-lg);
}

.card-hint {
    font-size: 10px;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 30px;
    color: #64748b;
    margin-right: auto;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    color: var(--prs-dark);
}

.filter-tag:hover {
    background: var(--prs-primary);
    color: white;
    border-color: var(--prs-primary);
}

.how-it-works {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--prs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.step-text {
    font-size: 13px;
    color: var(--prs-dark);
}

/* ============================================
   شريط البحث العائم في البروفايل
   ============================================ */
.prs-floating-search {
    position: sticky;
    top: 20px;
    z-index: 100;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    padding: 5px;
    box-shadow: var(--prs-shadow-lg);
    border: 1px solid var(--prs-border);
}

.prs-floating-search .prs-search-wrapper {
    margin: 0;
}

.prs-floating-search .prs-search-box {
    box-shadow: none;
    border: none;
}

/* ============================================
   استجابة للشاشات الصغيرة
   ============================================ */
@media (max-width: 992px) {
    .prs-three-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .prs-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .prs-container,
    .prs-profile-container {
        padding: 20px 15px;
    }
    
    .prs-hero {
        padding: 35px 20px;
    }
    
    .prs-hero-content h1 {
        font-size: 1.6rem;
    }
    
    .prs-hero-content p {
        font-size: 0.9rem;
    }
    
    .prs-stats-banner {
        gap: 12px;
    }
    
    .prs-stats-banner .stat {
        padding: 8px 18px;
    }
    
    .prs-stats-banner .stat-number {
        font-size: 1.3rem;
    }
    
    .prs-search-box {
        flex-direction: column;
        border-radius: var(--prs-radius-md);
    }
    
    .prs-search-input {
        text-align: center;
        padding: 14px 20px;
    }
    
    .prs-search-btn {
        padding: 12px;
        justify-content: center;
    }
    
    .prs-sections-grid {
        grid-template-columns: 1fr;
    }
    
    .prs-profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .prs-profile-meta {
        justify-content: center;
    }
    
    .prs-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .prs-three-columns {
        grid-template-columns: 1fr;
    }
    
    .prs-floating-actions {
        gap: 5px;
        padding: 8px 15px;
    }
    
    .float-btn {
        padding: 8px 14px;
    }
    
    .btn-text {
        display: none;
    }
    
    .btn-icon {
        font-size: 18px;
    }
    
    .prs-warning-alert {
        flex-direction: column;
        text-align: center;
    }
    
    .alert-btn {
        width: 100%;
        text-align: center;
    }
    
    .reputation-header {
        flex-direction: column;
    }
    
    .prs-big-review-btn {
        width: 100%;
        justify-content: center;
    }
    
    .quick-rating-badges {
        flex-direction: column;
    }
    
    .rep-badge {
        width: 100%;
    }
    
    .prs-results-grid {
        grid-template-columns: 1fr;
    }
    
    .prs-toast {
        white-space: normal;
        text-align: center;
        width: 90%;
        bottom: 80px;
    }
    
    .rating-type-buttons {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .groups-grid {
        grid-template-columns: 1fr;
    }
    
    .prs-quick-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quick-action {
        justify-content: center;
    }
    
    .personal-tabs {
        flex-wrap: wrap;
    }
    
    .personal-tab {
        flex: 1;
        text-align: center;
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .prs-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .prs-stats-banner {
        flex-direction: column;
        align-items: center;
    }
    
    .prs-stats-banner .stat {
        width: 100%;
        max-width: 180px;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-icon {
        margin-bottom: 10px;
    }
    
    .experience-meta {
        justify-content: center;
    }
    
    .prs-user-stats-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .user-level {
        justify-content: center;
    }
    
    .next-level {
        width: 100%;
    }
    
    .prs-floating-search {
        position: relative;
        top: 0;
    }
    
    .prs-modal-content {
        width: 95%;
        padding: 0;
    }
    
    .prs-modal-header {
        padding: 20px;
    }
    
    .prs-modal-body {
        padding: 20px;
    }
}