/* Notifications page */

.notifications-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.notifications-toolbar select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #6b7280;
    background: #fff;
    outline: none;
}

.btn-mark-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    cursor: pointer;
    margin-left: auto;
}
.btn-mark-all:hover { background: #2563eb; }

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: box-shadow .15s;
}
.notification-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.notification-item.unread { border-left: 3px solid #3b82f6; background: #f8fafc; }

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.notification-icon--order { background: #dbeafe; color: #2563eb; }
.notification-icon--driver { background: #ecfdf5; color: #059669; }
.notification-icon--system { background: #f1f5f9; color: #64748b; }
.notification-icon--payment { background: #fef3c7; color: #d97706; }

.notification-body { flex: 1; min-width: 0; }
.notification-title { font-size: 13px; font-weight: 600; color: #1e293b; margin-bottom: 2px; }
.notification-message { font-size: 13px; color: #64748b; line-height: 1.4; }
.notification-time { font-size: 11px; color: #94a3b8; margin-top: 4px; }

.notification-actions {
    flex-shrink: 0;
}

.btn-mark-read {
    padding: 4px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    font-size: 11px;
    color: #64748b;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.btn-mark-read:hover { border-color: #3b82f6; color: #3b82f6; }

@media (max-width: 768px) {
    .notifications-toolbar { flex-direction: column; align-items: stretch; }
    .btn-mark-all { margin-left: 0; }
}