/* ============================================
   notifications.css - Bildirimler Sayfası
   ============================================ */

.notifications-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.notifications-main { flex: 1; min-width: 0; order: 1; }
.notifications-sidebar { width: 340px; flex-shrink: 0; order: 2; }

/* Header */
.notifications-header {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.notifications-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.notifications-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notifications-title i {
    color: #667eea;
}

.btn-mark-all {
    padding: 8px 18px;
    background: #f0f0f0;
    color: #666;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.btn-mark-all:hover {
    background: #667eea;
    color: white;
}

.notifications-stats {
    display: flex;
    gap: 10px;
}

.stat-badge {
    padding: 5px 12px;
    background: #f0f4ff;
    color: #667eea;
    border-radius: 15px;
    font-size: 13px;
}

.stat-badge.unread {
    background: #fff5f5;
    color: #e74c3c;
}

/* Liste */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: #f0f4ff;
}

.notification-item.unread:hover {
    background: #e8eeff;
}

/* İkon */
.notification-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.bg-like { background: #ffe0e0; }
.bg-comment { background: #e0f0ff; }
.bg-follow { background: #e8f5e9; }
.bg-message { background: #fff3e0; }
.bg-system { background: #f3e5f5; }
.bg-warning { background: #fff8e1; }

/* İçerik */
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-text {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.notification-time {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Okunmamış Noktası */
.unread-dot {
    width: 10px;
    height: 10px;
    background: #667eea;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Boş */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.empty-state i {
    font-size: 60px;
    color: #ddd;
    display: block;
    margin-bottom: 15px;
}

.empty-state h3 {
    color: #333;
    margin: 0 0 10px 0;
}

.empty-state p {
    color: #999;
    margin: 0 0 20px 0;
}

.btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

/* Sayfalama */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 18px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.page-btn:hover { background: #f0f0f0; }

.page-num {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.page-num:hover { background: #f0f0f0; }
.page-num.current { background: #667eea; color: white; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .notifications-layout { flex-direction: column; }
    .notifications-main { order: 1; width: 100%; }
    .notifications-sidebar { order: 2; width: 100%; }
}

@media (max-width: 768px) {
    .notifications-header {
        padding: 20px 15px;
    }
    
    .notifications-title {
        font-size: 20px;
    }
    
    .notifications-header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .notification-item {
        padding: 15px;
    }
    
    .notification-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .notification-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .notifications-title {
        font-size: 18px;
    }
    
    .btn-mark-all {
        font-size: 12px;
        padding: 6px 14px;
    }
}