/* ملف: assets/css/style.css */

/* تنسيقات عامة */
body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
}

/* تنسيقات للأجهزة المحمولة */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .ad-card {
        margin-bottom: 15px;
    }
}

/* تنسيقات الروابط */
a {
    text-decoration: none;
    transition: color 0.3s;
}

/* تنسيقات الأزرار */
.btn {
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
}

/* تنسيقات الإشعارات */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* assets/css/style.css - إضافة هذه الأنماط */

/* أنماط الإشعارات */
.notification-item {
    border-right: 4px solid transparent;
    transition: all 0.3s ease;
}

.notification-item.unread {
    border-right-color: #3498db;
    background-color: rgba(52, 152, 219, 0.05);
}

.notification-item:hover {
    background-color: #f8f9fa;
    transform: translateX(-5px);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.notification-icon.message {
    background-color: #e3f2fd;
    color: #1976d2;
}

.notification-icon.warning {
    background-color: #fff3e0;
    color: #f57c00;
}

.notification-icon.success {
    background-color: #e8f5e9;
    color: #388e3c;
}

/* أنماط المفضلة */
.favorite-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.favorite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.favorite-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 1;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    transition: all 0.3s;
    cursor: pointer;
}

.favorite-btn:hover {
    background: white;
    transform: scale(1.1);
}

.favorite-btn .fa-heart {
    color: #dc3545;
}

/* أنماط البادجات */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* تأثيرات التحميل */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* رسائل التأكيد */
.toast {
    direction: rtl;
    text-align: right;
}

.toast-body {
    font-family: 'Cairo', sans-serif;
}

/* أنماط الاستجابة */
@media (max-width: 768px) {
    .notification-item {
        margin-bottom: 10px;
    }
    
    .favorite-card {
        margin-bottom: 15px;
    }
    
    .favorite-btn {
        width: 32px;
        height: 32px;
    }
}

/* أنماط الحالة الفارغة */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-weight: 300;
    margin-bottom: 15px;
}

.empty-state p {
    max-width: 500px;
    margin: 0 auto 25px;
    line-height: 1.6;
}
/* في جزء CSS الخاص بصفحة view_ad.php */
.btn-feature {
    display: none !important; /* إخفاء زر الترقية تماماً */
}