/**
 * Notifications Page Responsive Styles
 * Optimized for mobile, tablet, and desktop
 */

/* Notifications List */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Notification Item */
.notification-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.2s;
}

.notification-item.unread {
    border-left: 3px solid var(--primary);
    background: var(--bg-card-hover);
}

@media (max-width: 768px) {
    .notification-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .notification-item .notification-content h4 {
        font-size: 0.9rem !important;
    }
    
    .notification-item .notification-content p {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .notification-item {
        padding: 0.6rem;
        gap: 0.5rem;
        flex-direction: column;
    }
    
    .notification-item .notification-icon {
        width: 32px !important;
        height: 32px !important;
    }
    
    .notification-item .notification-icon svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .notification-item .notification-content h4 {
        font-size: 0.85rem !important;
    }
    
    .notification-item .notification-content p {
        font-size: 0.8rem !important;
    }
    
    .notification-item .notification-time {
        font-size: 0.7rem !important;
    }
}

/* Notification Icon */
.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .notification-icon {
        width: 36px;
        height: 36px;
    }
}

/* Notification Content */
.notification-content {
    flex: 1;
}

/* Notification Actions */
.notification-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .notification-actions {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .notification-actions .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .notification-actions {
        width: 100%;
    }
    
    .notification-actions .btn {
        flex: 1;
    }
}

/* Page Header */
.notifications-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .notifications-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .notifications-page-header > div:last-child {
        width: 100%;
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .notifications-page-header .btn {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .notifications-page-header h1 {
        font-size: 1.25rem;
    }
    
    .notifications-page-header .btn {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
}

/* Filter Bar */
.notifications-filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .notifications-filter-bar {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .notifications-filter-bar select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .notifications-filter-bar {
        gap: 0.5rem;
    }
    
    .notifications-filter-bar select {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
}

/* Empty State */
.notifications-empty-state {
    text-align: center;
    padding: 3rem;
}

@media (max-width: 768px) {
    .notifications-empty-state {
        padding: 2rem;
    }
    
    .notifications-empty-state svg {
        width: 48px;
        height: 48px;
    }
    
    .notifications-empty-state h3 {
        font-size: 1rem;
    }
    
    .notifications-empty-state p {
        font-size: 0.85rem;
    }
}

/* Notification Badge */
.notification-badge {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

@media (max-width: 480px) {
    .notification-badge {
        width: 6px;
        height: 6px;
    }
}

/* Bulk Actions Bar */
.bulk-actions-bar {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .bulk-actions-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .bulk-actions-bar {
        width: 100%;
        padding: 0.6rem;
    }
    
    .bulk-actions-bar .btn {
        width: 100%;
    }
}

/* Notification Type Icons */
.notification-icon.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.notification-icon.warning {
    background: rgba(234, 179, 8, 0.1);
    color: var(--warning);
}

.notification-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.notification-icon.info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

/* Notification Time */
.notification-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .notification-time {
        font-size: 0.7rem;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .pagination {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 0.5rem;
    }
    
    .pagination a,
    .pagination span {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
}
